Commit Graph

136 Commits

Author SHA1 Message Date
Austin Johnson
de2ef70a77
Release 0.17 (#1323) 2020-02-09 03:51:32 -06:00
simdimdim
8ef0beaddf
Update to winit 0.21 (#1321) 2020-02-05 23:31:02 -06:00
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
Austin Johnson
56728c565f
build_vk_surface now takes EventLoopWindowTarget instead of EventLoop; added multi-window example (#1303) 2020-01-24 22:09:04 -06:00
Austin Johnson
b95c058f9a
upgrade winit to 0.20 and cocoa to 0.20 2020-01-23 01:37:12 -06:00
Austin Johnson
2e6868a0c0
Downgrade Winit back to 0.19; Release Vulkano 0.16 (#1267)
* fix after revert; release 0.16

* bump shaders version
2019-11-01 10:12:17 -05:00
Austin Johnson
bb8c6cee36
update winit to alpha4; resolve warnings (#1249) 2019-10-24 00:46:40 -07:00
Austin Johnson
8b7ff28022
update metal and cocoa (#1245) 2019-10-19 22:04:47 -05:00
Antonino Siena
2bfed3db8b Support surface creation with winit >= 0.20 (#1239)
* Version change

* Allowed surface creation with winit >= 0.20

* Latest winit version

* Migrate to latest winit

* Migrated all examples to the latest winit version

* Version increment

* Formatting change

* Removed trailing white space

* Corrected method calls

* Missing _ in OSX methods

* Minor version change

* Minor version change
2019-10-18 14:24:20 -05:00
mitchmindtree
814dacdab9
Publish version 0.14.0. (#1230)
This is kind of a delayed emergency release to address an issue where
some Linux distributions (Arch, Void and perhaps others) are unable to
build any projects depending on vulkano-shaders due to
google/shaderc-rs#58. This is resolved in shaderc 0.6 and in turn will
be resolved in vulkano 0.14 thanks to #1226.

See the CHANGELOG-VULKANO.md for more details on the release.
2019-08-18 01:29:40 +02:00
Lucas Kent
e93dff0bd3
Release vulkano 0.13 (#1212) 2019-07-03 07:13:03 +10:00
Lucas Kent
fc6ac6fec1
Fix warnings on nightly (#1213) 2019-07-02 18:25:58 +10:00
mitchmindtree
bb6beb8995 Publish 0.12.0 of vulkano, vulkano-win and vulkano-shaders. (#1203) 2019-05-25 19:29:08 +10:00
Lucas Kent
defa8f8f16
Update winit and crossbeam versions (#1177) 2019-03-12 19:34:03 +11:00
Lucas Kent
9a08414054
Upgrade vulkano-win and vulkano-shaders to rust 2018 (#1134)
* Upgrade vulkano-shaders to rust 2018
* Upgrade vulkano-win to rust 2018
2018-12-11 18:26:04 +11:00
Lucas Kent
0c85863eb7
Release 0.11.1 of vulkano-shaders and vulkano-win (#1120) 2018-11-25 12:36:56 +11:00
Lucas Kent
52a91d8910
Release vulkano 0.11 (#1086) 2018-11-08 13:19:42 +11:00
Lucas Kent
d507cf4555
* Upgrade to winit 0.18 (#1105)
*   Setup macOS travis CI.
2018-11-08 12:12:20 +11:00
Michael Morgan
7a11120350 Add logo to HTML documentation in other crates (#1081) 2018-10-20 10:34:32 +11:00
Lucas Kent
b6c4d84e61
Removed mir support (#1060) 2018-10-03 07:44:48 +10:00
Lucas Kent
e21bd19bad
Publish 0.10.0 (#1013) 2018-08-12 18:42:17 +10:00
Lucas Kent
44e8207a27 Upgrade dependencies (#1012) 2018-08-10 14:50:38 +02:00
Andrew Hickman
1d521d35d2 Don't force the surface to take ownership of the window (#991)
* Don't force the surface to take ownership of the window

* Update changelog
2018-07-28 15:14:37 +02:00
Lucas Kent
71d90e562a Upgrade deps + fix warnings in examples (#982)
* Upgrade dependencies

* Fix warnings in examples
2018-06-30 19:15:33 +02:00
Branan Riley
44530af81c Update winit to 0.13.1 (#953) 2018-06-05 12:58:59 +02:00
Nicholas Lordello
37fcd507d0 Use libvulkan.dylib instead of MoltenVK by default on macOS (#948) 2018-04-19 09:48:33 +02:00
Pierre Krieger
5e73ce96a1
Publish 0.9.0 (#936) 2018-03-14 17:57:22 +01:00
Gabriel Majeri
77c76b77ed Update dependencies (#903)
* Update dependencies

* Update winit to 0.11

* Update CHANGELOG.md
2018-03-13 12:34:30 +01:00
Pierre Krieger
de19ef2e14
Publish 0.8.0 (#934) 2018-03-11 20:18:08 +01:00
Yanchi Toth
f611365225 Fix macos compilation (#929)
* Fix compilation of vulkano-win

* Update metal-rs to latest
2018-03-02 12:14:34 +01:00
Branan Riley
e9104208c4 Allow Surface to reference an external window object (#848)
* Allow Surface to reference an external window object

This makes the Surface struct generic across a Window
type, so that a surface can own (or reference, if W is
an Arc) an external window object.

This also updates vulkano-win to take advantage of this.
There is no longer a dedicated Window struct in vulkano-win.
Instead, the Surface is simply passed ownership of the
winit::Window.

This fixes #844

* Update examples for new surface API

* Update Changelog

* Remove unnecessary send/sync bounds

* Update swapchain docs for new Surface behavior
2018-02-13 14:29:36 +01:00
Pierre Krieger
2519bc915a
Publish 0.7.3 (#916)
* Publish 0.7.3

* Also publish glsl-to-spirv 0.1.4
2018-02-10 19:17:41 +01:00
thelearnerofcode
80e1ed6dc3 Updated Dependencies. (#876)
* Updated Dependencies

* Complied with changes mentioned in pull request.
2017-12-11 10:23:40 +01:00
tomaka
c9b35bc9e2 Publish 0.7.2 (#861) 2017-10-09 14:46:41 +02:00
tomaka
8c05eb6453 Publish 0.7.1 (#837) 2017-09-28 14:05:20 +02:00
Pyry Kontio
ddb66a5513 Fixed the layer scaling issue on macOS. (#830)
* Fixed the layer scaling issue on macOS. Changed the triangle example to use the surface extents instead of window dimensions, as that seems to be a more robust source of correct information.

* Updated changelog. Fixed other examples' window extent problem.
2017-09-26 10:29:26 +02:00
tomaka
089d0879f7 Publish 0.7.0 (#829)
* Publish 0.7.0

* Fix dependencies versions
2017-09-21 13:27:10 +02:00
tomaka
5ac98f53f1 Publish 0.6.2 (#806) 2017-09-06 15:47:46 +02:00
tomaka
a630a5efb1 Publish 0.6.1 (#783) 2017-08-27 10:56:28 +02:00
tomaka
411b4e7546 Publish vulkano 0.6.0 (#747) 2017-08-17 14:05:43 +02:00
tomaka
d55cbf04f6 Update Cargo.toml metadata (#721) 2017-08-05 11:06:13 +02:00
tomaka
a7e989ad53 Publish 0.5.6 (#697) 2017-07-27 14:30:36 +02:00
tomaka
0fa06f7597 Publish 0.5.5 (#694) 2017-07-27 11:38:28 +02:00
Nicolas Koch
4e04359e40 Remove redundant unsafe 2017-07-24 12:56:35 +02:00
Nicolas Koch
521a93f363 Update dependencies 2017-07-24 12:56:13 +02:00
Pierre Krieger
67bc3427c8 Publish 0.5.4 2017-07-19 20:02:32 +02:00
Pierre Krieger
f61bde481a Publish 0.5.3 2017-07-16 12:59:48 +02:00
Pierre Krieger
b63b49d204 Publish 0.5.2 2017-07-08 12:03:49 +02:00
Pierre Krieger
609056d0b0 Publish 0.5.1 2017-07-07 15:38:44 +02:00
Pierre Krieger
9e83984278 Publish 0.5.0 2017-07-04 14:26:41 +02:00
Pierre Krieger
ef466eac85 Run rustfmt on the code 2017-06-27 08:47:16 +02:00
Pierre Krieger
e9fdcba73f Remove old gitignore files 2017-06-26 10:35:05 +02:00
Pierre Krieger
d504535040 Publish 0.4.4 2017-06-23 17:31:56 +02:00
Pierre Krieger
6e4badeb70 Publish 0.4.3 2017-06-20 20:22:55 +02:00
Pierre Krieger
0695ffd862 Publish 0.4.2 2017-06-20 10:20:08 +02:00
Gabriel Majeri
0540af70d8 Fix unused imports
On some platforms, some imports are not required.
2017-06-20 06:53:41 +03:00
Pierre Krieger
c1324c2029 Publish 0.4.1 2017-06-13 13:27:59 +02:00
Lloyd
0f73a6c65c Fix functions taking ref instead of value 2017-06-06 20:07:00 +09:00
Lloyd
36529ff873 Fix actual type not being a reference 2017-06-06 19:51:58 +09:00
Pierre Krieger
9b4c6e922b Publish 0.4.0 2017-06-03 13:40:42 +02:00
Pierre Krieger
41eb21c291 Merge branch 'master' into moltenvk 2017-06-03 13:04:17 +02:00
Pierre Krieger
c6fb7a84bd Use #[cfg] for the OSX code in vulkano-win 2017-05-26 20:26:05 +02:00
Pierre Krieger
a3c30dc183 Creating a Surface now takes the Arc<Instance> by value 2017-05-26 10:51:28 +02:00
Andrew P. Lentvorski
40e0b24127 added code to get to OutOfDeviceMemory error 2017-05-22 09:52:36 -07:00
Pierre Krieger
0dddd6f7e5 Merge branch 'master' into moltenvk 2017-05-16 13:01:40 +02:00
Benjamin Saunders
f3d7ca4b0d Update vulkano-win and examples to winit 0.6 2017-05-07 19:08:18 -07:00
Pierre Krieger
9f9965c710 Publish 0.3.2 2017-02-02 21:11:47 +01:00
Pierre Krieger
e67f615ad2 Add categories to all the crates 2017-01-31 09:59:07 +01:00
Paul Houghton
5aa5d671d1 Update dependency versions 2016-12-07 23:29:15 +02:00
Pierre Krieger
9cafcb2088 Some cleanup 2016-10-23 20:36:08 +02:00
Robert Hurst
7a41019cda
ensure macOS is excluded from unix target 2016-10-08 00:03:38 -07:00
Pierre Krieger
c46ad0079e Make vulkano-win work with macos 2016-10-07 10:11:26 +02:00
Pierre Krieger
e3eabb6740 Publish 0.3.1 2016-10-04 19:24:57 +02:00
Pierre Krieger
82ec7c9ade Publish 0.3.0 2016-09-18 15:21:48 +02:00
Pierre Krieger
6d274d4f78 Publish 0.2.2 2016-09-18 14:31:58 +02:00
lummax
ef7ab2dc24 vk-sys/vulkano{-win}: correct type of native window
This commit changes the definitions for `window` in `XlibSurfaceCreateInfoKHR`
and `XcbSurfaceCreateInfoKHR` with to `u64` (xlib) and `u32` (xcb) (see
definitions below).

`vk-sys` defined `XlibSurfaceCreateInfoKHR` and `XcbSurfaceCreateInfoKHR` with
`pub window: *const c_void`. This propagates through to the API in
`vulkano::swapchain::Surface::from_{xlib,xcb}()`. As the native window types
in xcb/xlib are defined as unsigned ints, this may lead to the belief that a
pointer to such an integer is required. `vulkano` will create a `Surface` but
this surface will not be supported by any queue family.

xlib: https://cgit.freedesktop.org/xorg/proto/x11proto/tree/X.h#n96 and
      https://cgit.freedesktop.org/xorg/proto/x11proto/tree/X.h#n66

      (search `Windows`)

xcb: https://xcb.freedesktop.org/manual/group__XCB____API.html

    (search `xcb_window_t`)
2016-09-01 18:26:12 +02:00
Pierre Krieger
556f25e256 Publish 0.2.1
close #237
2016-09-01 07:22:22 +02:00
Pierre Krieger
1610fd81a1 Return proper errors when getting the extensions supported by core 2016-08-19 19:04:54 +02:00
Nicolas Koch
b2897a419f Support for intel linux driver
fixes #204
2016-07-31 12:33:08 +02:00
Pierre Krieger
8969da48dc Publish 0.2.0 2016-07-27 10:17:45 +02:00
Nicolas Koch
c53c1378e2 Update winit version to 0.5.1 2016-05-24 13:42:33 +02:00
Nicolas Koch
e7c0282825 Window creation: Add support for wayland on unixes 2016-05-23 16:19:35 +02:00
Pierre Krieger
8f9e3220eb Publish the crate on crates.io 2016-04-30 12:08:48 +02:00
Pierre Krieger
37fc12042e Fix vulkano-win for Linux 2016-04-23 13:40:10 +02:00
Pierre Krieger
27f7fb5f75 Make examples cross-platform 2016-04-23 13:32:31 +02:00
Pierre Krieger
e82741aaf9 Add vulkano-win crate and move out examples 2016-04-23 13:24:56 +02:00