OSDN Git Service

Add a boardconfig to force HWC composition of virtual displays
authorNaseer Ahmed <naseer@codeaurora.org>
Fri, 4 Oct 2013 20:15:22 +0000 (16:15 -0400)
committerJesse Hall <jessehall@google.com>
Thu, 17 Oct 2013 20:57:58 +0000 (13:57 -0700)
commit6a968462f9ce4d93d81fcc13672073e3e6eb2e0f
tree69b3a90aa86a55a4aeba9610ee392a6a5969eba0
parent1e27ba234c5bfd4f6535ee221a6c20407a50f868
Add a boardconfig to force HWC composition of virtual displays

When this boardconfig is defined, even when all virtual display
composition is done by GLES, the HWC will be forced to copy from the
GLES framebuffer to the output buffer. On some hardware this allows
HWC to do format conversions that would otherwise have to be done by
the consumer, with worse power and/or performance.

Bug: 8316155
Change-Id: If980ecc589f138cef063eafa757f7f748196713e
services/surfaceflinger/Android.mk
services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp