OSDN Git Service

Don't change the framebuffer target until we render a new one
authorJesse Hall <jessehall@google.com>
Thu, 7 Nov 2013 20:28:26 +0000 (12:28 -0800)
committerJesse Hall <jessehall@google.com>
Thu, 7 Nov 2013 20:37:13 +0000 (12:37 -0800)
commit14e8b01a761180250671f3d6494532d8bd04fa8e
treea6e2abb793b7eb6df4f9d02f16e0e91aa2a13686
parent356c23865d588659f1eea55bbe7e2b16b9cff08e
Don't change the framebuffer target until we render a new one

Continuing to send the last-rendered framebuffer to HWC on subsequent
frames allows the HWC to read partially-composed regions that haven't
changed, instead of re-composing from scratch.

Bug: 11573910
Change-Id: I8829877d2a06001f1e1b3f168cbba71c7b217b2d
services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp