summaryrefslogtreecommitdiff
path: root/src/render_program/exa_wm_mask_sample_argb.g5a
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-05-29 21:33:10 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2018-05-31 20:35:32 +0100
commite4f2b5d5af9548f950b20b4699a2f751ca2146dc (patch)
treef454246ebb95c956383920d372c91ad5bb8b3904 /src/render_program/exa_wm_mask_sample_argb.g5a
parent35a9e96992a9298577d81e6b98c1329475282db1 (diff)
sna/video: Add XV_COLORSPACE attribute for the textured Xv adaptor
Allow the client to select between BT.601 and BT.709 via the XV_COLORSPACE port attribute with the textured Xv adaptor as well. Since the BT.601 coefficients are currently hardcoded in the yuv->rgb shader, let's just add a mostly duplicated shader with hardcoded BT.709 coefficients instead. Not the most elegant solution but avoids having to touch any state setup etc. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/render_program/exa_wm_mask_sample_argb.g5a')
0 files changed, 0 insertions, 0 deletions