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

Unified Diff: ui/compositor/compositor.h

Issue 251343002: Remove offscreen compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-offscreencontext: include Created 6 years, 8 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 | « mojo/examples/compositor_app/compositor_host.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 3a1530b37f0b12673e7538969783127b209a64a1..044822c5d70b398a89e1b9b7b499e25ef1d820be 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -82,16 +82,8 @@ class COMPOSITOR_EXPORT ContextFactory {
// Removes the reflector, which stops the mirroring.
virtual void RemoveReflector(scoped_refptr<Reflector> reflector) = 0;
- // Returns a reference to the offscreen context provider used by the
- // compositor. This provider is bound and used on whichever thread the
- // compositor is rendering from.
- virtual scoped_refptr<cc::ContextProvider>
- OffscreenCompositorContextProvider() = 0;
-
// Return a reference to a shared offscreen context provider usable from the
- // main thread. This may be the same as OffscreenCompositorContextProvider()
- // depending on the compositor's threading configuration. This provider will
- // be bound to the main thread.
+ // main thread.
virtual scoped_refptr<cc::ContextProvider>
SharedMainThreadContextProvider() = 0;
@@ -233,8 +225,6 @@ class COMPOSITOR_EXPORT Compositor
virtual void DidCommit() OVERRIDE;
virtual void DidCommitAndDrawFrame() OVERRIDE;
virtual void DidCompleteSwapBuffers() OVERRIDE;
- virtual scoped_refptr<cc::ContextProvider>
- OffscreenContextProvider() OVERRIDE;
// cc::LayerTreeHostSingleThreadClient implementation.
virtual void ScheduleComposite() OVERRIDE;
« no previous file with comments | « mojo/examples/compositor_app/compositor_host.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698