OSDN Git Service

Don't run large virtual displays through HWC
authorDan Stoza <stoza@google.com>
Wed, 15 Oct 2014 23:34:55 +0000 (16:34 -0700)
committerDan Stoza <stoza@google.com>
Tue, 28 Oct 2014 23:01:47 +0000 (16:01 -0700)
commit1f3efb11ff8c884a254f4272f0d1ee0b77ceff2f
treef424d3d9d1c1cf5a7f63794e8d2b868fb74e8007
parent70ec2941530766bdca09ef2983a3ff794c028ee6
Don't run large virtual displays through HWC

This change watches for a MAX_VIRTUAL_DISPLAY_DIMENSION value, which
will be set (if necessary) in BoardConfig.mk. If the value is set,
any virtual displays that have a width or a height greater than that
dimension will bypass the hardware composer HAL and be handled only
by SurfaceFlinger.

Bug: 17701816
Change-Id: Ia6ca44dfd6a7a9bc0f054493d3f13006bc32fa14
services/surfaceflinger/Android.mk
services/surfaceflinger/SurfaceFlinger.cpp