-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Virt Swapchain: improvements, esp. for standalone (#211)
Some improvements to the Virtual Swapchain layer, especially for standalone use (i.e. outside replay). * Support Android properties instead of environment variables on Android. * Add `VIRTUAL_SWAPCHAIN_SURFACE_EXTENT` parameter to set the default surface extent (width and height); without this, apps are likely to request a swapchain with `UINT_MAX` width and height, which will fail. * `vkQueuePresentKHR`: set `pPresentInfo->pResults` if needed; without this, apps may think `vkQueuePresentKHR` always fails. * Add some logging on failures; uses `__android_log_print` on Android, and `std::cerr` otherwise.
- Loading branch information
1 parent
3a4bd74
commit f3b6ffd
Showing
5 changed files
with
210 additions
and
44 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
Oops, something went wrong.