Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor|Cleanup|libgui: Cleaning up Canvas/CanvasWindow and window i…
…nit/drawing Cutting down on the cruft. The Qt 5 OpenGL APIs allow for a cleaner implementation of window initialization and refresh. The "frame swapped" signal is particularly helpful. Using an audience for drawing the window contents is not the best idea because the order of audience callbacks is unspecified. Now the draw() method is a simple virtual method call back to the parent CanvasWindow. GLInfo now checks for the EXT_timer_query extension.
- Loading branch information
Showing
10 changed files
with
81 additions
and
436 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
Oops, something went wrong.