Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: third_party/khronos/EGL/eglext.h

Issue 2109803003: Add support for EXT_image_flush_external extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add support for EXT_image_flush_external extension Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/khronos/EGL/eglext.h
diff --git a/third_party/khronos/EGL/eglext.h b/third_party/khronos/EGL/eglext.h
index b476dc59057f578d40a78cf4f904865f3c857241..831e3d8b1b9aa95795f7a50f4bd4af72873cac4f 100644
--- a/third_party/khronos/EGL/eglext.h
+++ b/third_party/khronos/EGL/eglext.h
@@ -574,6 +574,18 @@ typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC)(EGLDisplay dpy,
#define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A
#endif /* EGL_ARM_implicit_external_sync */
+
+#ifndef EGL_EXT_image_flush_external
+#define EGL_EXT_image_flush_external 1
+#define EGL_IMAGE_EXTERNAL_TARGET_NVX 0x3330
+#define EGL_DECOMPRESSED_NVX 0x3331
piman 2016/06/29 17:34:50 How come an EXT extension has _NVX enums in them?
vinceh 2016/06/30 09:22:48 It's in https://docs.google.com/document/d/1Z3P00q
piman 2016/06/30 18:18:58 EGL_EXT_image_flush_external, as described in the
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglImageFlushExternalEXT(EGLDisplay dpy, EGLImageKHR image, const EGLint *attrib_list);
+#else
+typedef EGLBoolean (EGLAPIENTRYP PFNGLEGLIMAGEFLUSHEXTERNALEXT) (EGLDisplay dpy, EGLImageKHR image, const EGLint *attrib_list);
+#endif
+#endif
+
#ifdef __cplusplus
}
#endif

Powered by Google App Engine
This is Rietveld 408576698