-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the canonical Qt Quick way of enabling MSAA and fixes "Framebuffer incomplete" errors when using the OpenGL RHI backend Now the user can enable MSAA by using QSurfaceFormat: QSurfaceFormat f; f.setSamples(4); QSurfaceFormat::setDefaultFormat(f); MSAA is switched off by setting the sample number to 1. If the platform doesn't support MSAA, the internal SMAA postprocessing code path can still be used (but this code path comes with a slightly performance penalty); postprocessingMode: RiveQtQuickItem.SMAA // in QML
- Loading branch information
1 parent
e978abe
commit c7ca607
Showing
5 changed files
with
94 additions
and
13 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