From 5addbd55b7adfd6c158ee169d5e56a5c3567a06b Mon Sep 17 00:00:00 2001 From: dbehr Date: Fri, 6 Feb 2015 19:18:05 -0800 Subject: 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 Review URL: https://codereview.chromium.org/903063003 Cr-Commit-Position: refs/heads/master@{#315171} --- third_party/khronos/EGL/eglext.h | 5 +++++ third_party/khronos/README.chromium | 2 ++ 2 files changed, 7 insertions(+) (limited to 'third_party/khronos') 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 -- cgit v1.1