summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-02-28 16:35:10 -0500
committerKeith Packard <keithp@keithp.com>2014-10-27 13:01:43 -0700
commit839f05329ddb6f9b5b988edf3a2c3a1f856727f7 (patch)
tree438ab711901dbdefa64019f66dc48f355167e106 /include
parent73e2383b7350723256894c5076d0c731aec5cd1f (diff)
dix: Retype and repack GC
LP64: 160 bytes before, 128 after. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/gcstruct.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/gcstruct.h b/include/gcstruct.h
index 32e89a147..aa2064c0e 100644
--- a/include/gcstruct.h
+++ b/include/gcstruct.h
@@ -260,9 +260,9 @@ typedef struct _GC {
unsigned int freeCompClip:1; /* Free composite clip */
unsigned int scratch_inuse:1; /* is this GC in a pool for reuse? */
unsigned int unused:15; /* see comment above */
- unsigned long planemask;
- unsigned long fgPixel;
- unsigned long bgPixel;
+ unsigned int planemask;
+ unsigned int fgPixel;
+ unsigned int bgPixel;
/*
* alas -- both tile and stipple must be here as they
* are independently specifiable
@@ -270,11 +270,11 @@ typedef struct _GC {
PixUnion tile;
PixmapPtr stipple;
DDXPointRec patOrg; /* origin for (tile, stipple) */
- struct _Font *font;
DDXPointRec clipOrg;
+ struct _Font *font;
RegionPtr clientClip;
- unsigned long stateChanges; /* masked with GC_<kind> */
- unsigned long serialNumber;
+ unsigned int stateChanges; /* masked with GC_<kind> */
+ unsigned int serialNumber;
const GCFuncs *funcs;
const GCOps *ops;
PrivateRec *devPrivates;