diff options
author | Ian Romanick <[email protected]> | 2005-03-17 20:36:20 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2005-03-17 20:36:20 +0000 |
commit | 979f35fb78f39cec5de53795ce91f674bfb9df52 (patch) | |
tree | 89e5878f0090cad5239975d3fc261b4787883291 /src/glx/x11/indirect_va_private.h | |
parent | b81efaaa1ac8676a1092e4354079ffcbe7960af2 (diff) |
Minor vertex array support tweaks. These are in preparation for the
(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.
Diffstat (limited to 'src/glx/x11/indirect_va_private.h')
-rw-r--r-- | src/glx/x11/indirect_va_private.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/glx/x11/indirect_va_private.h b/src/glx/x11/indirect_va_private.h index 7b6045c7c21..0b0227f0e28 100644 --- a/src/glx/x11/indirect_va_private.h +++ b/src/glx/x11/indirect_va_private.h @@ -207,22 +207,16 @@ struct array_state_vector { * the buffer. This will always be greater than or equal to * \c array_info_cache_size. * - * \c large_header doesn't completely belong in this group. This is a - * pointer to a buffer to hold the header information for DrawArrays in - * a RenderLarge command. This buffer is immediately before - * \c array_info_cache. The idea is that the header data will be written - * to \c large_header and a single call to \c __glXSendLargeChunk can be - * made to send the header and the ARRAY_INFO data. - * * \note - * \c array_info_cache_size and \c array_info_cache_buffer_size do - * NOT include the size of \c large_header. + * There are some bytes of extra data before \c array_info_cache that is + * used to hold the header for RenderLarge commands. This is + * \b not included in \c array_info_cache_size or + * \c array_info_cache_buffer_size. */ /*@{*/ size_t array_info_cache_size; size_t array_info_cache_buffer_size; void * array_info_cache; - GLubyte * large_header; /*@}*/ |