Home | History | Annotate | Download | only in EGL
      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.
      4 
      5 // This file contains Chromium-specific EGL extensions declarations.
      6 
      7 #ifndef GPU_EGL_EGLEXTCHROMIUM_H_
      8 #define GPU_EGL_EGLEXTCHROMIUM_H_
      9 
     10 #ifdef __cplusplus
     11 extern "C" {
     12 #endif
     13 
     14 #include <EGL/eglplatform.h>
     15 
     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
     31 
     32 #ifdef __cplusplus
     33 }
     34 #endif
     35 
     36 #define  // GPU_EGL_EGLEXTCHROMIUM_H_
     37