History log of /external/mesa3d/src/mesa/main/bufferobj.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e2370bcc1ddde84d5d1ff676c29638645cb21731 13-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Pass context to _mesa_init_bufferobj_dispatch

With this change _mesa_init_bufferobj_dispatch won't set function
pointers that don't exist in OpenGL ES.

v2: Use _mesa_is_desktop_gl and _mesa_is_gles3 as suggested by Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/bufferobj.h
b82c47215689d1243d1aa810bff7f06d8288d686 15-Jun-2012 Eric Anholt <eric@anholt.net> mesa: Move glBindBufferBase and glBindBufferRange() to bufferobj.

The rest of the TFB implementation remains in transformfeedback.c, and
this will be shared with UBOs.

v2: Move the size/offset checks shared with UBOs to common code as
well. (Kenneth's review)

Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/bufferobj.h
96276604485763351cb5eaa9e08144b7bace0876 15-Jun-2012 Eric Anholt <eric@anholt.net> mesa: Move buffer object dispatch setup to bufferobj.c.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/bufferobj.h
223654b81ddb50cc42ed8cd722b389b302a26980 06-Apr-2012 Brian Paul <brianp@vmware.com> mesa: new _mesa_total_buffer_object_memory() debug function

This function can be called in gdb to find out how much memory is used
by buffer objects.
/external/mesa3d/src/mesa/main/bufferobj.h
f0ea46790f8f4df9a39b0cfab5c5f1bf02c136fc 18-Jan-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Set default access flags based on the run-time API

The default access flags for OpenGL ES (via GL_OES_map_buffer) and
desktop OpenGL are different. The code previously tried to handle
this, but the decision was made at compile time. Since the same
driver binary can be used for both OpenGL ES and desktop OpenGL, the
decision must be made at run-time.

This should fix bug #44433. It appears that the test case does
various map and unmap operations and inspects the state of the buffer
object around each. When it sees that GL_BUFFER_ACCESS does not match
its expectations, it fails.

NOTE: This is a candidate for release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44433
/external/mesa3d/src/mesa/main/bufferobj.h
56b870e44106188f425df6eb45b7a394f0420e5e 23-Nov-2011 Brian Paul <brianp@vmware.com> mesa: check for null ptr in _mesa_is_bufferobj()

This simplifies a few callers. And it adds a bit of robustness.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
/external/mesa3d/src/mesa/main/bufferobj.h
9520f483b8f1e45fa474674b415554988de5d8d3 01-Oct-2011 Brian Paul <brianp@vmware.com> mesa: s/INLINE/inline/

INLINE is still seen in some files (some generated files, etc) but this
is a good start.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/bufferobj.h
6214963c00769a724da8c599c3aee6920f7f6c31 14-Jul-2011 Brian Paul <brianp@vmware.com> main: use inline function wrapper for _mesa_reference_buffer_object()
/external/mesa3d/src/mesa/main/bufferobj.h
b70610b9823fc7dc3672735c11be1a75fbb1a2a4 01-Mar-2011 Brian Paul <brianp@vmware.com> mesa: move PBO-related functions into a new file
/external/mesa3d/src/mesa/main/bufferobj.h
db61b9ce39bccc43140357652ceb78baaf2aea44 07-Jan-2011 Vinson Lee <vlee@vmware.com> mesa: Directly include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/main/bufferobj.h
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/bufferobj.h
e5c128379a7233200acc156b0a48ac669d419055 30-Jul-2010 Vinson Lee <vlee@vmware.com> mesa: Reduce bufferobj.h header file inclusion.

Directly include mtypes.h instead of including context.h to include
mtypes.h.
/external/mesa3d/src/mesa/main/bufferobj.h
99864d595f7d4c13e9548f83d5972db9af64e67b 13-Nov-2009 Chris Wilson <chris@chris-wilson.co.uk> APPLE_object_purgeable: core

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/main/bufferobj.h
01d7e3d5a25a7cc49b38f5561d00c2ff22c43e93 09-Feb-2010 Michal Krol <michal@vmware.com> mesa: Enable true refcounting for NullBufferObj.

This object can be shared with another context, so we cannot just
delete it when the owning context is being destroyed.

Ensuring that buffer objects are properly refcounted guarantees
NullBufferObj is destroyed when all references to it are removed.
/external/mesa3d/src/mesa/main/bufferobj.h
1fbc71937f7da1339c4a456b0bac48881b7e2b7c 02-Jan-2010 Brian Paul <brianp@vmware.com> mesa: added _mesa_GetBufferParameteri64v()

This is a new function in GL 3.2. No dispatch for this function yet.
/external/mesa3d/src/mesa/main/bufferobj.h
dc947c8f92732fab75f89015e2d506e964a41ace 03-Sep-2009 Brian Paul <brianp@vmware.com> mesa: combined PBO validate/map helpers
/external/mesa3d/src/mesa/main/bufferobj.h
1b448c7a5cafa68eeead2a4c45f4362a9883383b 03-Sep-2009 Brian Paul <brianp@vmware.com> mesa: consolidate PBO map/unmap helpers

Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source().

Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use
_mesa_map_pbo_dest().
/external/mesa3d/src/mesa/main/bufferobj.h
f95b82b4861c14e01ec6af81a8de65c2143952b2 12-Aug-2009 Brian Paul <brianp@vmware.com> mesa: const qualifiers
/external/mesa3d/src/mesa/main/bufferobj.h
abbf83551f2ec1d168c3f8449eeed8dad7b394b8 12-Aug-2009 Brian Paul <brianp@vmware.com> mesa: new _mesa_is_bufferobj() function

Tests if the given buffer object is a user-created, non-default buffer object.
Use this instead of testing bufferobj->Name != 0.
/external/mesa3d/src/mesa/main/bufferobj.h
67153a4518ad23e31205a44119b1d63951ff1fb9 07-Aug-2009 Brian Paul <brianp@vmware.com> mesa: new _mesa_bufferobj_mapped() helper function
/external/mesa3d/src/mesa/main/bufferobj.h
331eb58f68db26b54f706a908a3e1424a461b709 19-Jun-2009 Brian Paul <brianp@vmware.com> mesa: make buffer object-related driver fallback functions static

Plug them in via _mesa_init_buffer_object_functions().
/external/mesa3d/src/mesa/main/bufferobj.h
e75b283b45add351dbe5a09289fe85546df8a79a 09-Jun-2009 Brian Paul <brianp@vmware.com> mesa: implement GL_ARB_map_buffer_range

Only enabled for software drivers at this point.

Note that the gl_buffer_object::Access enum field has been replaced by
a gl_buffer_object::AccessFlags bitfield. The new field is a mask of
the GL_MAP_x_BIT flags which is a superset of the old GL_READ_ONLY,
GL_WRITE_ONLY and GL_READ_WRITE modes. When we query GL_BUFFER_ACCESS_ARB
we translate the bitfield into the conventional enum values.
/external/mesa3d/src/mesa/main/bufferobj.h
dc0b71f00d2fc8ba9b2f1966510bcca942d35e15 03-Jun-2009 Brian Paul <brianp@vmware.com> mesa: _mesa_CopyBufferSubData() function, and driver fall-back
/external/mesa3d/src/mesa/main/bufferobj.h
47ad296a183929c2007c35c60d722b4ac680417d 11-Sep-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa into gallium-0.2

Conflicts:

src/mesa/drivers/dri/i915/intel_ioctl.c
src/mesa/main/texstore.c
src/mesa/tnl/t_vp_build.c
src/mesa/vbo/vbo_exec_draw.c
0397b2bb41b0f337af2949a15bcd7d0e7e8a7dc1 11-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'gallium-0.1' into gallium-0.2

A first attempt at moving gallium onto a branch directly off master...

It will be interesting to see how much work this takes to get running.

Have resolved the conflicts semi-arbitarily, not compiled or tested.

Conflicts:

.gitignore
Makefile
configs/config.mgw
configs/darwin
configs/darwin-x86ppc
configs/default
configs/freebsd-dri
configs/linux-dri
configs/linux-dri-xcb
configs/linux-fbdev
configs/linux-static
configs/linux-x86-64-static
configs/linux-x86-static
doxygen/Makefile
include/GL/gl.h
progs/demos/Makefile
progs/demos/descrip.mms
progs/demos/texenv.c
progs/egl/.gitignore
progs/egl/Makefile
progs/glsl/.gitignore
progs/glsl/Makefile
progs/glsl/convolutions.c
progs/samples/Makefile.mgw
progs/tests/.gitignore
progs/trivial/.gitignore
progs/trivial/point-param.c
progs/trivial/tri.c
progs/xdemos/.gitignore
progs/xdemos/glthreads.c
src/egl/drivers/demo/Makefile
src/egl/drivers/dri/Makefile
src/egl/main/Makefile
src/glu/Makefile
src/glu/sgi/Makefile
src/glu/sgi/Makefile.mgw
src/glut/glx/Makefile.mgw
src/glut/os2/WarpWin.cpp
src/glut/os2/glut_cindex.cpp
src/glut/os2/glut_gamemode.cpp
src/glut/os2/glut_win.cpp
src/glut/os2/glut_winmisc.cpp
src/glut/os2/os2_glx.cpp
src/glut/os2/os2_menu.cpp
src/glut/os2/os2_winproc.cpp
src/glw/Makefile
src/glx/x11/dri_glx.c
src/glx/x11/glxext.c
src/mesa/Makefile
src/mesa/Makefile.mgw
src/mesa/descrip.mms
src/mesa/drivers/beos/Makefile
src/mesa/drivers/common/descrip.mms
src/mesa/drivers/common/driverfuncs.c
src/mesa/drivers/directfb/Makefile
src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/extension_helper.h
src/mesa/drivers/dri/common/mmio.h
src/mesa/drivers/dri/common/utils.c
src/mesa/drivers/dri/common/utils.h
src/mesa/drivers/dri/glcore/Makefile
src/mesa/drivers/dri/i810/i810screen.c
src/mesa/drivers/dri/i915/intel_ioctl.c
src/mesa/drivers/dri/i915/intel_ioctl.h
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i915/server/i830_common.h
src/mesa/drivers/dri/i915/server/i830_dri.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/server/i830_common.h
src/mesa/drivers/dri/i965/server/i830_dri.h
src/mesa/drivers/dri/mach64/mach64_screen.c
src/mesa/drivers/dri/nouveau/nouveau_context.h
src/mesa/drivers/dri/nouveau/nouveau_fifo.c
src/mesa/drivers/dri/nouveau/nouveau_fifo.h
src/mesa/drivers/dri/nouveau/nouveau_screen.c
src/mesa/drivers/dri/nouveau/nouveau_screen.h
src/mesa/drivers/dri/r128/r128_tex.h
src/mesa/drivers/dri/savage/savageioctl.h
src/mesa/drivers/fbdev/Makefile
src/mesa/drivers/osmesa/Makefile
src/mesa/drivers/osmesa/descrip.mms
src/mesa/drivers/x11/Makefile
src/mesa/drivers/x11/descrip.mms
src/mesa/drivers/x11/xm_dd.c
src/mesa/glapi/glapi.c
src/mesa/glapi/glthread.c
src/mesa/main/api_validate.c
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/buffers.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/descrip.mms
src/mesa/main/drawpix.c
src/mesa/main/enums.c
src/mesa/main/fbobject.c
src/mesa/main/glheader.h
src/mesa/main/imports.c
src/mesa/main/mipmap.c
src/mesa/main/mm.c
src/mesa/main/mm.h
src/mesa/main/mtypes.h
src/mesa/main/points.c
src/mesa/main/sources
src/mesa/main/state.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texenvprogram.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
src/mesa/math/descrip.mms
src/mesa/shader/arbprogram.c
src/mesa/shader/descrip.mms
src/mesa/shader/prog_execute.c
src/mesa/shader/prog_statevars.c
src/mesa/shader/prog_statevars.h
src/mesa/shader/prog_uniform.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/shader_api.c
src/mesa/shader/slang/descrip.mms
src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
src/mesa/sources
src/mesa/swrast/descrip.mms
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast_setup/descrip.mms
src/mesa/tnl/descrip.mms
src/mesa/tnl/t_context.h
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/tnl.h
src/mesa/vbo/descrip.mms
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec_array.c
src/mesa/x86-64/xform4.S
src/mesa/x86/rtasm/x86sse.c
src/mesa/x86/rtasm/x86sse.h
windows/VC6/progs/glut/glut.dsp
windows/VC7/mesa/gdi/gdi.vcproj
windows/VC7/mesa/glu/glu.vcproj
windows/VC7/mesa/mesa.sln
windows/VC7/mesa/mesa/mesa.vcproj
windows/VC7/mesa/osmesa/osmesa.vcproj
windows/VC7/progs/glut/glut.vcproj
windows/VC8/mesa/gdi/gdi.vcproj
windows/VC8/mesa/glu/glu.vcproj
windows/VC8/mesa/mesa.sln
windows/VC8/mesa/mesa/mesa.vcproj
windows/VC8/progs/glut/glut.vcproj
37c74af01ce52b603f565a6c8a9094500d5cb87a 04-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: improved gl_buffer_object reference counting

Use new _mesa_reference_buffer_object() function wherever possible.
Fixes buffer object/display list crash reported in ParaView.
/external/mesa3d/src/mesa/main/bufferobj.h
1437b41d9068017dbe981a784285d5773c1d1ead 25-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/
/external/mesa3d/src/mesa/main/bufferobj.h
a39091bc5b68e4d4f5302f1d3f1a138798f54b77 21-Mar-2008 Brian <brian.paul@tungstengraphics.com> Refactor PBO validate/map code.

We always need to do PBO validation, so do that in core Mesa before calling driv
er routine.
cherry-picked from Mesa/master.
/external/mesa3d/src/mesa/main/bufferobj.h
d933be6baf98624c609d422a9b083a08f67e8bdb 21-Mar-2008 Brian <brian.paul@tungstengraphics.com> Refactor PBO validate/map code.

We always need to do PBO validation, so do that in core Mesa before calling driver routine.
/external/mesa3d/src/mesa/main/bufferobj.h
ff938bf059a41a9bdf4c2c93cebe4a3b8a89c201 21-Mar-2008 Brian Paul <brian.paul@tungstengraphics.com> add a number of PBO validate/map/unmap functions

Helper functions for (some) drivers, including swrast.
cherry-picked from Mesa/master
/external/mesa3d/src/mesa/main/bufferobj.h
a429a25cd55b8c16356a60452de92228bb6c71b0 21-Mar-2008 Brian <brian.paul@tungstengraphics.com> add a number of PBO validate/map/unmap functions

Helper functions for (some) drivers, including swrast.
/external/mesa3d/src/mesa/main/bufferobj.h
4b654d41da08b3b5475144c027e97a3ae7ab5696 23-Aug-2007 Brian <brian.paul@tungstengraphics.com> For _mesa_share_state(), update the context's references to the new share group's objects (Shane Blackett)
/external/mesa3d/src/mesa/main/bufferobj.h
4d12a05e6c11ca8d7325503131b2594dfe304164 24-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid
a lot of casting elsewhere.
Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300
driver.
/external/mesa3d/src/mesa/main/bufferobj.h
ee34e6ef716bb630440299ac1efbc2055ef09ffd 12-Jun-2006 Ian Romanick <idr@us.ibm.com> Add support for GL_APPLE_vertex_array_object. Several test programs
and demos are also added.

Adding basic support to drivers should be as easy as just enabling the
extension, though thorough test would also be required.
/external/mesa3d/src/mesa/main/bufferobj.h
60909388ab136d849d99eab49e782a53772a618f 10-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking
and ignored for 1D and 2D images.
Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function.
This change gets propogated to some other routines.
Also added new _mesa_image_address[123]d() convenience functions.
/external/mesa3d/src/mesa/main/bufferobj.h
2daa4137b658569da542180442fc32ebc5608102 31-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> Remove redundant error checking.
Added _mesa_buffer_unmap().
Minor clean-ups.
/external/mesa3d/src/mesa/main/bufferobj.h
7a6b71ef2944bae1718e8167b2faaceb8422071c 13-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> Implementation of GL_EXT_pixel_buffer_object extension.
Note: extension may not be finalized yet - subject to change!
Note: implementation not fully suitable for h/w implementation yet.
/external/mesa3d/src/mesa/main/bufferobj.h
8ea178d68f23fe04e9a83ad7f96083318ad1cc92 04-Dec-2003 Alan Hourihane <alanh@tungstengraphics.com> remove duplicate declaration
/external/mesa3d/src/mesa/main/bufferobj.h
c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c 22-Oct-2003 Kendall Bennett <KendallB@scitechsoft.com> Added GLAPIENTRY decorations for all first level OpenGL API function entry
points so that the calling conventions will work correctly with the assembler
stubs with the Open Watcom compiler.
/external/mesa3d/src/mesa/main/bufferobj.h
49aefce5e593c3e522f3a155824548c060167e54 15-Oct-2003 Brian Paul <brian.paul@tungstengraphics.com> minor tweaks
/external/mesa3d/src/mesa/main/bufferobj.h
148a2847a105ce9d9189ad3081091de60f803a33 17-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> More work on ARB_vertex_buffer_object.
Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming
pointer arithmetic changes.
/external/mesa3d/src/mesa/main/bufferobj.h
c7b872a2774e14d06b7e041d444c9e6e922ce5f5 09-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> Added prototypes for internal functions to bufferobj.h.
Minor code clean-ups.
/external/mesa3d/src/mesa/main/bufferobj.h
9ac51f57efe07ed43a1e4224a7f5daddec401b36 05-Jun-2003 Ian Romanick <idr@us.ibm.com> Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
/external/mesa3d/src/mesa/main/bufferobj.h
ea31ca47200d96b7cc687989ee7f9953819fddbb 10-May-2003 Brian Paul <brian.paul@tungstengraphics.com> fix MapBufferARB() return type
/external/mesa3d/src/mesa/main/bufferobj.h
6061df09a45c42745253965df012ddf76910ea33 29-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Basic infrastructure for GL_ARB_vertex_buffer_object.
/external/mesa3d/src/mesa/main/bufferobj.h