[Intel-gfx] [PATCH] i915: Do not force the incoming source alpha to 1.

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 12 13:52:11 CET 2009


Excerpts from Eric Anholt's message of Tue Nov 10 19:30:06 +0000 2009:
> The server doesn't fill the alpha channel on incoming rgb images,
> though.  And can't you take the same pixmap and use it for both x8r8g8b8
> and a8r8g8b8?

Indeed, I'm proposing that we alter the X server behaviour here to fixup
the incoming data so we can assume simpler behaviour in the drivers.

Not sure about how to handle switching between xRGB and ARGB Pictures
though. I'm just going to suggest that when rendering to xRGB, the alpha
channel is undefined so I have the liberty to set it to 1.
-ickle
-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list