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

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

Issue 2639293002: gpu: Add ARB_occlusion_query support. (Closed)
Patch Set: add unit test Created 3 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('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) 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/gl2.h> 10 #include <GLES2/gl2.h>
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 #ifndef GL_CHROMIUM_framebuffer_mixed_samples 1204 #ifndef GL_CHROMIUM_framebuffer_mixed_samples
1205 #define GL_CHROMIUM_framebuffer_mixed_samples 1 1205 #define GL_CHROMIUM_framebuffer_mixed_samples 1
1206 typedef void(GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC)( 1206 typedef void(GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC)(
1207 GLenum components); 1207 GLenum components);
1208 #ifdef GL_GLEXT_PROTOTYPES 1208 #ifdef GL_GLEXT_PROTOTYPES
1209 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1209 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1210 #endif 1210 #endif
1211 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1211 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1212 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1212 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1213 1213
1214 #ifndef GL_ARB_occlusion_query
1215 #define GL_ARB_occlusion_query 1
1216 #define GL_SAMPLES_PASSED_ARB 0x8914
1217 #endif /* GL_ARB_occlusion_query */
1218
1214 #ifdef __cplusplus 1219 #ifdef __cplusplus
1215 } 1220 }
1216 #endif 1221 #endif
1217 1222
1218 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1223 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698