Commit a53c63e4 authored by Dave Airlie's avatar Dave Airlie

mesa/mtypes: repack display list structs.

This reduces each of these by 8 bytes.
Reviewed-by: Thomas Helland's avatarThomas Helland <thomashelland90@gmail.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a265ffa6
......@@ -4342,8 +4342,8 @@ union gl_dlist_node;
struct gl_display_list
{
GLuint Name;
GLchar *Label; /**< GL_KHR_debug */
GLbitfield Flags; /**< DLIST_x flags */
GLchar *Label; /**< GL_KHR_debug */
/** The dlist commands are in a linked list of nodes */
union gl_dlist_node *Head;
};
......@@ -4354,11 +4354,10 @@ struct gl_display_list
*/
struct gl_dlist_state
{
GLuint CallDepth; /**< Current recursion calling depth */
struct gl_display_list *CurrentList; /**< List currently being compiled */
union gl_dlist_node *CurrentBlock; /**< Pointer to current block of nodes */
GLuint CurrentPos; /**< Index into current block of nodes */
GLuint CallDepth; /**< Current recursion calling depth */
GLvertexformat ListVtxfmt;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment