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

Unified Diff: content/common/gpu/client/gl_helper.h

Issue 11558039: Subrect snapshot support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved capture to the readback method Created 8 years 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: content/common/gpu/client/gl_helper.h
diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h
index c7f161bb3a215ca7ef400b8bd0620e5d79adefa3..22f466295efd2035c3090e730238a8b8f8eea177 100644
--- a/content/common/gpu/client/gl_helper.h
+++ b/content/common/gpu/client/gl_helper.h
@@ -50,7 +50,7 @@ class GLHelper {
// GL_UNSIGNED_BYTE. This is a blocking call that calls glReadPixels on this
// current context.
void ReadbackTextureSync(WebKit::WebGLId texture,
- const gfx::Size& size,
+ const gfx::Rect& src_rect,
unsigned char* out);
// Creates a copy of the specified texture. |size| is the size of the texture.

Powered by Google App Engine
This is Rietveld 408576698