summaryrefslogtreecommitdiff
path: root/src/mesa/main/varray.c
AgeCommit message (Collapse)Author
2010-11-02mesa: use GLubyte for edge flag arraysBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31310
2010-10-28mesa: remove obsolete commentBrian Paul
2010-10-28mesa: consolidate glVertex/Color/etcPointer() codeBrian Paul
This removes a bunch of similar error checking code in all the vertex pointer functions and puts nearly all the error checking in update_array().
2010-10-28mesa: add gl_client_array::Integer field and related vertex array state codeBrian Paul
2010-10-28mesa: remove 'normalized' parameter from _mesa_VertexAttribIPointer()Brian Paul
2010-10-21mesa: set/get primitive restart stateBrian Paul
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-14mesa: update to version 64 of GL/glext.hBrian Paul
A number of other files had to be updated as well because const qualifiers were added to the glMultiDrawArrays() function. Also, GL_FIXED is now defined in glext.h.
2010-07-14mesa: silence a printf warningBrian Paul
2010-05-25mesa: move all vertex array functions into varray.cBrian Paul
2010-05-25mesa: added _mesa_VertexAttribIPointer()Brian Paul
2010-04-20mesa: API and state for GL 3.1 primitive restartBrian Paul
2010-02-25mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu
glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-03mesa: added texcoord unit assertionBrian Paul
2010-01-23mesa: add core support for ARB_half_float_vertex.Dave Airlie
Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-16mesa: remove unused vertex array driver hooksBrian Paul
2009-09-01mesa: Make MultiDrawElements submit multiple primitives at once.Eric Anholt
Previously, MultiDrawElements just called DrawElements a bunch of times. By sending several primitives down the pipeline at once, we avoid a bunch of validation. On my GL demo, this improves fps by 2.5% (+/- .41%) and reduces CPU usage by 70.5% (+/- 2.9%) (n=3). Reviewed by: Ian Romanick <ian.d.romanick@intel.com>
2009-08-07mesa: new _mesa_copy_client_array() functionBrian Paul
2009-08-04mesa: more error message info for vertex pointer functionsBrian Paul
2009-06-22mesa: enforce the rule that arrays live in VBOs for GL_ARB_vertex_array_objectBrian Paul
2009-06-19mesa: move vertex array objects from shared state to per-contextBrian Paul
The ARB version requires VAOs to be per-context while the Apple extension was ambiguous.
2009-06-08mesa: EXT_vertex_array_bgra fixesMaciej Cencora
1) Pass the correct format when calling update_array in _mesa_VertexAttribPointerARB. 2) glVertexAttribPointerNV accepts GL_BGRA format too. 3) raise INVALID_VALUE error when format is BGRA and normalized is false in glVertexAttribPointerARB
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-21mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTSBrian Paul
2009-05-21mesa: freshen comments for update_array()Brian Paul
2009-05-21mesa: remove const qualifierBrian Paul
2009-05-21mesa: VertexAttribPointer commentsBrian Paul
2009-05-21mesa: call _mesa_update_array_object_max_element() before printing array infoBrian Paul
2009-05-21mesa: added _mesa_print_arrays() for debuggingBrian Paul
2009-05-07mesa: reference counting for gl_array_objectBrian Paul
Every kind of object that can be shared by multiple contexts should be refcounted.
2009-05-07mesa: Compute gl_client_array->_MaxElement during array validationBrian Paul
Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but if the VBO was reallocated the size could change. New _NEW_BUFFER_OBJECT state flag.
2009-05-07mesa: use array->BufferObj instead of ctx->Array.ArrayBufferObjBrian Paul
No difference, but a little more understandable.
2009-05-07mesa: added _ElementSize field to gl_client_arrayBrian Paul
Will be handy for bounds checking later...
2009-01-23mesa: update glColorPointer, etc for GL_EXT_vertex_array_bgraBrian Paul
Add new error checking, set array state appropriately.
2008-09-21mesa: added case for fixed ptBrian Paul
2008-09-21mesa: point size arraysBrian Paul
2008-09-21mesa: GL_BYTE vertex/texcoord arraysBrian Paul
2008-09-21mesa: initial support for fixed-pt vertex arraysBrian Paul
2008-09-04mesa: improved gl_buffer_object reference countingBrian Paul
Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
2008-07-29mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_pBrian Paul
2008-03-09Set normalized flag for GLubyte arrays in _mesa_VertexAttribPointerNV()Markus Amsler
2008-02-04Allow first != 0 in mesa CVA handling, and add more error checking.Eric Anholt
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-03-27fix incorrect _MaxElement calculationRoland Scheidegger
The calculation of _MaxElement was wrong if the stride was larger than elementSize, which lead to rejection of every DrawElements call which accessed the maximum element if CheckArrayBounds was enabled.
2006-09-04get rid of GL_BOOLEAN definition (bug 8113)Brian Paul
2006-06-13clean-ups and new commentsBrian 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-04-25No longer alias generic vertex attribs with conventional attribs for ↵Brian Paul
GL_ARB_vertex_program.
2006-04-13Set array normalization flag for normals, colors (Keith)Brian Paul