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 6aaa2130c6691f814bb264c38642fef9f8b9f0ce..2bec50fa949874465c82d01315904d50ceacc33e 100644 |
--- a/content/public/browser/android/synchronous_compositor.h |
+++ b/content/public/browser/android/synchronous_compositor.h |
@@ -63,6 +63,11 @@ class CONTENT_EXPORT SynchronousCompositor { |
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 |