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

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

Issue 1551143002: Remove the "target" argument from CopyTextureChromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error. Created 4 years, 12 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 | « content/renderer/media/android/webmediaplayer_android.cc ('k') | gpu/GLES2/gl2extchromium.h » ('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
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
index 101c0f6491d16f4d01d8d7c79b2e39942ea021cc..5e15d3ad5d8bf436e0cb8dcb202fae380c9686bf 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
@@ -33,7 +33,7 @@ New Procedures and Functions
The command
- void glCopyTextureCHROMIUM (GLenum target, GLenum source_id,
+ void glCopyTextureCHROMIUM (GLenum source_id,
GLenum dest_id,
GLint internal_format, GLenum dest_type,
GLboolean unpack_flip_y,
@@ -70,8 +70,6 @@ New Procedures and Functions
The format type of the destination texture is converted to that specified
by <dest_type>.
- <target> uses the same parameters as TexImage2D.
-
If <flip_y> is true, vertically flip texture image data.
If <unpack_premultiply_alpha> and <unpack_unmultiply_alpha> are true,
@@ -84,8 +82,6 @@ New Procedures and Functions
INVALID_OPERATION is generated if the internal format of <source_id> is not one of
formats from the table above.
- 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.
@@ -100,7 +96,7 @@ New Procedures and Functions
The command
- void glCopySubTextureCHROMIUM (GLenum target, GLenum source_id,
+ void glCopySubTextureCHROMIUM (GLenum source_id,
GLenum dest_id,
GLint xoffset, GLint yoffset,
GLint x, GLint y,
@@ -112,7 +108,7 @@ New Procedures and Functions
Copies the sub contents of texture referred to by <source_id> to <dest_id>
texture without redefining <dest_id> texture.
- See CopyTextureCHROMIUM for the interpretation of the <target>, <flip_y>,
+ See CopyTextureCHROMIUM for the interpretation of the <flip_y>,
<premultiply_alpha>, and <unmultiply_alpha> arguments.
<xoffset> and <yoffset> specify a texel offset in the x and y direction
@@ -128,8 +124,6 @@ New Procedures and Functions
INVALID_OPERATION is generated if source internal_format and destination
internal_format are not one of the valid formats described above.
- INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D.
-
INVALID_OPERATION is generated if the destination texture has not been
defined.
@@ -170,3 +164,4 @@ Revision History
16/7/2014 Add GL_TEXTURE_RECTANGLE_ARB as valid source_id target
19/6/2015 Add arguments unpack_flip_y, unpack_premultiply_alpha, and
unpack_unmultiply_alpha to both commands.
+ 4/1/2016 Removed the argument target.
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698