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

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

Issue 864513004: gpu: introduce glCopySubTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address concerns of owners Created 5 years, 10 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 #define GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM 0x9242 390 #define GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM 0x9242
391 #endif 391 #endif
392 392
393 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 393 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM
394 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241 394 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241
395 #endif 395 #endif
396 #ifdef GL_GLEXT_PROTOTYPES 396 #ifdef GL_GLEXT_PROTOTYPES
397 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM( 397 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(
398 GLenum target, GLenum source_id, GLenum dest_id, GLint level, 398 GLenum target, GLenum source_id, GLenum dest_id, GLint level,
399 GLint internalformat, GLenum dest_type); 399 GLint internalformat, GLenum dest_type);
400
401 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(GLenum target,
402 GLenum source_id,
403 GLenum dest_id,
404 GLint level,
405 GLint xoffset,
406 GLint yoffset);
400 #endif 407 #endif
401 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC) ( 408 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC) (
402 GLenum target, GLenum source_id, GLenum dest_id, GLint level, 409 GLenum target, GLenum source_id, GLenum dest_id, GLint level,
403 GLint internalformat, GLenum dest_type); 410 GLint internalformat, GLenum dest_type);
411
412 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(GLenum target,
413 GLenum source_id,
414 GLenum dest_id,
415 GLint level,
416 GLint xoffset,
417 GLint yoffset);
404 #endif /* GL_CHROMIUM_copy_texture */ 418 #endif /* GL_CHROMIUM_copy_texture */
405 419
406 /* GL_CHROMIUM_lose_context */ 420 /* GL_CHROMIUM_lose_context */
407 #ifndef GL_CHROMIUM_lose_context 421 #ifndef GL_CHROMIUM_lose_context
408 #define GL_CHROMIUM_lose_context 1 422 #define GL_CHROMIUM_lose_context 1
409 #ifdef GL_GLEXT_PROTOTYPES 423 #ifdef GL_GLEXT_PROTOTYPES
410 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other); 424 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other);
411 #endif 425 #endif
412 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) ( 426 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) (
413 GLenum current, GLenum other); 427 GLenum current, GLenum other);
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( 777 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(
764 GLenum matrixMode); 778 GLenum matrixMode);
765 779
766 #endif /* GL_CHROMIUM_path_rendering */ 780 #endif /* GL_CHROMIUM_path_rendering */
767 781
768 #ifdef __cplusplus 782 #ifdef __cplusplus
769 } 783 }
770 #endif 784 #endif
771 785
772 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 786 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698