-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve FrameSkipper when disregarding skipping
It is legal for the app to draw a frame even when FrameSkipper detects that a frame should be skipped. In that case we used to overwrite the most recent fence, but this wasn't ideal. We now proceed as if the fence had signaled, i.e. we destroy it and move all the fences up, creating a new one at the end of the delayed array.
- Loading branch information
1 parent
b70aa43
commit 3351db1
Showing
2 changed files
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters