diff options
| author | 2017-07-07 14:55:40 -0600 | |
|---|---|---|
| committer | 2017-08-01 10:52:06 -0600 | |
| commit | 1b71702e7e7d6648d7ff23e595bf429a405031ba (patch) | |
| tree | 54be7018d3f900e1886aa4c345c9e5788a4b1c74 /opengl/libagl/array.cpp | |
| parent | 2cd68e6d90ed5f62c84555d6a6e3655f488919a7 (diff) | |
Check wide-color support before adding extensions
Don't want applications seeing the wide-color EGL extensions
if the device or display cannot support wide-color.
Bug: 63170158
Test: adb shell /data/nativetest/test-opengl-gl2_basic/test-opengl-gl2_basic
Verify that EGL_EXT_gl_colorspace_scrgb, EGL_EXT_gl_colorspace_scrgb_linear,
EGL_EXT_gl_colorspace_display_p3_linear and EGL_EXT_gl_colorspace_display_p3
are not present on devices that do not support wide-color, e.g. Nexus 6P
Change-Id: I46a26a67f2d6da9c5aad50d884ef02a62ccb6945
(cherry picked from commit e5d6f994158d554c692afae0f547d89c75abde71)
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions