Skip to content

Commit

Permalink
Revert "[fuchsia] Do not Execute paint tasks when there is no vsync (#…
Browse files Browse the repository at this point in the history
…14298)" (#14541)

This reverts commit 6430ecf.
  • Loading branch information
chingjun authored and iskakaushik committed Dec 18, 2019
1 parent fad8665 commit 07429c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions shell/platform/fuchsia/flutter/session_connection.cc
Expand Up @@ -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);
// 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));
}
// 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,
Expand Down

0 comments on commit 07429c1

Please sign in to comment.