ash/ash-window
Benjamin Saunders aa7b429f4f
Support linking Vulkan directly (#457)
* Mark EntryCustom::new_custom as unsafe

Passing a badly-behaved `load` function can invoke undefined behavior.

* Document required feature for Entry

* Support linking Vulkan directly

This is the preferred pattern in most environments when an application
cannot function without Vulkan, as it saves the libloading dependency,
eliminates an error case, and makes the Vulkan dependency visible to
the OS.

* Rename libloading feature to "loaded"

* Link by default

* Guide users towards linking the loader directly

* Remove unnecessary error type

InstanceError::LoadError was never constructed.

* Unify entry types

Simplifies the interface and allows a bunch of code to become
monomorphic.
2021-09-09 22:50:34 +02:00
..
examples Support linking Vulkan directly (#457) 2021-09-09 22:50:34 +02:00
src Support linking Vulkan directly (#457) 2021-09-09 22:50:34 +02:00
Cargo.toml Update changelog and prepare for ash-0.33 and ash-window-0.7 release (#460) 2021-07-30 15:22:29 +02:00
Changelog.md Update changelog and prepare for ash-0.33 and ash-window-0.7 release (#460) 2021-07-30 15:22:29 +02:00
LICENSE-APACHE Adds LICENSE-* files to crate subdirectories (#452) 2021-07-09 12:21:15 +02:00
LICENSE-MIT Adds LICENSE-* files to crate subdirectories (#452) 2021-07-09 12:21:15 +02:00
README.md Bump version in README.md (#473) 2021-09-03 10:15:16 +02:00

Ash-window

Interoperability between ash and raw-window-handle for surface creation.

Crates.io Version Documentation Build Status LICENSE LICENSE Join the chat at https://gitter.im/MaikKlein/ash-window

Usage

ash-window = "0.7"

The library exposes two functions:

Versions

ash = "0.33"
raw-window-handle = "0.3"

Support

  • Windows (VK_KHR_win32_surface)
  • Unix (VK_KHR_xlib_surface/VK_KHR_xcb_surface/VK_KHR_wayland_surface)
  • MacOS/IOS (VK_EXT_metal_surface)
  • Android (VK_KHR_android_surface)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any Contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.