summaryrefslogtreecommitdiffstats
path: root/third_party/khronos
diff options
context:
space:
mode:
authordbehr <dbehr@chromium.org>2015-02-06 19:18:05 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-07 03:19:22 +0000
commit5addbd55b7adfd6c158ee169d5e56a5c3567a06b (patch)
treef34831ab32816400651ce8ea9d0f85d0f3470b19 /third_party/khronos
parentb8be6ae0e26843eab92ac1527a752278fec65d99 (diff)
downloadchromium_src-5addbd55b7adfd6c158ee169d5e56a5c3567a06b.zip
chromium_src-5addbd55b7adfd6c158ee169d5e56a5c3567a06b.tar.gz
chromium_src-5addbd55b7adfd6c158ee169d5e56a5c3567a06b.tar.bz2
Add EGL_ARM_implicit_external_sync extension support
And use it to flush rendering before page flip. BUG=412508,442605 TEST=build and run Chrome on jerry/freon. It should render one frame. R=alexst@chromium.org R=dnicoara@chromium.org R=kbr@chromium.org R=piman@chromium.org Signed-off-by: Dominik Behr <dbehr@chromium.org> Review URL: https://codereview.chromium.org/903063003 Cr-Commit-Position: refs/heads/master@{#315171}
Diffstat (limited to 'third_party/khronos')
-rw-r--r--third_party/khronos/EGL/eglext.h5
-rw-r--r--third_party/khronos/README.chromium2
2 files changed, 7 insertions, 0 deletions
diff --git a/third_party/khronos/EGL/eglext.h b/third_party/khronos/EGL/eglext.h
index 3b26a79..0acc280 100644
--- a/third_party/khronos/EGL/eglext.h
+++ b/third_party/khronos/EGL/eglext.h
@@ -563,6 +563,11 @@ typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC)(EGLDisplay dpy,
#define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285
#endif
+#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
diff --git a/third_party/khronos/README.chromium b/third_party/khronos/README.chromium
index 052e9d9..2ee108e 100644
--- a/third_party/khronos/README.chromium
+++ b/third_party/khronos/README.chromium
@@ -33,6 +33,8 @@ GLES2/gl2ext.h
EGL/eglplatform.h
- Added EGLNative*Type for Mac.
- Added EGLNative*Type for native linux framebuffers.
+EGL/eglext.h
+ - Added EGL_ARM_implicit_external_sync extension tokens
KHR/khrplatform.h
- Modified KHRONOS_APICALL and KHRONOS_APIENTRY
DEPS