diff options
author | Maks Naumov <maksqwe1@ukr.net> | 2014-09-15 21:38:42 +0300 |
---|---|---|
committer | Maks Naumov <maksqwe1@ukr.net> | 2014-09-23 17:32:58 +0200 |
commit | 86922b4655844cc771512c9dee9822c1055dfd77 (patch) | |
tree | b3dcd4f333e657ce3ae6af73f94d7e21c31bd0d5 | |
parent | a1a678078efc2b5c3d5430946acda7f8ceca1977 (diff) |
QRegion: Reorganise members to reduce padding in EdgeTableEntry
On 64-bit platforms: 64 -> 56 bytes.
On 32-bit platforms it's still the same size (44 bytes).
Change-Id: I681b9385ee3bc7601c1e8036efd6544471d1e058
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/gui/painting/qregion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp index 1e778af3f6..26f4dfd3cf 100644 --- a/src/gui/painting/qregion.cpp +++ b/src/gui/painting/qregion.cpp @@ -2955,11 +2955,11 @@ typedef struct { typedef struct _EdgeTableEntry { int ymax; /* ycoord at which we exit this edge. */ + int ClockWise; /* flag for winding number rule */ BRESINFO bres; /* Bresenham info to run the edge */ struct _EdgeTableEntry *next; /* next in the list */ struct _EdgeTableEntry *back; /* for insertion sort */ struct _EdgeTableEntry *nextWETE; /* for winding num rule */ - int ClockWise; /* flag for winding number rule */ } EdgeTableEntry; |