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

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: Rebased 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 329d14858e9dd9919da203596aa77289275dd36b..34d9a584f381c0a3a97414e5fd8a8c4a4d3c7cd8 100644
--- a/content/browser/renderer_host/image_transport_factory_android.h
+++ b/content/browser/renderer_host/image_transport_factory_android.h
@@ -8,7 +8,12 @@
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
+namespace WebKit {
+ class WebGraphicsContext3D;
+}
+
namespace content {
+class GLHelper;
class WebGraphicsContext3DCommandBufferImpl;
class ImageTransportFactoryAndroid {
@@ -23,9 +28,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