virgl_hw: add YUV support

Add corresponding entries from p_format.h

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Gurchetan Singh 6 years ago committed by Gurchetan Singh
parent 9189e19676
commit 99d61001e9
  1. 6
      src/virgl_hw.h

@ -138,6 +138,12 @@ enum virgl_formats {
VIRGL_FORMAT_L32_FLOAT = 160,
VIRGL_FORMAT_L32A32_FLOAT = 161,
VIRGL_FORMAT_YV12 = 163,
VIRGL_FORMAT_YV16 = 164,
VIRGL_FORMAT_IYUV = 165, /**< aka I420 */
VIRGL_FORMAT_NV12 = 166,
VIRGL_FORMAT_NV21 = 167,
VIRGL_FORMAT_R8_UINT = 177,
VIRGL_FORMAT_R8G8_UINT = 178,
VIRGL_FORMAT_R8G8B8_UINT = 179,

Loading…
Cancel
Save