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

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

Issue 1143373004: gpu: Extend CopyTextureCHROMIUM with support for copying part of source texture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep TODO for now Created 5 years, 7 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(GLenum target, 401 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(GLenum target,
402 GLenum source_id, 402 GLenum source_id,
403 GLenum dest_id, 403 GLenum dest_id,
404 GLint internalformat, 404 GLint internalformat,
405 GLenum dest_type); 405 GLenum dest_type);
406 406
407 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(GLenum target, 407 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(GLenum target,
408 GLenum source_id, 408 GLenum source_id,
409 GLenum dest_id, 409 GLenum dest_id,
410 GLint xoffset, 410 GLint xoffset,
411 GLint yoffset); 411 GLint yoffset,
412 GLint x,
413 GLint y,
414 GLsizei width,
415 GLsizei height);
412 #endif 416 #endif
413 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(GLenum target, 417 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(GLenum target,
414 GLenum source_id, 418 GLenum source_id,
415 GLenum dest_id, 419 GLenum dest_id,
416 GLint internalformat, 420 GLint internalformat,
417 GLenum dest_type); 421 GLenum dest_type);
418 422
419 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(GLenum target, 423 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(GLenum target,
420 GLenum source_id, 424 GLenum source_id,
421 GLenum dest_id, 425 GLenum dest_id,
422 GLint xoffset, 426 GLint xoffset,
423 GLint yoffset); 427 GLint yoffset,
428 GLint x,
429 GLint y,
430 GLsizei width,
431 GLsizei height);
424 #endif /* GL_CHROMIUM_copy_texture */ 432 #endif /* GL_CHROMIUM_copy_texture */
425 433
426 /* GL_CHROMIUM_lose_context */ 434 /* GL_CHROMIUM_lose_context */
427 #ifndef GL_CHROMIUM_lose_context 435 #ifndef GL_CHROMIUM_lose_context
428 #define GL_CHROMIUM_lose_context 1 436 #define GL_CHROMIUM_lose_context 1
429 #ifdef GL_GLEXT_PROTOTYPES 437 #ifdef GL_GLEXT_PROTOTYPES
430 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); 438 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other);
431 #endif 439 #endif
432 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( 440 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) (
433 GLenum current, GLenum other); 441 GLenum current, GLenum other);
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( 791 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
784 GLenum matrixMode); 792 GLenum matrixMode);
785 793
786 #endif /* GL_CHROMIUM_path_rendering */ 794 #endif /* GL_CHROMIUM_path_rendering */
787 795
788 #ifdef __cplusplus 796 #ifdef __cplusplus
789 } 797 }
790 #endif 798 #endif
791 799
792 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 800 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt ('k') | gpu/blink/webgraphicscontext3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698