vulkano/examples
Austin Johnson 18189e0724
implement exclusive fullscreen (#1310)
* implement exclusive fullscreen

* fullscreen ext should be device ext

* add acquire/release

* require VK_KHR_get_surface_capabilities2

* fullscreen_exclusive is now an enum; explicit acquire/release methods added; FullscreenExclusiveError added to handle errors; FullscreenExclusiveLost varients added to acquire and present related errors

* add checks for double acquire/release; require AppControlled for acquire/release functions

* update examples and tests; resolve issue with try_gpu_lock() on SwapchainImage; update changelogs
2020-02-04 18:57:16 -06:00
..
src implement exclusive fullscreen (#1310) 2020-02-04 18:57:16 -06:00
Cargo.toml upgrade winit to 0.20 and cocoa to 0.20 2020-01-23 01:37:12 -06:00
readme.md Copy examples from example repo (#1023) 2018-08-30 11:37:51 +10:00
triangle.png update travis config to prevent timeouts (#1261) 2019-10-27 11:58:32 -05:00

Examples

These examples use unreleased functionality of vulkano. For a snapshot of the examples at the latest vulkano release take a look at the examples repository

Running the examples:

cargo run --bin <example>

Example:

cargo run --bin triangle

If you want to compare performances with other libraries, you should pass the --release flag as well. Rust is pretty slow in debug mode.