summaryrefslogtreecommitdiffstats
path: root/services/inputflinger
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2014-07-17 19:36:08 +0100
committerSteve Kondik <steve@cyngn.com>2015-10-17 13:58:36 -0700
commitb87c4564313c180a10f96120ec53d481f354b010 (patch)
tree42a359c905ed81119847c640aa63829e8e1645d6 /services/inputflinger
parent00888b7eeec5b01f071124b64a479e9eadf668f2 (diff)
downloadframeworks_native-b87c4564313c180a10f96120ec53d481f354b010.zip
frameworks_native-b87c4564313c180a10f96120ec53d481f354b010.tar.gz
frameworks_native-b87c4564313c180a10f96120ec53d481f354b010.tar.bz2
surfaceflinger: Track the last surfaceview frame for latency dumps
When measuring GL latency with dumpsys, it's possible to hit a race condition if the hardware is fast enough to complete rendering the test cycle before the latency dump is requested, since it only matches the latency for live layers (unless it's an animation. See change I8bded1ea08a4cddefef0aa955401052bb9107c90) So always save a reference to the last rendered SurfaceView frame, and dump its values if there isn't an active one. Change-Id: I740e9830161396ea955b5a53322bd8576b5136bc
Diffstat (limited to 'services/inputflinger')
0 files changed, 0 insertions, 0 deletions