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

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

Issue 10124016: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removing dangling error checking code. Created 8 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
« no previous file with comments | « no previous file | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
===================================================================
--- gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (revision 0)
+++ gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (revision 0)
@@ -0,0 +1,66 @@
+Name
+
+ CHROMIUM_copy_texture
+
+Name Strings
+
+ GL_CHROMIUM_copy_texture
+
+Version
+
+ Last Modifed Date: April 3, 2012
+
+Dependencies
+
+ OpenGL ES 2.0 is required.
+
+ CHROMIUM_flipy affects the definition of this extension.
+ EXT_texture_format_BGRA8888 affects the definition of this extension.
+
+Overview
+
+ This extension expands on the functionality provided by the
+ glCopyTexImage2D command. A new function is exported,
+ glCopyTextureCHROMIUM, that performs the same copy operation as
+ glCopyTexImage2D, while respecting the pixel-storage modifiers
+ UNPACK_FLIP_Y_CHROMIUM and GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM.
+
+ The extension also supports copying BGRA textures, which is not explicitly
+ granted by EXT_texture_format_BGRA8888.
+
+New Procedures and Functions
+
+ void glCopyTextureCHROMIUM (GLenum target, GLenum source_id,
+ GLenum dest_id, GLint level)
+
+ 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.
+
+ <target> uses the same parameters as TexImage2D.
+
+ INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D.
+
+ INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture
+ objects.
+
+ INVALID_VALUE is generated if <level> is not a valid level of the
+ destination texture, or if level 0 of the source texture is not defined.
+
+Errors
+
+ None.
+
+New Tokens
+
+ None.
+
+New State
+
+ None.
+
+Revision History
+
+ 8/1/2011 Documented the extension
Property changes on: gpu\GLES2\extensions\CHROMIUM\CHROMIUM_copy_texture.txt
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698