[Intel-gfx] [PATCH 0/4] Adding support for plane alpha/color blending through drm property

Damien Lespiau damien.lespiau at intel.com
Thu Mar 20 15:45:17 CET 2014


On Thu, Mar 20, 2014 at 02:11:40PM +0000, Damien Lespiau wrote:
> (source is premultiplied)
> 
> RGBA = ADD(SRC_COLOR*SRC_ALPHA, DST_COLOR*ONE_MINUS_SRC_ALPHA)

Grr, copy/paste error. If the source is already premultiplied:

RGBA = ADD(SRC_COLOR, DST_COLOR*ONE_MINUS_SRC_ALPHA)

-- 
Damien



More information about the Intel-gfx mailing list