Enable OpenGL ES 3.0 context creation from non-conformant configs. Allow experimental access to OpenGL ES 3.0 for Android, when the application explicitly sets the EGL_CONFIG_CAVEAT config attribute to EGL_NON_CONFORMANT_CONFIG or EGL_DONT_CARE. Bug b/34029810 Change-Id: I942a6d4812d89446f7045f020df974489c4c0ab3 Reviewed-on: https://swiftshader-review.googlesource.com/8352 Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/libEGL/Config.h b/src/OpenGL/libEGL/Config.h index d1c21e3..9b47ac7 100644 --- a/src/OpenGL/libEGL/Config.h +++ b/src/OpenGL/libEGL/Config.h
@@ -32,7 +32,7 @@ class Config { public: - Config(sw::Format displayFormat, EGLint minSwapInterval, EGLint maxSwapInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint multiSample); + Config(sw::Format displayFormat, EGLint minSwapInterval, EGLint maxSwapInterval, sw::Format renderTargetFormat, sw::Format depthStencilFormat, EGLint multiSample, bool conformant); EGLConfig getHandle() const;