Skip to content
Snippets Groups Projects
Commit 26d87582 authored by Emircan Uysaler's avatar Emircan Uysaler Committed by CQ bot account: commit-bot@chromium.org
Browse files

[scenic] Fix multiple present checks in BaseView

BaseView::PresentScene() expects single call in a vsync, but BaseView::Present()
can queue multiple calls, i.e. simplest_app example. For the following calls, it
is OK to skip as they will fall into the same vsync interval. This CL removes
the checks for that case.
However, this check would make sense for InvalidateScene() driven updates, so
I noted that we should bring it back when that is the only option.

SCN-1379 #done

Change-Id: Ie3e662248d82d480fe2f2d04a955f635b3eecf39
parent 94a95815
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment