EGL: Add EGL_ARM_implicit_external_sync
Adds the EGL_ARM_implicit_external_sync defines to eglext.h.
This extension has not yet been added to the Khronos registry so is not
yet in the official headers.
BUG=chrome-os-partner:32533
TEST=Checkout I9a83fb15084 for mali-drivers project.
cros_workon-daisy start mali-drivers \
&& emerge-daisy mali-drivers \
&& cros_workon-daisy start opengles-headers \
&& emerge-daisy opengles-headers \
&& cros deploy <IP> mali-drivers
Ensure chrome://gpu lists EGL_ARM_implicit_external_sync under
"Window system binding extensions"
Change-Id: If4fa71b98f442ef49d6f987d5a73af120668d387
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/223080
Reviewed-by: Haixia Shi <hshi@chromium.org>
diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h
index 14d5229..adab61e 100644
--- a/include/EGL/eglext.h
+++ b/include/EGL/eglext.h
@@ -797,6 +797,11 @@
#define EGL_NATIVE_SURFACE_TIZEN 0x32A1
#endif /* EGL_TIZEN_image_native_surface */
+#ifndef EGL_ARM_implicit_external_sync
+#define EGL_ARM_implicit_external_sync 1
+#define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A
+#endif /* EGL_ARM_implicit_external_sync */
+
#ifdef __cplusplus
}
#endif