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
diff --git a/system/egl/egl.cpp b/system/egl/egl.cpp
index 395dead..16285f9 100644
--- a/system/egl/egl.cpp
+++ b/system/egl/egl.cpp
@@ -1469,16 +1469,6 @@
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