aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYahan Zhou <yahan@google.com>2018-05-08 10:50:01 -0700
committerYahan Zhou <yahan@google.com>2018-05-08 10:50:01 -0700
commit1c5fc443b2fd9cba76a4c0424c491e491764db78 (patch)
tree1ba554d51d502a61905bcb358cb34aee257d0ba1
parent068717010e0481268c3abc23068cd7ec436f1253 (diff)
downloaddevice_generic_goldfish-opengl-1c5fc443b2fd9cba76a4c0424c491e491764db78.tar.gz
device_generic_goldfish-opengl-1c5fc443b2fd9cba76a4c0424c491e491764db78.tar.bz2
device_generic_goldfish-opengl-1c5fc443b2fd9cba76a4c0424c491e491764db78.zip
Remove support for EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR
CTS dEQP says it should not be supported by EGL version <= 1.4. This cl does not impact real devices. BUG: 78918794 Test: cts-tradefed run cts -m CtsDeqpTestCases -t dEQP-EGL.functional.robustness.negative_context#invalid_notification_strategy_enum Change-Id: I3f056e506198216857e139897308a9244222be7f
-rw-r--r--system/egl/egl.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/system/egl/egl.cpp b/system/egl/egl.cpp
index 395deadc..16285f9e 100644
--- a/system/egl/egl.cpp
+++ b/system/egl/egl.cpp
@@ -1469,16 +1469,6 @@ EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_c
RETURN_ERROR(EGL_NO_CONTEXT,EGL_BAD_ATTRIBUTE);
}
break;
- case EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR:
- switch (attrib_val) {
- case EGL_NO_RESET_NOTIFICATION_KHR:
- case EGL_LOSE_CONTEXT_ON_RESET_KHR:
- break;
- default:
- RETURN_ERROR(EGL_NO_CONTEXT,EGL_BAD_ATTRIBUTE);
- }
- reset_notification_strategy = attrib_val;
- break;
case EGL_CONTEXT_PRIORITY_LEVEL_IMG:
// According to the spec, we are allowed not to honor this hint.
// https://www.khronos.org/registry/EGL/extensions/IMG/EGL_IMG_context_priority.txt