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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.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: Remove the GrContextProvider::ScopedContexts guard classes 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: webkit/compositor_bindings/web_layer_tree_view_impl.h
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.h b/webkit/compositor_bindings/web_layer_tree_view_impl.h
index de6b6aeacfd090f387f05044576d98d3f2c00ff8..70bff3e0f224f01880df31ff15dbbfb884ca9c1c 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.h
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.h
@@ -70,6 +70,11 @@ public:
virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale) 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 void DestroyOffscreenContext3dForCompositorThread() 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