summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: use Elements() macro to limit loops instead of constantsBrian Paul2009-05-221-5/+5
|
* mesa: added gl_array_object::Weight array fieldBrian Paul2009-05-211-0/+3
| | | | | | | We don't really implement vertex weights but in the VBO code this fixes and odd case for the legacy_array[] setup. Before, the vbo->draw_prims() call was always indicating that the vertex weight array was present/enabled when it really wasn't.
* mesa: check FEATURE_point_size_array for PointSize arrayBrian Paul2009-05-211-0/+2
|
* mesa: new _mesa_update_array_object_max_element() functionBrian Paul2009-05-211-1/+77
| | | | This will replace the code in state.c
* mesa: make the array object save/remove functions staticBrian Paul2009-05-071-7/+7
|
* mesa: clean-up vertex array object VBO unbinding and delete/refcountingBrian Paul2009-05-071-31/+33
| | | | | Don't really delete vertex array objects until the refcount hits zero. At that time, unbind any pointers to VBOs.
* mesa: reference counting for gl_array_objectBrian Paul2009-05-071-4/+63
| | | | | Every kind of object that can be shared by multiple contexts should be refcounted.
* mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul2009-05-071-2/+3
| | | | | Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
* mesa: improve array initialization code, and set the new array->Format field.Brian Paul2009-01-231-75/+33
|
* mesa: increase max texture image units and GLSL samplers to 16Brian Paul2008-12-311-3/+3
| | | | | | | | | | | | | | | | The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places.
* mesa: point size arraysBrian Paul2008-09-211-0/+9
|
* mesa: replace MALLOC w/ CALLOC to fix valgrind warningBrian Paul2008-09-051-1/+1
|
* mesa: improved gl_buffer_object reference countingBrian Paul2008-09-041-11/+20
| | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-1/+1
| | | | of -I flags.
* better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell2006-10-301-9/+0
|
* minor clean-upsBrian Paul2006-06-151-9/+4
|
* s/buffer/arrays/Brian Paul2006-06-121-7/+5
|
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-0/+426
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.