diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-13 19:35:23 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-13 20:20:52 +0000 |
commit | c180baf43b8a0e407448018f3a7e42491cf974ae (patch) | |
tree | d9eb5d6fe15d123de83643b84fa08dfb849f6413 /uxa/uxa.h | |
parent | e9064eacb0ad8867e320597453facbb3c376522c (diff) |
i915: Derive the correct target color from the pixmap by checking its format
Particularly noting to route alpha to the green channel when blending
with a8 destinations.
Fixes:
rendercheck/repeat/triangles regressed
http://bugs.freedesktop.org/show_bug.cgi?id=25047
introduced with commit 14109a.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa/uxa.h')
-rw-r--r-- | uxa/uxa.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -521,6 +521,12 @@ void uxa_driver_fini(ScreenPtr pScreen); CARD32 uxa_get_pixmap_first_pixel(PixmapPtr pPixmap); +Bool +uxa_get_color_for_pixmap (PixmapPtr pixmap, + CARD32 src_format, + CARD32 dst_format, + CARD32 *pixel); + void uxa_set_fallback_debug(ScreenPtr screen, Bool enable); /** |