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

Unified Diff: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h

Issue 7566046: Add WebGraphicsContext support for readbacks from any framebuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h b/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h
index e538a4564e5863a12ac1aa3ffcb62af8c1a6da2e..bb99f732a7889566117119587d2e232730569b34 100644
--- a/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h
@@ -69,6 +69,8 @@ class WebGraphicsContext3DCommandBufferImpl
virtual void reshape(int width, int height);
virtual bool readBackFramebuffer(unsigned char* pixels, size_t buffer_size);
+ virtual bool readBackFramebuffer(unsigned char* pixels, int width, int height,
+ size_t buffer_size, WebGLId framebuffer);
Ken Russell (switch to Gerrit) 2011/08/04 22:55:07 I would have organized these arguments differently
jbauman 2011/08/04 23:20:21 Yeah, I guess that organization makes more sense.
virtual WebGLId getPlatformTextureId();
virtual void prepareTexture();

Powered by Google App Engine
This is Rietveld 408576698