summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2015-06-05 14:33:36 +0100
committerChris Wilson <[email protected]>2015-06-08 17:56:10 +0100
commitc2d0606827412b710dcaed80268fc665de8c9c5d (patch)
tree0de7ecc56a8f5f57391411fd3f8317698a6f135f /common.py
parent8da79b8378ae87474d8c47ad955e4833edf98359 (diff)
i915: Blit RGBX<->RGBA drawpixels
The blitter already has code to accommodate filling in the alpha channel for BGRX destination formats, so expand this to also allow filling the alpha channgel in RGBX formats. More importantly for the next patch is moving the test into its own function for the purpose of exporting the check to the callers. v2: Fix alpha expansion as spotted by Alexander with the fix suggested by Kenneth Signed-off-by: Chris Wilson <[email protected]> Cc: Jason Ekstrand <[email protected]> Cc: Alexander Monakov <[email protected]> Cc: Kristian Høgsberg <[email protected]> Cc: Kenneth Graunke <[email protected]> Reviewed-by Kenneth Graunke <[email protected]> Cc: [email protected]
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions