aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.c
Commit message (Collapse)AuthorAgeFilesLines
* try removing need for the uintptr_t castsBrian Paul2005-12-011-2/+5
|
* Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz2005-05-051-2/+2
| | | | | | | | 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.
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-1/+1
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* change gl_buffer_object's Size field to GLsizeiptrARB typeBrian Paul2005-03-031-1/+1
|
* unlock mutex upon error return (Jeff Muizelaar)Brian Paul2005-02-121-0/+1
|
* mesa-main-0-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-111-1/+1
|
* Update glDeletePrograms/Buffers() so that the ID is freed immediately, likeBrian Paul2005-01-201-12/+6
| | | | texture objects.
* Don't allow queries/etc of buffer object 0 - it's invisible to users.Brian Paul2004-11-221-23/+21
| | | | Misc clean-ups.
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-3/+4
| | | | | | | 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.
* Remove redundant error checking.Brian Paul2004-10-311-22/+48
| | | | | Added _mesa_buffer_unmap(). Minor clean-ups.
* VBO RefCount fix (David Reveman)Brian Paul2004-09-271-0/+9
|
* also fix possible delete bugs with buffer objects and vertex/fragment programsBrian Paul2004-09-141-3/+6
|
* Update the doxygen configuration file.Jose Fonseca2004-09-091-2/+1
| | | | Minor updates/fixes to the source documentation.
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-1/+13
| | | | 1015696)
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-0/+76
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* yet another take on VBO deleting and reference countingBrian Paul2004-03-041-1/+53
|
* more changes to VBO reference counting and deletionBrian Paul2004-03-031-36/+7
|
* set buffer object default Usage and AccessBrian Paul2004-02-131-2/+4
|
* Do more bookkeeping of vertex buffer object reference counts.Brian Paul2004-02-111-0/+6
| | | | Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
* Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul2004-01-201-12/+0
| | | | | | | | | | 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.
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-11/+11
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* fix an error messageBrian Paul2003-10-211-1/+1
|
* Move initialization of default ctx->Driver.buffer-object-functions intoBrian Paul2003-10-191-0/+12
| | | | bufferobj.c so all the drivers don't have to worry about them.
* minor tweaksBrian Paul2003-10-151-2/+2
|
* bufObj->Access wasn't being setBrian Paul2003-10-141-1/+3
|
* minor fix in buffer_object_get_target()Brian Paul2003-10-141-1/+1
|
* Assorted casts to silence g++ warnings.Brian Paul2003-09-191-1/+1
|
* Add casts to prevent signed/unsigned compare compiler warnings.Karl Schultz2003-09-181-4/+4
|
* Fixed/added some error checks.Brian Paul2003-09-171-27/+31
| | | | | Allow one buffer to be bound to multiple targets. Rebind buffer 0 when deleting currently bound buffer.
* unbind vertex arrays from buffer in DeleteBuffersARB()Brian Paul2003-09-171-1/+26
|
* More work on ARB_vertex_buffer_object.Brian Paul2003-09-171-47/+88
| | | | | Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
* Some work on ARB_vertex_buffer_object.Brian Paul2003-09-151-20/+27
| | | | Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
* Added prototypes for internal functions to bufferobj.h.Brian Paul2003-09-091-37/+23
| | | | Minor code clean-ups.
* Added most of the infrastructure required to supportIan Romanick2003-09-091-80/+527
| | | | ARB_vertex_buffer_object. THIS IS INCOMPLETE.
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-1/+1
|
* fix MapBufferARB() return typeBrian Paul2003-05-101-4/+6
|
* basic work on GL_ARB_vertex_buffer_objectBrian Paul2003-04-091-4/+182
|
* Basic infrastructure for GL_ARB_vertex_buffer_object.Brian Paul2003-03-291-0/+98