diff options
| author | 2015-07-06 12:56:50 -0700 | |
|---|---|---|
| committer | 2015-07-06 13:15:25 -0700 | |
| commit | 0eb2d398669bf11207c0fb22b11439250da0c8dc (patch) | |
| tree | dda1c1aff43320bb0320796a9b01bcf8888eddd5 /libs/ui/FramebufferNativeWindow.cpp | |
| parent | 56105b2f72761dec62699db5d61570971fdf6580 (diff) | |
SF: Ignore PTS more than one second in the future
Some of this logic already existed, but when we optimized
SurfaceFlinger to avoid unnecessary wake-ups, we didn't carry the logic
over into the new readiness test. shouldPresentNow now returns true if
the timestamp is more than a second in the future (since it's likely a
bogus timestamp and should be ignored).
Bug: 21932760
Change-Id: Ib50970a4eb621588c0b60766c8d8d1a8bddf853b
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions