mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
mesa: reorder gl_client_array
drops from 56 to 48 bytes, drops gl_vertex_array_object from 4584 to 4320 bytes Acked-by: Brian Paul <brianp@vmware.com> Reviewed-by: Alex Deucher alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
cbaff50828
commit
b3f6e0bb58
1 changed files with 1 additions and 1 deletions
|
|
@ -1539,12 +1539,12 @@ struct gl_client_array
|
|||
GLenum Format; /**< default: GL_RGBA, but may be GL_BGRA */
|
||||
GLsizei Stride; /**< user-specified stride */
|
||||
GLsizei StrideB; /**< actual stride in bytes */
|
||||
GLuint _ElementSize; /**< size of each element in bytes */
|
||||
const GLubyte *Ptr; /**< Points to array data */
|
||||
GLboolean Enabled; /**< Enabled flag is a boolean */
|
||||
GLboolean Normalized; /**< GL_ARB_vertex_program */
|
||||
GLboolean Integer; /**< Integer-valued? */
|
||||
GLuint InstanceDivisor; /**< GL_ARB_instanced_arrays */
|
||||
GLuint _ElementSize; /**< size of each element in bytes */
|
||||
|
||||
struct gl_buffer_object *BufferObj;/**< GL_ARB_vertex_buffer_object */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue