Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / gl / EGL / eglextchromium.h
blobfdde8532c8b4299e44fafae9528e1ead3e3874fd
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file contains Chromium-specific EGL extensions declarations.
7 #ifndef GPU_EGL_EGLEXTCHROMIUM_H_
8 #define GPU_EGL_EGLEXTCHROMIUM_H_
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 #include <EGL/eglplatform.h>
16 /* EGLSyncControlCHROMIUM requires 64-bit uint support */
17 #if KHRONOS_SUPPORT_INT64
18 #ifndef EGL_CHROMIUM_sync_control
19 #define EGL_CHROMIUM_sync_control 1
20 typedef khronos_uint64_t EGLuint64CHROMIUM;
21 #ifdef EGL_EGLEXT_PROTOTYPES
22 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncValuesCHROMIUM(
23 EGLDisplay dpy, EGLSurface surface, EGLuint64CHROMIUM *ust,
24 EGLuint64CHROMIUM *msc, EGLuint64CHROMIUM *sbc);
25 #endif /* EGL_EGLEXT_PROTOTYPES */
26 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCVALUESCHROMIUMPROC)
27 (EGLDisplay dpy, EGLSurface surface, EGLuint64CHROMIUM *ust,
28 EGLuint64CHROMIUM *msc, EGLuint64CHROMIUM *sbc);
29 #endif
30 #endif
32 #ifdef __cplusplus
34 #endif
36 #define // GPU_EGL_EGLEXTCHROMIUM_H_