projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432df74
)
i965: add {X,A}BGR2101010 to 'intel_image_formats'
author
Miguel Casas
<mcasas@chromium.org>
Mon, 7 May 2018 15:45:21 +0000
(11:45 -0400)
committer
Chad Versace
<chadversary@chromium.org>
Wed, 23 May 2018 17:19:04 +0000
(10:19 -0700)
This patch adds {X,A}BGR2101010 entries to the list of supported
'intel_image_formats'.
Bug: https://crbug.com/776093
Reviewed-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/intel_screen.c
b/src/mesa/drivers/dri/i965/intel_screen.c
index 4b0a573eaf36b50ca88b13a19ab42c3cc0c9ee0e..ab6c003b0fe21aaebd9d3af24dc4a01953fe1313 100644
(file)
--- a/
src/mesa/drivers/dri/i965/intel_screen.c
+++ b/
src/mesa/drivers/dri/i965/intel_screen.c
@@
-190,6
+190,12
@@
static const struct intel_image_format intel_image_formats[] = {
{ __DRI_IMAGE_FOURCC_XRGB2101010, __DRI_IMAGE_COMPONENTS_RGB, 1,
{ { 0, 0, 0, __DRI_IMAGE_FORMAT_XRGB2101010, 4 } } },
+ { __DRI_IMAGE_FOURCC_ABGR2101010, __DRI_IMAGE_COMPONENTS_RGBA, 1,
+ { { 0, 0, 0, __DRI_IMAGE_FORMAT_ABGR2101010, 4 } } },
+
+ { __DRI_IMAGE_FOURCC_XBGR2101010, __DRI_IMAGE_COMPONENTS_RGB, 1,
+ { { 0, 0, 0, __DRI_IMAGE_FORMAT_XBGR2101010, 4 } } },
+
{ __DRI_IMAGE_FOURCC_ARGB8888, __DRI_IMAGE_COMPONENTS_RGBA, 1,
{ { 0, 0, 0, __DRI_IMAGE_FORMAT_ARGB8888, 4 } } },