summaryrefslogtreecommitdiff
path: root/src/glx/x11/indirect_vertex_array.c
AgeCommit message (Collapse)Author
2009-08-13glx: indent -br -i3 -npcs --no-tabsRALOVICH, Kristóf
Some manual intervention applied since XEXT_* and other macro magic fooled indent. Auto generated files were also skipped.
2008-11-11Don't mess with emacs tab width.Kristian Høgsberg
2008-10-13glx: indent -br -i3 -npcs --no-tabs indirect_vertex_array.cRALOVICH, Kristóf
2008-10-13glx: add a line of Emacs helping variablesRALOVICH, Kristóf
2008-10-13glx: No need to zero a local variable.RALOVICH, Kristóf
My previous commit e2060348630b59a446bac7f734fdde40033093ab introduced this.
2008-08-20glx: free vertex array state when context is destroyedKristof Ralovich
2008-07-15glx: Update my e-mail address. :)Ian Romanick
2008-07-15glx: Trivial clean-ups to __glXSetArrayEnableIan Romanick
2008-04-23glx: nitpick renamesGeorge Sapountzis
2008-01-22fix pc vs. gc->ps usage (bug 14197)Brian
2007-08-27fixed problem with big glDrawArrays (see bug 12141)Colin McDonald
2007-05-14in __glXGetArrayType() return type, not enabled (bug 10938)Bruce Merry
2007-01-04s/unsigned/size_t/ (Matthias Hopf)Brian
2006-11-02Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul
2006-05-11In __glXPushArrayState() we weren't pushing the index field.Brian Paul
But later, in __glXPopArrayState(), we were using that field to set the active_texture_unit. The value was garbage and could lead to things blowing up. See bug 6863.
2006-05-09When error-checking 'unit' against num_texture_units, need to use >=, not >.Brian Paul
See bug 6863.
2006-02-15remove stray 'foo' lineBrian Paul
2006-02-14replace size_t * w/ unsigned int * (Jurg Billeter)Brian Paul
2005-08-19Fix a realloc problem with indirect vertex arrays. The actual head pointerIan Romanick
wasn't tracked and used for the realloc, so it tended to explode.
2005-03-17Minor vertex array support tweaks. These are in preparation for theIan Romanick
(eventual) addition of support for ARB_vertex_buffer_object. Elminitate the need for array_state_vector::large_header. Make some very minor tweaks to the handling of the indices pointer in emit_DrawElements_old.
2005-03-17Minor vertex array support tweaks. Most of these are in preparation for theIan Romanick
(eventual) addition of support for ARB_vertex_buffer_object. Move all the private vertex array data structures out of indirect_vertex_array.c and into indirect_va_private.h. Rename array_state_vector::enabled_array_count to array_state_vector::enabled_client_array_count. Make sure that both the GL extension string and the server GL version are available when __glXInitVertexState is called. Make sure that array_state::normalized is set correctly in the array's gl*Pointer function.
2005-02-28Clean-up some warnings caused by the addition of vertex / fragment programIan Romanick
protocol support (reported by Adam Jackson). Added code to validate the 'type' parameter to the draw element functions.
2005-02-25Add GLX protocol support for ARB_fragement_program,Ian Romanick
ARB_fragment_program_shadow, ARB_vertex_program, NV_fragment_program, NV_fragment_program_option, NV_fragment_program2, NV_vertex_program, NV_vertex_program1_1, NV_vertex_program2, NV_vertex_program2_option, NV_vertex_program3, and ATI_text_fragment_shader.
2005-02-22Added __glExtensionBiIsEnabled and __GLXcontext::gl_extension_bits. ThisIan Romanick
enables libGL to query which extension are exported to applications. Refactored array-query functionality (from glGet*v) in src/glx/x11/single2.c. Massive re-write of indirect vertex array support. The most noticable effect is that glDrawElements now generates DrawArrays protocol. The side-effects (and the main reasons for the re-work) are that it is much easier to add support for new arrays (e.g., GL_VERTEX_ATTRIB_ARRAY, GL_WEIGHT_ARRAY_ARB, etc.) and it is much easier to add support for the new DrawArrays protocol (required to support ARB_vertex_buffer_object). These changes were primarilly tested with progs/demos/isosurf.