forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wolvic: Break down processing frame code in separated methods
This breaks down the processing frame state in a new method, DrawFrameSubmitNow. This also makes sure (by DCHECKing) that when OnWebXrFrameAvailable runs, the frame arriving is still in the processing state and guaranteeing the correct order functioning as defined by WebXrPresentationState. Besides, it removes an unused member of the main class (last_frame_index_).
- Loading branch information
1 parent
ee600a4
commit d64ce0e
Showing
2 changed files
with
36 additions
and
22 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