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

Unified Diff: content/renderer/gpu/render_widget_compositor.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/renderer/gpu/render_widget_compositor.h
diff --git a/content/renderer/gpu/render_widget_compositor.h b/content/renderer/gpu/render_widget_compositor.h
index 40ce9da9d855615f2fd876cdb57e55e93b54656a..eaef49ecf4891741c0b45e0f1245cfe49d4fe30d 100644
--- a/content/renderer/gpu/render_widget_compositor.h
+++ b/content/renderer/gpu/render_widget_compositor.h
@@ -77,6 +77,12 @@ class RenderWidgetCompositor : public WebKit::WebLayerTreeView,
float page_scale) OVERRIDE;
virtual scoped_ptr<cc::OutputSurface> createOutputSurface() OVERRIDE;
virtual void didRecreateOutputSurface(bool success) 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 willCommit() OVERRIDE;
virtual void didCommit() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698