diff options
| author | 2019-04-24 15:16:05 -0700 | |
|---|---|---|
| committer | 2019-05-15 11:21:05 -0700 | |
| commit | 016b8dd5e5dc237f09f1081c73a208c5572e1223 (patch) | |
| tree | 39aed47619be3e73f9623b13010a664202aa3375 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | dc28b3706b61ba1326658d96400fe55faf3dcb3e (diff) | |
When building dispsync model, only callback on observed vsync + offset.
Only when hw vsyncs are turned off should we attempt to predict when
vsyncs should be. Otherwise, if we are in 90hz mode, and observe 16.6ms
vsyncs (60hz) because the display driver detected inactivity and dropped
down to 60hz, then we might dispatch early callbacks. This change
prevents those early callbacks from being dispatched.
Bug: 130684082
Test: systrace
Change-Id: I02bfd22beb00ddbe344c29722581217ad00a96af
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions