summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.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 17:29:38 +0000
commitab4f07e3cebdfc03bf9c933516af65eff2b45438 (patch)
tree3b68a0bb3f5b14316c657d5946be25d314d861b7 /libs/gui/BufferQueueThreadState.cpp
parent3ca9297afca66889e2636c38c2828d69dae3f3e2 (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. Test: NV regression testing including dEQP Test: EGL_test --gtest_filter=EGLTest.EGLInvalidColorspaceAttribute Test: EGL_test --gtest_filter=EGLTest.EGLUnsupportedColorspaceFormatCombo Change-Id: I1397732ebc4df01070de1fec57ceabf9092b0bdf Merged-In: I1397732ebc4df01070de1fec57ceabf9092b0bdf
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions