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

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

Issue 23234003: Support stream textures with the synchronous compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android clang 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
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 234a0337c47ed3e072f0d9b66ccb94d16cf72e51..bd625be9cfe917f7130f1669a3cfb888ec59a4f5 100644
--- a/content/renderer/android/synchronous_compositor_factory.h
+++ b/content/renderer/android/synchronous_compositor_factory.h
@@ -20,6 +20,7 @@ class OutputSurface;
namespace content {
class InputHandlerManagerClient;
+class StreamTextureFactory;
// Decouples creation from usage of the parts needed for the synchonous
// compositor rendering path. In practice this is only used in single
@@ -44,6 +45,8 @@ class SynchronousCompositorFactory {
GetOffscreenContextProviderForMainThread() = 0;
virtual scoped_refptr<cc::ContextProvider>
GetOffscreenContextProviderForCompositorThread() = 0;
+ virtual scoped_ptr<StreamTextureFactory> CreateStreamTextureFactory(
+ int view_id) = 0;
protected:
SynchronousCompositorFactory() {}

Powered by Google App Engine
This is Rietveld 408576698