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

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

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 1 month 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
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // TODO(gman): Get official numbers for this constants. 203 // TODO(gman): Get official numbers for this constants.
204 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003 204 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003
205 #endif 205 #endif
206 #endif /* GL_CHROMIUM_get_error_query */ 206 #endif /* GL_CHROMIUM_get_error_query */
207 207
208 /* GL_CHROMIUM_texture_from_image */ 208 /* GL_CHROMIUM_texture_from_image */
209 #ifndef GL_CHROMIUM_texture_from_image 209 #ifndef GL_CHROMIUM_texture_from_image
210 #define GL_CHROMIUM_texture_from_image 1 210 #define GL_CHROMIUM_texture_from_image 1
211 #ifdef GL_GLEXT_PROTOTYPES 211 #ifdef GL_GLEXT_PROTOTYPES
212 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM( 212 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM(
213 GLenum target, GLint imageId); 213 GLenum target, GLint imageId, GLint fenceId);
214 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM( 214 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM(
215 GLenum target, GLint imageId); 215 GLenum target, GLint imageId);
216 #endif 216 #endif
217 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUMPROC) ( 217 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUMPROC) (
218 GLenum target, GLint imageId); 218 GLenum target, GLint imageId, GLint fenceId);
219 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC) ( 219 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC) (
220 GLenum target, GLint imageId); 220 GLenum target, GLint imageId);
221 #endif /* GL_CHROMIUM_texture_from_image */ 221 #endif /* GL_CHROMIUM_texture_from_image */
222 222
223 /* GL_CHROMIUM_post_sub_buffer */ 223 /* GL_CHROMIUM_post_sub_buffer */
224 #ifndef GL_CHROMIUM_post_sub_buffer 224 #ifndef GL_CHROMIUM_post_sub_buffer
225 #define GL_CHROMIUM_post_sub_buffer 1 225 #define GL_CHROMIUM_post_sub_buffer 1
226 #ifdef GL_GLEXT_PROTOTYPES 226 #ifdef GL_GLEXT_PROTOTYPES
227 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM( 227 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM(
228 GLint x, GLint y, GLint width, GLint height); 228 GLint x, GLint y, GLint width, GLint height);
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1215 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1216 #endif 1216 #endif
1217 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1217 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1218 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1218 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1219 1219
1220 #ifdef __cplusplus 1220 #ifdef __cplusplus
1221 } 1221 }
1222 #endif 1222 #endif
1223 1223
1224 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1224 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_from_image.txt ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698