OSDN Git Service

Enable OpenGL ES 3.0 context creation from non-conformant configs.
authorNicolas Capens <capn@google.com>
Mon, 2 Jan 2017 21:21:39 +0000 (16:21 -0500)
committerNicolas Capens <capn@google.com>
Tue, 3 Jan 2017 14:53:58 +0000 (14:53 +0000)
commit216980a5070cb675366c297af3ba64c19e2b2c69
tree409e81c6b26ee5086bc3eeecc092c2713c15758c
parent29cb003a582fbdbd0e3e1e62722142ceb356494b
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>
src/OpenGL/libEGL/Config.cpp
src/OpenGL/libEGL/Config.h
src/OpenGL/libEGL/Display.cpp