diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 02:02:55 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 02:02:55 +0000 |
commit | e0f104c61c526fc9d0a09bc221ec393acabd3c8f (patch) | |
tree | f26331dda1258cf75de6a46c2a96972ffcafc9fa /ui/gl/EGL/eglextchromium.h | |
parent | b8fe3618f7f11ece91710f23fbc2a06cfea97daa (diff) | |
download | chromium_src-e0f104c61c526fc9d0a09bc221ec393acabd3c8f.zip chromium_src-e0f104c61c526fc9d0a09bc221ec393acabd3c8f.tar.gz chromium_src-e0f104c61c526fc9d0a09bc221ec393acabd3c8f.tar.bz2 |
Clean up the mess left supporting 'use system libs'
The GL and EGL folders have nothing to do with src/gpu and
so don't belong there.
The gpu/GLES2 is the public (renderer) api. gl2chromium_constants.h
does not belong there as that is only used by the GPU process.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/12067002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/EGL/eglextchromium.h')
-rw-r--r-- | ui/gl/EGL/eglextchromium.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/gl/EGL/eglextchromium.h b/ui/gl/EGL/eglextchromium.h new file mode 100644 index 0000000..fdde853 --- /dev/null +++ b/ui/gl/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_ |