summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc2.cpp
diff options
context:
space:
mode:
author Weiwan Liu <weiwliu@nvidia.com> 2018-09-27 15:47:29 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2018-11-01 14:24:48 -0700
commitfbd9a282b76546a635e715c9ae253efd4023f3ad (patch)
tree8057b5da29a7cfcb3e393ecb492225b14ccf48fb /libs/ui/Gralloc2.cpp
parent5e4c327a1202f017f5a5e9d4fe8e546bec21e709 (diff)
EGL: two fixes for colorspace attribute handling
1) set EGL_BAD_ATTRIBUTE if enum is not any of the valid EGL_GL_COLORSPACE_* enums 2) in getDriverColorSpaces(), add colorspaces to the support list as long as extension is supported by vendor driver. Don't check format here and leave that to vendor drivers that support the extensions. Bug: b/118093231 Test: NV regression testing including dEQP Test: EGL_test --gtest_filter=EGLTest.EGLInvalidColorspaceAttribute Test: EGL_test --gtest_filter=EGLTest.EGLUnsupportedColorspaceFormatCombo Change-Id: I1397732ebc4df01070de1fec57ceabf9092b0bdf
Diffstat (limited to 'libs/ui/Gralloc2.cpp')
0 files changed, 0 insertions, 0 deletions