diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-08 22:58:58 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-08 22:58:58 +0000 |
commit | 9f427328e5f5794d29b4b4fbf2439f0ba86daa0e (patch) | |
tree | 8a45c0bddc83cab50a6cc5462f98890eaf750a73 /gpu/GLES2/gl2platform.h | |
parent | 3fb28bac3a97af687de76d830d42fe974422f910 (diff) | |
download | chromium_src-9f427328e5f5794d29b4b4fbf2439f0ba86daa0e.zip chromium_src-9f427328e5f5794d29b4b4fbf2439f0ba86daa0e.tar.gz chromium_src-9f427328e5f5794d29b4b4fbf2439f0ba86daa0e.tar.bz2 |
Rearrange GLES2 files so they are easier to use
from native client and pepper.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/668205
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2/gl2platform.h')
-rw-r--r-- | gpu/GLES2/gl2platform.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gpu/GLES2/gl2platform.h b/gpu/GLES2/gl2platform.h new file mode 100644 index 0000000..3e9036c --- /dev/null +++ b/gpu/GLES2/gl2platform.h @@ -0,0 +1,29 @@ +#ifndef __gl2platform_h_ +#define __gl2platform_h_ + +/* $Revision: 7173 $ on $Date:: 2009-01-09 11:18:21 -0800 #$ */ + +/* + * This document is licensed under the SGI Free Software B License Version + * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + */ + +/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h + * Last modified on 2008/12/19 + * + * Adopters may modify khrplatform.h and this file to suit their platform. + * You are encouraged to submit all modifications to the Khronos group so that + * they can be included in future versions of this file. Please submit changes + * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) + * by filing a bug against product "OpenGL-ES" component "Registry". + */ + +#include <KHR/khrplatform.h> + +#ifndef GL_APICALL +#define GL_APICALL KHRONOS_APICALL +#endif + +#define GL_APIENTRY KHRONOS_APIENTRY + +#endif /* __gl2platform_h_ */ |