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

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, 2 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
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // TODO(gman): Get official numbers for this constants. 204 // TODO(gman): Get official numbers for this constants.
205 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003 205 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003
206 #endif 206 #endif
207 #endif /* GL_CHROMIUM_get_error_query */ 207 #endif /* GL_CHROMIUM_get_error_query */
208 208
209 /* GL_CHROMIUM_texture_from_image */ 209 /* GL_CHROMIUM_texture_from_image */
210 #ifndef GL_CHROMIUM_texture_from_image 210 #ifndef GL_CHROMIUM_texture_from_image
211 #define GL_CHROMIUM_texture_from_image 1 211 #define GL_CHROMIUM_texture_from_image 1
212 #ifdef GL_GLEXT_PROTOTYPES 212 #ifdef GL_GLEXT_PROTOTYPES
213 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM( 213 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM(
214 GLenum target, GLint imageId); 214 GLenum target, GLint imageId, GLint fenceId);
215 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM( 215 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM(
216 GLenum target, GLint imageId); 216 GLenum target, GLint imageId);
217 #endif 217 #endif
218 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUMPROC) ( 218 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUMPROC) (
219 GLenum target, GLint imageId); 219 GLenum target, GLint imageId, GLint fenceId);
220 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC) ( 220 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC) (
221 GLenum target, GLint imageId); 221 GLenum target, GLint imageId);
222 #endif /* GL_CHROMIUM_texture_from_image */ 222 #endif /* GL_CHROMIUM_texture_from_image */
223 223
224 /* GL_CHROMIUM_post_sub_buffer */ 224 /* GL_CHROMIUM_post_sub_buffer */
225 #ifndef GL_CHROMIUM_post_sub_buffer 225 #ifndef GL_CHROMIUM_post_sub_buffer
226 #define GL_CHROMIUM_post_sub_buffer 1 226 #define GL_CHROMIUM_post_sub_buffer 1
227 #ifdef GL_GLEXT_PROTOTYPES 227 #ifdef GL_GLEXT_PROTOTYPES
228 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM( 228 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM(
229 GLint x, GLint y, GLint width, GLint height); 229 GLint x, GLint y, GLint width, GLint height);
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1216 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1217 #endif 1217 #endif
1218 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1218 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1219 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1219 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1220 1220
1221 #ifdef __cplusplus 1221 #ifdef __cplusplus
1222 } 1222 }
1223 #endif 1223 #endif
1224 1224
1225 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1225 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698