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

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

Issue 1272153004: Add glCompressedCopySubTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: xoffset and yoffset should be validated against destination texture Created 5 years, 4 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 be60af22dbbc309713ecfaed153ef25306dbbc0d..f579ddaffae54d95845b1657af85c74adb5c18f1 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt
@@ -136,8 +136,8 @@ New Procedures and Functions
INVALID_VALUE is generated if <xoffset> < 0 , or <yoffset> < 0.
- INVALID_VALUE is generated if (<xoffset> + source_width) > dest_width,
- or (<yoffset> + source_height) > dest_height.
+ INVALID_VALUE is generated if (<xoffset> + <width>) > dest_width,
+ or (<yoffset> + <height>) > dest_height.
Dependencies on ARB_texture_rg

Powered by Google App Engine
This is Rietveld 408576698