summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Introduce enabled bitfield helper functions.Mathias Froehlich2012-01-201-0/+37
| | | | | | | | | | Depending on the installed shader type, different arrays are used from gl_array_object. Provide helper functions that compute the bitmask of these arrays that are finally enabled for a given shader type. The will be used in a followup change. Signed-off-by: Mathias Fröhlich <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: Clean up header file inclusion in arrayobj.h.Vinson Lee2010-11-071-1/+3
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-5/+5
|
* mesa: Reduce arrayobj.h header file inclusion.Vinson Lee2010-07-281-1/+1
| | | | | Directly include mtypes.h instead of including context.h to include mtypes.h.
* mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_objectBrian Paul2009-06-191-0/+2
| | | | | | This also involves adding a gl_array_object::VBOonly field. For the ARB extension, all arrays in the object must reside in a VBO. This flag keeps track of that requirement.
* mesa: implement _mesa_BindVertexArray()Brian Paul2009-06-191-0/+3
|
* mesa: new _mesa_update_array_object_max_element() functionBrian Paul2009-05-211-1/+6
| | | | This will replace the code in state.c
* Merge branch 'mesa_7_5_branch'Brian Paul2009-05-131-0/+1
|\ | | | | | | | | | | | | | | Conflicts: src/mesa/main/arrayobj.c src/mesa/main/arrayobj.h src/mesa/main/context.c
| * mesa: reference counting for gl_array_objectBrian Paul2009-05-131-7/+16
| | | | | | | | | | | | Every kind of object that can be shared by multiple contexts should be refcounted. (cherry picked from commit 1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a)
* | mesa: make the array object save/remove functions staticBrian Paul2009-05-071-7/+0
| |
* | mesa: reference counting for gl_array_objectBrian Paul2009-05-071-7/+16
|/ | | | | Every kind of object that can be shared by multiple contexts should be refcounted.
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-0/+70
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.