glamor: add support for GL_RG

Graphics / X.Org / X.Org Server - Julien Isorce [gmail.com] - 11 September 2018 19:54 EDT

Allow to upload the CbCr plane of an NV12 image into a GL texture.

44f588568 glamor: add support for GL_RG
glamor/glamor.c | 2 ++
glamor/glamor.h | 1 +
glamor/glamor_priv.h | 4 +++-
glamor/glamor_transfer.c | 10 ++++++++--
glamor/glamor_utils.h | 4 ++++
5 files changed, 18 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share