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

Unified Diff: content/renderer/android/synchronous_compositor_factory.h

Issue 16235005: Add ContextProvider overrides to SynchronousCompositorFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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/android/synchronous_compositor_factory.h
diff --git a/content/renderer/android/synchronous_compositor_factory.h b/content/renderer/android/synchronous_compositor_factory.h
index 9c8fdce2e08f6428cd31e729a7dabd3e8396b447..1e47770929078ff769ced326f68159fed4149404 100644
--- a/content/renderer/android/synchronous_compositor_factory.h
+++ b/content/renderer/android/synchronous_compositor_factory.h
@@ -14,6 +14,7 @@ class MessageLoopProxy;
namespace cc {
class OutputSurface;
+class ContextProvider;
joth 2013/06/07 17:41:18 alpha order
}
namespace content {
@@ -34,6 +35,11 @@ class SynchronousCompositorFactory {
virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
int routing_id) = 0;
+ virtual scoped_refptr<cc::ContextProvider>
+ GetOffscreenContextProviderForMainThread() = 0;
+ virtual scoped_refptr<cc::ContextProvider>
+ GetOffscreenContextProviderForCompositorThread() = 0;
+
protected:
SynchronousCompositorFactory() {}
~SynchronousCompositorFactory() {}

Powered by Google App Engine
This is Rietveld 408576698