diff options
| author | 2020-06-16 09:07:35 -0700 | |
|---|---|---|
| committer | 2020-06-16 10:01:03 -0700 | |
| commit | b340b734c747d69abd476f9af44848db9bc8d38e (patch) | |
| tree | 255df7632fd1495ccbaf61b8bc515e162d07af05 /opengl/libagl/array.cpp | |
| parent | c8cdfef832c58b7ddcca8e7debf3c05d19ad6ad8 (diff) | |
SF: avoid rearming Timer during cancel
Averts a rare race condition by which a callback would be moved back a
vsync period inappropriately by rearming the callback-dispatching timer
only when the next-up callback was the one that was cancelled.
This was an analagous problem (but through the cancel() path) to
I0e7e2e3698ed6d1765082db20d9cf25f6e6c2db2
Test: 2 new unit tests
Test: boot to home, inspect for problems
Test: dogfood patch on device
Test: A/B uibench sanity check
Fixes: 154303580
Change-Id: I02b2ba12623ac683d9b1c592fdc35e7c7494261a
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions