mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
10340a5495
This adds a library that can be used instead of libGLESv2.so to provide symbols for the GLES 2.0 api. This can be used for convenience when using the cogl_gles2_context_ api since you don't need to manually go through a CoglGLES2Vtable when calling the gles2 api so it should be easier to port existing gles2 code to integrate with Cogl. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 80d7599a2acefca7d01d8d7de9df524278ef72c5)
29 lines
845 B
C
29 lines
845 B
C
#ifndef __gl2platform_h_
|
|
#define __gl2platform_h_
|
|
|
|
/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -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
|
|
*
|
|
* 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".
|
|
*/
|
|
|
|
#ifndef GL_APICALL
|
|
#define GL_APICALL
|
|
#endif
|
|
|
|
#ifndef GL_APIENTRY
|
|
#define GL_APIENTRY
|
|
#endif
|
|
|
|
#endif /* __gl2platform_h_ */
|