diff options
author | Courtney Goeltzenleuchter <courtneygo@google.com> | 2018-02-01 09:51:58 -0700 |
---|---|---|
committer | Courtney Goeltzenleuchter <courtneygo@google.com> | 2018-02-01 12:09:09 -0700 |
commit | 52de2fdaf23e17ca73cf1dd09ee5ebd31245966b (patch) | |
tree | 1d7abcef900e0172c620f4bfa03d39e722a0fdf3 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 0b26710528eb69f3883f295f3e6146e6466fd082 (diff) |
EGL: Properly strip out unknown attributes
Introduced a bug when adding SMPTE support.
EGL wrapper needs to strip out color space extension information that
the driver doesn't recognize to prevent calls into the driver from
failing. e.g. EGL_GL_COLORSPACE_DISPLAY_P3_EXT or SMPTE extension
attributes such as EGL_SMPTE2086_WHITE_POINT_X_EXT.
Test: adb -d shell am start -n \
com.drawelements.deqp/android.app.NativeActivity \
-e cmdLine '"deqp --deqp-case=dEQP-EGL.functional.hdr_color.* \
--deqp-log-filename=/sdcard/dEQP-Log.qpa"'
Bug: b/72705818, b/72753050
Change-Id: I7a4bb9579da04783952aaf49d96f9d67460390db
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions