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

Unified Diff: content/public/browser/android/synchronous_compositor.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
Index: content/public/browser/android/synchronous_compositor.h
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
index afe49cdd5cdc078ae2b54352350afff3f3cf7035..781071b1a79cb9e7b9367ddc2ea192b6c9367a4c 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -50,6 +50,10 @@ class CONTENT_EXPORT SynchronousCompositor {
// behavior.
static void SetRecordFullDocument(bool record_full_document);
+ // Turn on using ipc-based command buffer at run time. This should be removed
+ // once this feature is fully launched.
+ static void SetUseIpcCommandBuffer();
+
// "On demand" hardware draw. The content is first clipped to |damage_area|,
// then transformed through |transform|, and finally clipped to |view_size|.
virtual scoped_ptr<cc::CompositorFrame> DemandDrawHw(

Powered by Google App Engine
This is Rietveld 408576698