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

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: Put OffscreenContext class in content/common/gpu/client for renderer 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..a3da75f6ce00f193d9fbdb89af2f0f8db60d6dbf 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