diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2021-03-10 20:55:08 -0800 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-05-21 01:40:22 +0000 |
commit | 3c4c03cd1369053ad0f295dbbabdc5ea2811bf92 (patch) | |
tree | 56dcb9f25c540d49f8d3c538e7fe13690e577c52 /include | |
parent | 410c94926c54d9f9db8b5409e2ff297db52ae45f (diff) |
gallium/dri: Add Y41x formats
v2: Don't leak __DRI_IMAGE_FOURCC_RGBA16161616 to applications.
v3: Fix typo in __DRI_IMAGE_FOURCC_RGBA16161616 table entry.
v4: Add the Y412 and Y416 tests to the A530 expected fail list. Many
YUV image import tests fail on this platform, and nobody has been able
to investigate why.
v5: Update the comment describing the zeroed bits in Y412. Suggested by
Emma.
v6: Add all Y41x test to the rpi3 expected fail list.
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9610>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/internal/dri_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 26b2bb5a9db..66dc0927cb7 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1366,6 +1366,7 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_FORMAT_XBGR16161616F 0x1014 #define __DRI_IMAGE_FORMAT_ABGR16161616F 0x1015 #define __DRI_IMAGE_FORMAT_SXRGB8 0x1016 +#define __DRI_IMAGE_FORMAT_ABGR16161616 0x1017 #define __DRI_IMAGE_USE_SHARE 0x0001 #define __DRI_IMAGE_USE_SCANOUT 0x0002 @@ -1395,6 +1396,7 @@ struct __DRIdri2ExtensionRec { #define __DRI_IMAGE_FOURCC_SARGB8888 0x83324258 #define __DRI_IMAGE_FOURCC_SABGR8888 0x84324258 #define __DRI_IMAGE_FOURCC_SXRGB8888 0x85324258 +#define __DRI_IMAGE_FOURCC_RGBA16161616 0x38344152 /* fourcc_code('R', 'A', '4', '8' ) */ /** * Queryable on images created by createImageFromNames. |