mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
matrix-stack: move pointer to top of CoglMatrixEntry
This moves the parent pointer member to the top of the CoglMatrixEntry structure since it will lead to wasted padding when we build for 64bit cpus. (cherry picked from commit 42b4750070286a6404b103d8a827a46efb6b344c)
This commit is contained in:
parent
9eb816bc7e
commit
f5b95e8087
@ -51,8 +51,8 @@ typedef struct _CoglMatrixEntry CoglMatrixEntry;
|
|||||||
|
|
||||||
struct _CoglMatrixEntry
|
struct _CoglMatrixEntry
|
||||||
{
|
{
|
||||||
CoglMatrixOp op;
|
|
||||||
CoglMatrixEntry *parent;
|
CoglMatrixEntry *parent;
|
||||||
|
CoglMatrixOp op;
|
||||||
unsigned int ref_count;
|
unsigned int ref_count;
|
||||||
|
|
||||||
/* used for performance tracing */
|
/* used for performance tracing */
|
||||||
|
Loading…
Reference in New Issue
Block a user