Added __glExtensionBiIsEnabled and __GLXcontext::gl_extension_bits. This
authorIan Romanick <idr@us.ibm.com>
Tue, 22 Feb 2005 22:36:31 +0000 (22:36 +0000)
committerIan Romanick <idr@us.ibm.com>
Tue, 22 Feb 2005 22:36:31 +0000 (22:36 +0000)
commitfdb07636f2e6324c5250cd5ee97778b7f5933bea
tree7914282adbac014b4d48b8ab78c03c73b6a72052
parentcb83f62e307be90532fcc58a0e5dd3e8cc7411b2
Added __glExtensionBiIsEnabled and __GLXcontext::gl_extension_bits.  This
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.
src/glx/x11/clientattrib.c
src/glx/x11/glxclient.h
src/glx/x11/glxcmds.c
src/glx/x11/glxextensions.c
src/glx/x11/glxextensions.h
src/glx/x11/indirect_vertex_array.c [new file with mode: 0644]
src/glx/x11/indirect_vertex_array.h [new file with mode: 0644]
src/glx/x11/single2.c
src/glx/x11/vertarr.c