OSDN Git Service

HWC2: Add properties to revert latching changes
authorDan Stoza <stoza@google.com>
Wed, 20 Jul 2016 22:38:12 +0000 (15:38 -0700)
committerSteve Pfetsch <spfetsch@google.com>
Thu, 21 Jul 2016 02:19:42 +0000 (19:19 -0700)
commitc5da271eec001da9e11a2786f2618a45257439c3
tree223acc4d11040d2e5db1983477c8f5d49ae65f5e
parent90093ba0191066d68b218fe344835c03db96cfa6
HWC2: Add properties to revert latching changes

Adds two properties:

debug.sf.latch_unsignaled - This causes SurfaceFlinger to latch
  buffers even if their fences haven't signaled
debug.sf.disable_backpressure - This causes SurfaceFlinger to skip
  propagating backpressure back to apps by not running when it
  detects that a prior composition missed hardware vsync

Bug: 30216498
Change-Id: Idd70f472ec567a4bc03352f30f201f434cf5d660
services/surfaceflinger/Layer.cpp
services/surfaceflinger/Layer.h
services/surfaceflinger/SurfaceFlinger.cpp
services/surfaceflinger/SurfaceFlinger.h