diff options
author | Adam Jackson <ajax@redhat.com> | 2010-10-06 09:56:56 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2010-11-30 13:46:08 -0500 |
commit | 48bc8d0dd99284f509bc6de01a8fd24a7bfc69d5 (patch) | |
tree | 7788024e5c4e80019bf2235cad13e925dca1a46a /hw | |
parent | 7ee965a300c9eddcc1acacf9414cfe3e589222a8 (diff) |
render: repack PictureRec
Eliminate the unused dither field, move filter and stateChanges into the
bitfield, and reorder elements to pack holes on LP64.
sizeof(PictureRec) ILP32 LP64
before: 84 152
after: 72 120
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/dmx/dmxpict.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/dmx/dmxpict.c b/hw/dmx/dmxpict.c index 915e7678a..ab26593e6 100644 --- a/hw/dmx/dmxpict.c +++ b/hw/dmx/dmxpict.c @@ -1011,8 +1011,6 @@ void dmxValidatePicture(PicturePtr pPicture, Mask mask) attribs.poly_edge = pPicture->polyEdge; if (mask & CPPolyMode) attribs.poly_mode = pPicture->polyMode; - if (mask & CPDither) - attribs.dither = pPicture->dither; if (mask & CPComponentAlpha) attribs.component_alpha = pPicture->componentAlpha; |