diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-16 19:15:37 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-16 20:19:22 +0100 |
commit | 2c00297bc3b4969f28e2eb19bce36ece50ce4ccb (patch) | |
tree | c2bf977803a015405e5a3190339f586a39067787 /uxa | |
parent | 2c69709d8afa6e9c0990efc463df0061536585e1 (diff) |
uxa: Replace solid planemask [0xffffffff] with FB_ALLONES
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa')
-rw-r--r-- | uxa/uxa-render.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index 4c552cab..726079a5 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -370,7 +370,7 @@ uxa_try_driver_solid_fill(PicturePtr pSrc, PixmapPtr pSrcPix = NULL, pDstPix; CARD32 pixel; - if (uxa_screen->info->check_solid && !uxa_screen->info->check_solid(pDst->pDrawable, GXcopy, 0xffffffff)) + if (uxa_screen->info->check_solid && !uxa_screen->info->check_solid(pDst->pDrawable, GXcopy, FB_ALLONES)) return -1; pDstPix = uxa_get_offscreen_pixmap(pDst->pDrawable, &dst_off_x, &dst_off_y); @@ -427,7 +427,7 @@ uxa_try_driver_solid_fill(PicturePtr pSrc, } if (!(*uxa_screen->info->prepare_solid) - (pDstPix, GXcopy, 0xffffffff, pixel)) { + (pDstPix, GXcopy, FB_ALLONES, pixel)) { REGION_UNINIT(pDst->pDrawable->pScreen, ®ion); return -1; } @@ -971,7 +971,7 @@ uxa_solid_rects (CARD8 op, CARD32 pixel; if (uxa_screen->info->check_solid && - !uxa_screen->info->check_solid(&dst_pixmap->drawable, GXcopy, 0xffffffff)) + !uxa_screen->info->check_solid(&dst_pixmap->drawable, GXcopy, FB_ALLONES)) goto err_region; if (op == PictOpClear) { @@ -986,7 +986,7 @@ uxa_solid_rects (CARD8 op, goto err_region; } - if (!uxa_screen->info->prepare_solid(dst_pixmap, GXcopy, 0xffffffff, pixel)) + if (!uxa_screen->info->prepare_solid(dst_pixmap, GXcopy, FB_ALLONES, pixel)) goto err_region; uxa_screen->info->solid(dst_pixmap, |