commit | 7143316af216fa92c31a60d4407b707637382da1 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Tue Feb 04 16:22:36 2014 -0800 |
committer | Dan Stoza <stoza@google.com> | Tue Feb 04 16:46:54 2014 -0800 |
tree | 947490d7fc78fe0897dee344f972107fd3423166 | |
parent | 1d41d5d82c0654313b33d45c7b8943eeba13469e [diff] [blame] |
Fix virtual display nesting This fixes the cycling rendering loop caused by nesting virtual displays by preventing them from recomposing if their contents haven't changed. Bug: 12101046 Change-Id: I600365c0fd5d3ad93e04295d26cf9de177ffc79b
diff --git a/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp b/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp index 8c634ed..0f34764 100644 --- a/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp +++ b/services/surfaceflinger/DisplayHardware/FramebufferSurface.cpp
@@ -68,7 +68,7 @@ mConsumer->setDefaultMaxBufferCount(NUM_FRAMEBUFFER_SURFACE_BUFFERS); } -status_t FramebufferSurface::beginFrame() { +status_t FramebufferSurface::beginFrame(bool mustRecompose) { return NO_ERROR; }