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

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 11782020: Refactor so chromium only GL extensions require gl2extchromium.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains Chromium-specific GLES2 extensions declarations. 5 // This file contains Chromium-specific GLES2 extensions declarations.
6 6
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ 7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ 8 #define GPU_GLES2_GL2EXTCHROMIUM_H_
9 9
10 #include <GLES2/gl2chromium.h> 10 #include <GLES2/gl2.h>
11 #include <GLES2/gl2ext.h>
11 12
12 #ifdef __cplusplus 13 #ifdef __cplusplus
13 extern "C" { 14 extern "C" {
14 #endif 15 #endif
15 16
16 /* GL_CHROMIUM_iosurface */ 17 /* GL_CHROMIUM_iosurface */
17 #ifndef GL_CHROMIUM_iosurface 18 #ifndef GL_CHROMIUM_iosurface
18 #define GL_CHROMIUM_iosurface 1 19 #define GL_CHROMIUM_iosurface 1
19 #ifdef GL_GLEXT_PROTOTYPES 20 #ifdef GL_GLEXT_PROTOTYPES
20 GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM( 21 GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM(
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 #ifndef GL_CHROMIUM_front_buffer_cached 434 #ifndef GL_CHROMIUM_front_buffer_cached
434 #define GL_CHROMIUM_front_buffer_cached 1 435 #define GL_CHROMIUM_front_buffer_cached 1
435 #endif /* GL_CHROMIUM_front_buffer_cached */ 436 #endif /* GL_CHROMIUM_front_buffer_cached */
436 437
437 #ifdef __cplusplus 438 #ifdef __cplusplus
438 } 439 }
439 #endif 440 #endif
440 441
441 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 442 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
442 443
OLDNEW
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | gpu/command_buffer/client/gles2_c_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698