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

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

Issue 2610853005: Modify Copy{Sub}TextureCHROMIUM entry point to add level argument (Closed)
Patch Set: fix chromeos 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
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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 /* GL_CHROMIUM_copy_texture */ 356 /* GL_CHROMIUM_copy_texture */
357 #ifndef GL_CHROMIUM_copy_texture 357 #ifndef GL_CHROMIUM_copy_texture
358 #define GL_CHROMIUM_copy_texture 1 358 #define GL_CHROMIUM_copy_texture 1
359 359
360 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 360 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
361 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 361 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
362 #endif 362 #endif
363 363
364 #ifdef GL_GLEXT_PROTOTYPES 364 #ifdef GL_GLEXT_PROTOTYPES
365 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM( 365 GL_APICALL void GL_APIENTRY
366 glCopyTextureCHROMIUM(GLenum source_id,
367 GLint source_level,
368 GLenum dest_id,
369 GLint dest_level,
370 GLint internalformat,
371 GLenum dest_type,
372 GLboolean unpack_flip_y,
373 GLboolean unpack_premultiply_alpha,
374 GLboolean unpack_unmultiply_alpha);
375
376 GL_APICALL void GL_APIENTRY
377 glCopySubTextureCHROMIUM(GLenum source_id,
378 GLint source_level,
379 GLenum dest_id,
380 GLint dest_level,
381 GLint xoffset,
382 GLint yoffset,
383 GLint x,
384 GLint y,
385 GLsizei width,
386 GLsizei height,
387 GLboolean unpack_flip_y,
388 GLboolean unpack_premultiply_alpha,
389 GLboolean unpack_unmultiply_alpha);
390 #endif
391 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(
366 GLenum source_id, 392 GLenum source_id,
393 GLint source_level,
367 GLenum dest_id, 394 GLenum dest_id,
395 GLint dest_level,
368 GLint internalformat, 396 GLint internalformat,
369 GLenum dest_type, 397 GLenum dest_type,
370 GLboolean unpack_flip_y, 398 GLboolean unpack_flip_y,
371 GLboolean unpack_premultiply_alpha,
372 GLboolean unpack_unmultiply_alpha);
373
374 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(
375 GLenum source_id,
376 GLenum dest_id,
377 GLint xoffset,
378 GLint yoffset,
379 GLint x,
380 GLint y,
381 GLsizei width,
382 GLsizei height,
383 GLboolean unpack_flip_y,
384 GLboolean unpack_premultiply_alpha,
385 GLboolean unpack_unmultiply_alpha);
386 #endif
387 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(
388 GLenum source_id,
389 GLenum dest_id,
390 GLint internalformat,
391 GLenum dest_type,
392 GLboolean unpack_flip_y,
393 GLboolean unpack_premultiply_alpha, 399 GLboolean unpack_premultiply_alpha,
394 GLboolean unpack_unmultiply_alpha); 400 GLboolean unpack_unmultiply_alpha);
395 401
396 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)( 402 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(
397 GLenum source_id, 403 GLenum source_id,
404 GLint source_level,
398 GLenum dest_id, 405 GLenum dest_id,
406 GLint dest_level,
399 GLint xoffset, 407 GLint xoffset,
400 GLint yoffset, 408 GLint yoffset,
401 GLint x, 409 GLint x,
402 GLint y, 410 GLint y,
403 GLsizei width, 411 GLsizei width,
404 GLsizei height, 412 GLsizei height,
405 GLboolean unpack_flip_y, 413 GLboolean unpack_flip_y,
406 GLboolean unpack_premultiply_alpha, 414 GLboolean unpack_premultiply_alpha,
407 GLboolean unpack_unmultiply_alpha); 415 GLboolean unpack_unmultiply_alpha);
408 #endif /* GL_CHROMIUM_copy_texture */ 416 #endif /* GL_CHROMIUM_copy_texture */
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1209 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1202 #endif 1210 #endif
1203 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1211 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1204 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1212 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1205 1213
1206 #ifdef __cplusplus 1214 #ifdef __cplusplus
1207 } 1215 }
1208 #endif 1216 #endif
1209 1217
1210 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1218 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('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