Revert "[fuchsia] Do not Execute paint tasks when there is no vsync (#14298)" (flutter/engine#14541)

This reverts commit d140623043.
This commit is contained in:
Lau Ching Jun
2019-12-17 17:27:02 -08:00
committed by Kaushik Iska
parent 0816c6cd25
commit 4cdc58e2dc

View File

@@ -63,14 +63,14 @@ void SessionConnection::Present(
ToggleSignal(vsync_event_handle_, false);
} else {
PresentSession();
// Execute paint tasks and signal fences.
auto surfaces_to_submit = scene_update_context_.ExecutePaintTasks(frame);
// Tell the surface producer that a present has occurred so it can perform
// book-keeping on buffer caches.
surface_producer_->OnSurfacesPresented(std::move(surfaces_to_submit));
}
// Execute paint tasks and signal fences.
auto surfaces_to_submit = scene_update_context_.ExecutePaintTasks(frame);
// Tell the surface producer that a present has occurred so it can perform
// book-keeping on buffer caches.
surface_producer_->OnSurfacesPresented(std::move(surfaces_to_submit));
}
void SessionConnection::OnSessionSizeChangeHint(float width_change_factor,