diff options
| author | Dan Stoza <stoza@google.com> | 2015-07-06 12:56:50 -0700 |
|---|---|---|
| committer | Dan Stoza <stoza@google.com> | 2015-07-06 13:15:25 -0700 |
| commit | 0eb2d398669bf11207c0fb22b11439250da0c8dc (patch) | |
| tree | dda1c1aff43320bb0320796a9b01bcf8888eddd5 /opengl/tests/gl_basic/gl_basic.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 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
