sna: Add XV_COLORSPACE attribute support for sprite Xv adaptors

Graphics / X.Org / xf86-video-intel - Ville Syrjälä [linux.intel.com] - 2 March 2018 15:17 UTC

Use the new "COLOR_ENCODING" plane property to implement the XV_COLORSPACE port attribute for sprite Xv adaptors.

v2: assert(colorspace < ARRAY_SIZE) (Chris)

Cc: Jyri Sarha Cc: Chris Wilson

9b4f4001 sna: Add XV_COLORSPACE attribute support for sprite Xv adaptors
src/sna/sna.h | 1 +
src/sna/sna_display.c | 149 +++++++++++++++++++++++++++++++++++----------
src/sna/sna_video.h | 3 +
src/sna/sna_video_sprite.c | 22 ++++++-
4 files changed, 143 insertions(+), 32 deletions(-)

Upstream: cgit.freedesktop.org


  • Share