OSDN Git Service

Set the swap interval of virtual display surfaces to 0
authorJesse Hall <jessehall@google.com>
Wed, 7 Aug 2013 00:08:53 +0000 (17:08 -0700)
committerJesse Hall <jessehall@google.com>
Wed, 7 Aug 2013 02:32:02 +0000 (19:32 -0700)
commitf460f55c84b0a75de749b8a784059f5ff423ed93
tree805bc16c678d80866c4c7746a58b4dae8e7be19a
parent687821c05b5a85db1b172e7599861c803d268a8d
Set the swap interval of virtual display surfaces to 0

This prevents slow/malicious virtual display consumers from
backpressuring SurfaceFlinger and preventing it from updating other
displays.

Bug: 10193714
Change-Id: I3e877d97202628d2d9abea24b66576f38299c14d
services/surfaceflinger/DisplayDevice.cpp
services/surfaceflinger/DisplayDevice.h