mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 12:18:09 +02:00
mesa: Repack single-byte fields in gl_renderbuffer.
Cuts 8 out of 120 bytes in the struct. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
91226ce648
commit
348ea34d03
1 changed files with 4 additions and 4 deletions
|
|
@ -2413,18 +2413,18 @@ struct gl_renderbuffer
|
|||
GLuint Width, Height;
|
||||
GLboolean Purgeable; /**< Is the buffer purgeable under memory pressure? */
|
||||
|
||||
GLboolean AttachedAnytime; /**< TRUE if it was attached to a framebuffer */
|
||||
|
||||
GLubyte NumSamples;
|
||||
|
||||
GLenum InternalFormat; /**< The user-specified format */
|
||||
GLenum _BaseFormat; /**< Either GL_RGB, GL_RGBA, GL_DEPTH_COMPONENT or
|
||||
GL_STENCIL_INDEX. */
|
||||
gl_format Format; /**< The actual renderbuffer memory format */
|
||||
|
||||
GLubyte NumSamples;
|
||||
|
||||
GLenum DataType; /**< Type of values passed to the Get/Put functions */
|
||||
GLvoid *Data; /**< This may not be used by some kinds of RBs */
|
||||
|
||||
GLboolean AttachedAnytime; /**< TRUE if it was attached to a framebuffer */
|
||||
|
||||
/* Used to wrap one renderbuffer around another: */
|
||||
struct gl_renderbuffer *Wrapped;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue