Index: gpu/EGL/eglextchromium.h |
diff --git a/gpu/EGL/eglextchromium.h b/gpu/EGL/eglextchromium.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fdde8532c8b4299e44fafae9528e1ead3e3874fd |
--- /dev/null |
+++ b/gpu/EGL/eglextchromium.h |
@@ -0,0 +1,36 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// This file contains Chromium-specific EGL extensions declarations. |
+ |
+#ifndef GPU_EGL_EGLEXTCHROMIUM_H_ |
+#define GPU_EGL_EGLEXTCHROMIUM_H_ |
+ |
+#ifdef __cplusplus |
+extern "C" { |
+#endif |
+ |
+#include <EGL/eglplatform.h> |
+ |
+/* EGLSyncControlCHROMIUM requires 64-bit uint support */ |
+#if KHRONOS_SUPPORT_INT64 |
+#ifndef EGL_CHROMIUM_sync_control |
+#define EGL_CHROMIUM_sync_control 1 |
+typedef khronos_uint64_t EGLuint64CHROMIUM; |
+#ifdef EGL_EGLEXT_PROTOTYPES |
+EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncValuesCHROMIUM( |
+ EGLDisplay dpy, EGLSurface surface, EGLuint64CHROMIUM *ust, |
+ EGLuint64CHROMIUM *msc, EGLuint64CHROMIUM *sbc); |
+#endif /* EGL_EGLEXT_PROTOTYPES */ |
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCVALUESCHROMIUMPROC) |
+ (EGLDisplay dpy, EGLSurface surface, EGLuint64CHROMIUM *ust, |
+ EGLuint64CHROMIUM *msc, EGLuint64CHROMIUM *sbc); |
+#endif |
+#endif |
+ |
+#ifdef __cplusplus |
+} |
+#endif |
+ |
+#define // GPU_EGL_EGLEXTCHROMIUM_H_ |