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

Unified Diff: content/browser/renderer_host/image_transport_factory_android.h

Issue 11234008: Enable texture readback support for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to remove local GLHelper from a method Created 8 years, 2 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/browser/renderer_host/image_transport_factory_android.h
diff --git a/content/browser/renderer_host/image_transport_factory_android.h b/content/browser/renderer_host/image_transport_factory_android.h
index 42855c7346d5007ec2962a3474162a7654bb0008..f4b7a6264d74415ed16b336b1dbde7b1f9c12cb8 100644
--- a/content/browser/renderer_host/image_transport_factory_android.h
+++ b/content/browser/renderer_host/image_transport_factory_android.h
@@ -8,10 +8,16 @@
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
+namespace WebKit {
+ class WebGraphicsContext3D;
+}
+
class WebGraphicsContext3DCommandBufferImpl;
namespace content {
+class GLHelper;
+
class ImageTransportFactoryAndroid {
public:
ImageTransportFactoryAndroid();
@@ -24,9 +30,12 @@ class ImageTransportFactoryAndroid {
uint32_t InsertSyncPoint();
- WebGraphicsContext3DCommandBufferImpl* GetContext3D();
+ WebKit::WebGraphicsContext3D* GetContext3D();
+ GLHelper* GetGLHelper();
+
private:
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context_;
+ scoped_ptr<GLHelper> gl_helper_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698