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

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

Issue 2021603002: gpu: Add a new extension CHROMIUM_deschedule. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « gpu/GLES2/gl2chromium_autogen.h ('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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)( 146 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)(
147 GLsizei width, 147 GLsizei width,
148 GLsizei height, 148 GLsizei height,
149 GLenum internalformat, 149 GLenum internalformat,
150 GLenum usage); 150 GLenum usage);
151 typedef GLint(GL_APIENTRYP PFNGLGETIMAGEIVCHROMIUMPROC)( 151 typedef GLint(GL_APIENTRYP PFNGLGETIMAGEIVCHROMIUMPROC)(
152 GLuint image_id, 152 GLuint image_id,
153 GLenum param); 153 GLenum param);
154 #endif /* GL_CHROMIUM_gpu_memory_buffer_image */ 154 #endif /* GL_CHROMIUM_gpu_memory_buffer_image */
155 155
156 /* GL_CHROMIUM_deschedule */
157 #ifndef GL_CHROMIUM_deschedule
158 #define GL_CHROMIUM_deschedule 1
159 #ifdef GL_GLEXT_PROTOTYPES
160 GL_APICALL void GL_APIENTRY glDescheduleUntilFinishedCHROMIUM();
161 #endif
162 typedef void(GL_APIENTRYP PFNGLDESCHEDULEUNTILFINISHEDCHROMIUM)();
163 #endif /* GL_CHROMIUM_deschedule */
164
156 /* GL_CHROMIUM_map_sub */ 165 /* GL_CHROMIUM_map_sub */
157 #ifndef GL_CHROMIUM_map_sub 166 #ifndef GL_CHROMIUM_map_sub
158 #define GL_CHROMIUM_map_sub 1 167 #define GL_CHROMIUM_map_sub 1
159 168
160 #ifndef GL_READ_ONLY 169 #ifndef GL_READ_ONLY
161 #define GL_READ_ONLY 0x88B8 170 #define GL_READ_ONLY 0x88B8
162 #endif 171 #endif
163 172
164 #ifndef GL_WRITE_ONLY 173 #ifndef GL_WRITE_ONLY
165 #define GL_WRITE_ONLY 0x88B9 174 #define GL_WRITE_ONLY 0x88B9
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1219 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1211 #endif 1220 #endif
1212 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1221 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1213 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1222 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1214 1223
1215 #ifdef __cplusplus 1224 #ifdef __cplusplus
1216 } 1225 }
1217 #endif 1226 #endif
1218 1227
1219 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1228 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698