SurfaceFlinger: Layer::shouldPresentNow should consider early frames
Move the decision whether to latch a buffer or not based on the expected present time (that is whether a frame is considered too early or out of vsync phase) from Layer::latchBuffer to Layer::shouldPresentNow as the code assumes that Layer::latchBuffer would not fail based on the expected present. Bug: 176755514 Bug: 176416352 Test: atest CtsViewTestCases:android.view.cts.ASurfaceControlTest Test: atest FrameRateOverrideHostTest Change-Id: Ib83bda41c824549011f12fa5414263c8b03032e4
Loading
Please register or sign in to comment