-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layers: Don't pre-query surface attributes during creation
Some of the calls to get surface capabilities, formats or presentation modes are very slow in some implementations. Revert back to caching results made by the application, but store them in SURFACE_STATE rather than PHYSICAL_DEVICE_STATE. The original code assumed that the same results would apply to all surfaces, which doesn't appear to be true.
- Loading branch information
1 parent
4c86ff6
commit fc8d7f9
Showing
5 changed files
with
222 additions
and
69 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.