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 |