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

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

Issue 2443023002: gpu: Add CHROMIUM_copy_image extension.
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
« 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 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 #ifndef GL_CHROMIUM_framebuffer_mixed_samples 1210 #ifndef GL_CHROMIUM_framebuffer_mixed_samples
1211 #define GL_CHROMIUM_framebuffer_mixed_samples 1 1211 #define GL_CHROMIUM_framebuffer_mixed_samples 1
1212 typedef void(GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC)( 1212 typedef void(GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC)(
1213 GLenum components); 1213 GLenum components);
1214 #ifdef GL_GLEXT_PROTOTYPES 1214 #ifdef GL_GLEXT_PROTOTYPES
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 /* GL_CHROMIUM_copy_image */
1221 #ifndef GL_CHROMIUM_copy_image
1222 #define GL_CHROMIUM_copy_image 1
1223 #ifdef GL_GLEXT_PROTOTYPES
1224 GL_APICALL void GL_APIENTRY glCopyImageSubDataCHROMIUM(GLint source_image_id,
1225 GLint dest_texture_id,
1226 GLint xoffset,
1227 GLint yoffset,
1228 GLint x,
1229 GLint y,
1230 GLsizei width,
1231 GLsizei height,
1232 GLint in_fence_id,
1233 GLint out_fence_id);
1234 #endif
1235 typedef void(GL_APIENTRYP PFNGLCOPYIMAGESUBDATACHROMIUMPROC)(
1236 GLint source_image_id,
1237 GLint dest_texture_id,
1238 GLint xoffset,
1239 GLint yoffset,
1240 GLint x,
1241 GLint y,
1242 GLsizei width,
1243 GLsizei height,
1244 GLint in_fence_id,
1245 GLint out_fence_id);
1246 #endif /* GL_CHROMIUM_copy_image */
1247
1220 #ifdef __cplusplus 1248 #ifdef __cplusplus
1221 } 1249 }
1222 #endif 1250 #endif
1223 1251
1224 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1252 #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