summaryrefslogtreecommitdiff
path: root/src/mesa/main/bufferobj.c
AgeCommit message (Collapse)Author
2007-08-23For _mesa_share_state(), update the context's references to the new share ↵Brian
group's objects (Shane Blackett)
2007-01-23silence C++ warningsBrian
2006-09-21move a conditional into an assertionBrian Paul
2006-08-25Error detection/reporting was broken in several places.Brian Paul
2006-08-23Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
2006-06-12remove unused varBrian Paul
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
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.
2006-06-03Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() callBrian Paul
and cast. Simplifies the code a little bit elsewhere.
2006-06-02minor clean-upsBrian Paul
2005-12-01try removing need for the uintptr_t castsBrian Paul
2005-05-05Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz
use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-03-03change gl_buffer_object's Size field to GLsizeiptrARB typeBrian Paul
2005-02-12unlock mutex upon error return (Jeff Muizelaar)Brian Paul
2005-02-11mesa-main-0-NULL.patch from Jeff MuizelaarKeith Whitwell
2005-01-20Update glDeletePrograms/Buffers() so that the ID is freed immediately, likeBrian Paul
texture objects.
2004-11-22Don't allow queries/etc of buffer object 0 - it's invisible to users.Brian Paul
Misc clean-ups.
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul
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.
2004-10-31Remove redundant error checking.Brian Paul
Added _mesa_buffer_unmap(). Minor clean-ups.
2004-09-27VBO RefCount fix (David Reveman)Brian Paul
2004-09-14also fix possible delete bugs with buffer objects and vertex/fragment programsBrian Paul
2004-09-09Update the doxygen configuration file.Jose Fonseca
Minor updates/fixes to the source documentation.
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-03-04yet another take on VBO deleting and reference countingBrian Paul
2004-03-03more changes to VBO reference counting and deletionBrian Paul
2004-02-13set buffer object default Usage and AccessBrian Paul
2004-02-11Do more bookkeeping of vertex buffer object reference counts.Brian Paul
Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
2004-01-20Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul
by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-10-21fix an error messageBrian Paul
2003-10-19Move initialization of default ctx->Driver.buffer-object-functions intoBrian Paul
bufferobj.c so all the drivers don't have to worry about them.
2003-10-15minor tweaksBrian Paul
2003-10-14bufObj->Access wasn't being setBrian Paul
2003-10-14minor fix in buffer_object_get_target()Brian Paul
2003-09-19Assorted casts to silence g++ warnings.Brian Paul
2003-09-18Add casts to prevent signed/unsigned compare compiler warnings.Karl Schultz
2003-09-17Fixed/added some error checks.Brian Paul
Allow one buffer to be bound to multiple targets. Rebind buffer 0 when deleting currently bound buffer.
2003-09-17unbind vertex arrays from buffer in DeleteBuffersARB()Brian Paul
2003-09-17More work on ARB_vertex_buffer_object.Brian Paul
Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
2003-09-15Some work on ARB_vertex_buffer_object.Brian Paul
Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
2003-09-09Added prototypes for internal functions to bufferobj.h.Brian Paul
Minor code clean-ups.
2003-09-09Added most of the infrastructure required to supportIan Romanick
ARB_vertex_buffer_object. THIS IS INCOMPLETE.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-05-10fix MapBufferARB() return typeBrian Paul
2003-04-09basic work on GL_ARB_vertex_buffer_objectBrian Paul
2003-03-29Basic infrastructure for GL_ARB_vertex_buffer_object.Brian Paul