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

Unified Diff: content/public/browser/android/synchronous_compositor.h

Issue 389973005: Merge 280970 "Add switch to disable recording whole document" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 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
===================================================================
--- content/public/browser/android/synchronous_compositor.h (revision 283005)
+++ content/public/browser/android/synchronous_compositor.h (working copy)
@@ -63,6 +63,11 @@
static void SetGpuService(
scoped_refptr<gpu::InProcessCommandBuffer::Service> service);
+ // By default, synchronous compopsitor records the full layer, not only
+ // what is inside and around the view port. Call this on start up to revert
+ // to default behavior when synchronous compositor is not used.
+ static void DisableRecordFullLayer();
+
// Synchronously initialize compositor for hardware draw. Can only be called
// while compositor is in software only mode, either after compositor is
// first created or after ReleaseHwDraw is called. It is invalid to

Powered by Google App Engine
This is Rietveld 408576698