summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.h
Commit message (Collapse)AuthorAgeFilesLines
* gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/Brian Paul2008-04-251-2/+2
|
* Refactor PBO validate/map code.Brian2008-03-211-15/+9
| | | | | | We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master.
* add a number of PBO validate/map/unmap functionsBrian Paul2008-03-211-2/+37
| | | | | Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master
* Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul2006-08-231-0/+3
| | | | | | a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-0/+2
| | | | | | | 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.
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-1/+2
| | | | | | | 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-1/+4
| | | | | Added _mesa_buffer_unmap(). Minor clean-ups.
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-3/+7
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* remove duplicate declarationAlan Hourihane2003-12-041-4/+0
|
* 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.
* minor tweaksBrian Paul2003-10-151-2/+2
|
* More work on ARB_vertex_buffer_object.Brian Paul2003-09-171-0/+9
| | | | | Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
* Added prototypes for internal functions to bufferobj.h.Brian Paul2003-09-091-0/+46
| | | | Minor code clean-ups.
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* fix MapBufferARB() return typeBrian Paul2003-05-101-2/+2
|
* Basic infrastructure for GL_ARB_vertex_buffer_object.Brian Paul2003-03-291-0/+66