Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libgui|GLFramebuffer: Stereo left/right swap mode
Even though rendering always happens in Canvas’s GL frame buffer, VR mode 13 should now theoretically work as GLFramebuffer can be told to use a different swap mode for the left/right frames. In practice, the “left” swap mode draws the contents of the Canvas frame buffer into the window’s BACK_LEFT buffer; same goes for the “right” swap mode. The “stereo” swap will then simply do a regular back-to-front swap with the finished contents.
- Loading branch information
Showing
6 changed files
with
111 additions
and
51 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
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
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