Loading opengl/libs/EGL/egl_display.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -240,6 +240,12 @@ EGLBoolean egl_display_t::initialize(EGLint *major, EGLint *minor) { if (len) { // NOTE: we could avoid the copy if we had strnstr. const std::string ext(start, len); // Temporary hack: Adreno 530 driver exposes this extension under the draft // KHR name, but during Khronos review it was decided to demote it to EXT. if (ext == "EGL_EXT_image_gl_colorspace" && findExtension(disp.queryString.extensions, "EGL_KHR_image_gl_colorspace")) { mExtensionString.append("EGL_EXT_image_gl_colorspace "); } if (findExtension(disp.queryString.extensions, ext.c_str(), len)) { mExtensionString.append(ext + " "); } Loading Loading
opengl/libs/EGL/egl_display.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -240,6 +240,12 @@ EGLBoolean egl_display_t::initialize(EGLint *major, EGLint *minor) { if (len) { // NOTE: we could avoid the copy if we had strnstr. const std::string ext(start, len); // Temporary hack: Adreno 530 driver exposes this extension under the draft // KHR name, but during Khronos review it was decided to demote it to EXT. if (ext == "EGL_EXT_image_gl_colorspace" && findExtension(disp.queryString.extensions, "EGL_KHR_image_gl_colorspace")) { mExtensionString.append("EGL_EXT_image_gl_colorspace "); } if (findExtension(disp.queryString.extensions, ext.c_str(), len)) { mExtensionString.append(ext + " "); } Loading