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

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

Issue 1253553002: Add switch to use ipc command buffer in Android WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 5 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/public/browser/android/synchronous_compositor.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f6ab2031ca62b8294fc841f1362f668d94a607fe..bb5eabb4f85fb5875af3bf11269c983063b6c998 100644
--- a/content/renderer/android/synchronous_compositor_factory.h
+++ b/content/renderer/android/synchronous_compositor_factory.h
@@ -57,13 +57,17 @@ class SynchronousCompositorFactory {
virtual scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
int routing_id) = 0;
+ virtual scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory(
+ int frame_id) = 0;
+ // Methods below should not be called if OverrideWithFactory is false.
+ // Instead, just fallback to default implementation, as if factory
+ // does not exist.
+ virtual bool OverrideWithFactory();
virtual scoped_refptr<cc_blink::ContextProviderWebContext>
CreateOffscreenContextProvider(
const blink::WebGraphicsContext3D::Attributes& attributes,
const std::string& debug_name) = 0;
- virtual scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory(
- int frame_id) = 0;
virtual gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl*
CreateOffscreenGraphicsContext3D(
const blink::WebGraphicsContext3D::Attributes& attributes) = 0;
« no previous file with comments | « content/public/browser/android/synchronous_compositor.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698