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

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

Issue 12212007: cc: Route offscreen context creation for compositor to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Back to a single OffscreenContext class Created 7 years, 10 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/compositor_impl_android.h
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h
index a3b728e559b9098c8a3b8a100bcf79dcf5a877d6..e6ca586c70dc47b2500f3e5ed96bbc2075c16562 100644
--- a/content/browser/renderer_host/compositor_impl_android.h
+++ b/content/browser/renderer_host/compositor_impl_android.h
@@ -70,6 +70,12 @@ class CONTENT_EXPORT CompositorImpl
virtual void applyScrollAndScale(gfx::Vector2d scrollDelta,
float pageScale) OVERRIDE;
virtual scoped_ptr<cc::OutputSurface> createOutputSurface() OVERRIDE;
+ virtual WebKit::WebGraphicsContext3D* OffscreenContext3dForMainThread()
+ OVERRIDE;
+ virtual WebKit::WebGraphicsContext3D* OffscreenContext3dForCompositorThread()
+ OVERRIDE;
+ virtual GrContext* OffscreenGrContextForMainThread() OVERRIDE;
+ virtual GrContext* OffscreenGrContextForCompositorThread() OVERRIDE;
virtual scoped_ptr<cc::InputHandler> createInputHandler() OVERRIDE;
virtual void didRecreateOutputSurface(bool success) OVERRIDE;
virtual void willCommit() OVERRIDE {}

Powered by Google App Engine
This is Rietveld 408576698