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

Side by Side Diff: ppapi/lib/gl/gles2/gl2ext_ppapi.c

Issue 6711047: Fix up some types in the API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: static_cast and header order Created 9 years, 9 months 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 | « ppapi/lib/gl/egl/egldriver.c ('k') | ppapi/proxy/ppb_core_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h" 5 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h"
6 6
7 #include <stddef.h>
8
7 #ifndef GL_FALSE 9 #ifndef GL_FALSE
8 #define GL_FALSE 0 10 #define GL_FALSE 0
9 #endif // GL_FALSE 11 #endif // GL_FALSE
10 12
11 #ifndef GL_TRUE 13 #ifndef GL_TRUE
12 #define GL_TRUE 1 14 #define GL_TRUE 1
13 #endif // GL_TRUE 15 #endif // GL_TRUE
14 16
15 #if defined(__GNUC__) && !defined(__APPLE__) 17 #if defined(__GNUC__) && !defined(__APPLE__)
16 #define PP_TLS __thread 18 #define PP_TLS __thread
(...skipping 29 matching lines...) Expand all
46 } 48 }
47 49
48 PP_Resource GL_APIENTRY glGetCurrentContextPPAPI() { 50 PP_Resource GL_APIENTRY glGetCurrentContextPPAPI() {
49 return g_current_context; 51 return g_current_context;
50 } 52 }
51 53
52 const struct PPB_OpenGLES2_Dev* GL_APIENTRY glGetInterfacePPAPI() { 54 const struct PPB_OpenGLES2_Dev* GL_APIENTRY glGetInterfacePPAPI() {
53 return g_gles2_interface; 55 return g_gles2_interface;
54 } 56 }
55 57
OLDNEW
« no previous file with comments | « ppapi/lib/gl/egl/egldriver.c ('k') | ppapi/proxy/ppb_core_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698