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

Unified Diff: public/platform/WebGraphicsContext3D.h

Issue 1152723002: Adding |x|, |y|, |width| and |height| parameters copySubTextureCHROMIUM in WebGraphicsContext3D. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebGraphicsContext3D.h
diff --git a/public/platform/WebGraphicsContext3D.h b/public/platform/WebGraphicsContext3D.h
index 22fdb68ac3ad356d9f1cd8673e8bca6642bbb7c6..681b562bbe9b393b92832dff38235e7d3932a27f 100644
--- a/public/platform/WebGraphicsContext3D.h
+++ b/public/platform/WebGraphicsContext3D.h
@@ -399,6 +399,11 @@ public:
virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
WGC3Duint destId, WGC3Denum internalFormat, WGC3Denum destType) { }
virtual void copySubTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
+ WGC3Duint destId, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dint x,
+ WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) { }
+ // TODO(reveman): Remove method without |x|, |y|, |width|, |height|.
+ // crbug.com/490889
+ virtual void copySubTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
WGC3Duint destId, WGC3Dint xoffset, WGC3Dint yoffset) { }
// GL_CHROMIUM_shallow_flush
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698