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

Unified Diff: ui/compositor/compositor.h

Issue 20185002: ContextProvider in OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: contextprovider: don't access Context3d() in OutputSurface contructors, it's not bound yet Created 7 years, 4 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index bc97dbafd6a4fdb0b4907ac99ff48075a661df81..1230c3330fca5eb0f9916d19f11e5fe155a44af8 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -53,6 +53,7 @@ class WebGraphicsContext3D;
namespace webkit {
namespace gpu {
class ContextProviderInProcess;
+class WebGraphicsContext3DInProcessCommandBufferImpl;
}
}
@@ -133,6 +134,9 @@ class COMPOSITOR_EXPORT DefaultContextFactory : public ContextFactory {
bool Initialize();
private:
+ static scoped_ptr<webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl>
+ CreateViewContext(Compositor* compositor);
+
scoped_refptr<webkit::gpu::ContextProviderInProcess>
offscreen_contexts_main_thread_;
scoped_refptr<webkit::gpu::ContextProviderInProcess>
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698