Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: third_party/khronos/GLES2/gl2platform.h

Issue 99053007: Updated Khronos GLES2 headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + newest skia changes Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/khronos/GLES2/gl2ext.h ('k') | third_party/khronos/KHR/khrplatform.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef __gl2platform_h_ 1 #ifndef __gl2platform_h_
2 #define __gl2platform_h_ 2 #define __gl2platform_h_
3 3
4 /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ 4 /* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */
5 5
6 /* 6 /*
7 * This document is licensed under the SGI Free Software B License Version 7 * This document is licensed under the SGI Free Software B License Version
8 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . 8 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
9 */ 9 */
10 10
11 /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 11 /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
12 * 12 *
13 * Adopters may modify khrplatform.h and this file to suit their platform. 13 * Adopters may modify khrplatform.h and this file to suit their platform.
14 * You are encouraged to submit all modifications to the Khronos group so that 14 * You are encouraged to submit all modifications to the Khronos group so that
15 * they can be included in future versions of this file. Please submit changes 15 * they can be included in future versions of this file. Please submit changes
16 * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) 16 * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
17 * by filing a bug against product "OpenGL-ES" component "Registry". 17 * by filing a bug against product "OpenGL-ES" component "Registry".
18 */ 18 */
19 19
20 #include <KHR/khrplatform.h> 20 #include <KHR/khrplatform.h>
21 21
22 #if defined(COMPONENT_BUILD) 22 #ifndef GL_APICALL
23 #if defined(WIN32) 23 #define GL_APICALL KHRONOS_APICALL
24 #if defined(GLES2_C_LIB_IMPLEMENTATION)
25 #define GL_APICALL __declspec(dllexport)
26 #else
27 #define GL_APICALL __declspec(dllimport)
28 #endif /* defined(GLES2_C_LIB_IMPLEMENTATION) */
29 #else /* defined(WIN32) */
30 #define GL_APICALL __attribute__((visibility("default")))
31 #endif
32 #else
33 # define GL_APICALL
34 #endif 24 #endif
35 25
36 #ifndef GL_APIENTRY 26 #ifndef GL_APIENTRY
37 #define GL_APIENTRY KHRONOS_APIENTRY 27 #define GL_APIENTRY KHRONOS_APIENTRY
38 #endif 28 #endif
39 29
40 #undef GL_APIENTRY
41 #define GL_APIENTRY
42
43 #endif /* __gl2platform_h_ */ 30 #endif /* __gl2platform_h_ */
OLDNEW
« no previous file with comments | « third_party/khronos/GLES2/gl2ext.h ('k') | third_party/khronos/KHR/khrplatform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698