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

Unified Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt

Issue 13613006: Add a new parameter dest_type to the GL_CHROMIUM_copy_texture extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the compilation issue for Mac and Win Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
index 5d346bc157142c8b92362806341abd715e75e5a6..61ee4d3057ff90aaa33f8859cc1efd2f044890f2 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
@@ -38,16 +38,19 @@ New Procedures and Functions
void glCopyTextureCHROMIUM (GLenum target, GLenum source_id,
GLenum dest_id, GLint level,
- GLint internal_format)
+ GLint internal_format, GLint dest_type)
apatrick_chromium 2013/04/12 19:34:56 dest_type should have type GLenum rather than GLin
Copies the contents of texture referred to by <source_id> to texture
<dest_id>.
Texture level 0 is copied from the source image to level <level> of the
- destination texture.
+ destination texture. The level parameter must be 0 at present.
The internal format of the destination texture is converted to that
- specified by <internal_format>
+ specified by <internal_format>.
+
+ The format type of the destination texture is converted to that specified
+ by <dest_type>.
<target> uses the same parameters as TexImage2D.
@@ -80,3 +83,4 @@ New State
Revision History
8/1/2011 Documented the extension
+ 7/4/2013 Add a new parameter dest_type to glCopyTextureCHROMIUM()

Powered by Google App Engine
This is Rietveld 408576698