aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/x11/indirect_vertex_array.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a realloc problem with indirect vertex arrays. The actual head pointerIan Romanick2005-08-191-2/+3
| | | | wasn't tracked and used for the realloc, so it tended to explode.
* Minor vertex array support tweaks. These are in preparation for theIan Romanick2005-03-171-11/+18
| | | | | | (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.
* Minor vertex array support tweaks. Most of these are in preparation for theIan Romanick2005-03-171-303/+36
| | | | | | | | | | | | | | | | (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.
* Clean-up some warnings caused by the addition of vertex / fragment programIan Romanick2005-02-281-14/+40
| | | | | protocol support (reported by Adam Jackson). Added code to validate the 'type' parameter to the draw element functions.
* Add GLX protocol support for ARB_fragement_program,Ian Romanick2005-02-251-7/+209
| | | | | | | 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.
* Added __glExtensionBiIsEnabled and __GLXcontext::gl_extension_bits. ThisIan Romanick2005-02-221-0/+1878
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.