Commit Graph

2542 Commits

Author SHA1 Message Date
tomaka
a2f7f0db80 Use pub(crate) in more places (#705) 2017-07-31 07:50:47 +02:00
tomaka
5e78de73e2 Don't always map memory (#699) 2017-07-30 09:03:24 +02:00
tomaka
beb1ddc200 Replace acquire_next_image_raw with acquire_next_image_raw2 (#700) 2017-07-30 09:03:19 +02:00
tyoc213
889da59aac Deleting simple.rs and still need to update the doc string fixes #631 (#703) 2017-07-30 08:40:10 +02:00
tomaka
be298f470c Remove DescriptorBufferContentDesc (#630)
* Remove DescriptorBufferContentDesc

* Update vulkano-shaders

* Fix tests
2017-07-28 07:19:22 +02:00
tomaka
284bc8965c Copy buffer image validity (#692)
* Add check_copy_buffer_image

* Use the validity checks
2017-07-27 20:35:50 +02:00
tomaka
5bee83fb06 Check whether pipeline objects are compatible with the local render pass (#657) 2017-07-27 20:35:32 +02:00
tomaka
a7e989ad53 Publish 0.5.6 (#697) 2017-07-27 14:30:36 +02:00
tomaka
95998d6dc5 Fix wrong start layout in sync layer (#696)
* Fix wrong start layout in sync layer

* Fix compilation
2017-07-27 13:55:28 +02:00
tomaka
cd12580e11 Fix loader visibility (#695) 2017-07-27 13:23:20 +02:00
tomaka
0fa06f7597 Publish 0.5.5 (#694) 2017-07-27 11:38:28 +02:00
tomaka
0cf5191d5c Add Instance::with_loader (#690)
* Infrastructure for custom loaders

* Add DynamicLibraryLoader

* Add statically_linked_vulkan_loader!

* Inline everything

* Fix wrong symbol name

* Add Instance::with_loader

* Documentation and more functions

* Fix Instance unwind safety

* Add small test for library opening error
2017-07-27 09:19:53 +02:00
Philip Woods
572554dbc1 Added window resizing to examples (#671)
* Added Swapchain recreation to triangle example

* Triangle example no longer panics when manually resizing window

* Triangle example now correctly resizes viewport

* Added window resizing support to image example

* Removed unused code from image example

* Moved dimension definition earlier in triangle and image example

* Replaced width and height variables in examples with dimensions

* Added window resizing support to teapot example

* Removed unused code from teapot example

* Removed duplicate code creating framebuffers
2017-07-26 17:58:40 +02:00
tyoc213
549671a521 fixes #645 Returning Result<(), OomError> for reset and multi_reset (#684) 2017-07-26 15:43:41 +02:00
tomaka
b8f0cfee2c Merge pull request #691 from Guvante/master
Implemented dynamic TwoBuffersDefinition decode
2017-07-26 08:14:14 +02:00
guvante
cd5f97ab2b Implemented dynamic TwoBuffersDefinition decode 2017-07-25 20:34:14 -07:00
tomaka
4272a9e28c Merge pull request #689 from tomaka/std-cmd-pool-improvements
Standard command pool improvements
2017-07-25 15:26:38 +02:00
Pierre Krieger
e9b8df773a Add test for reusing command buffers 2017-07-25 14:09:54 +02:00
Pierre Krieger
dc0e03daac Use a lockfree Vec for command buffers 2017-07-25 13:58:01 +02:00
Pierre Krieger
3b99abc4e4 Improve std cmd pool hashmap lookup 2017-07-25 13:38:26 +02:00
Pierre Krieger
82eba82b9d Better code reuse in the standard command pool 2017-07-25 13:25:54 +02:00
Pierre Krieger
77fb62a467 Minor doc and general improvements 2017-07-25 13:23:09 +02:00
Pierre Krieger
ad8fc7b7b1 Use FnvHashMap directly in std cmd pool 2017-07-25 13:12:40 +02:00
Pierre Krieger
0cdc8d7910 Use std:🧵:ThreadId in the standard command pool 2017-07-25 13:10:32 +02:00
tomaka
96cab32c30 Merge pull request #686 from nicokoch/macos
Macos updates
2017-07-25 10:11:05 +02:00
tomaka
05819d0145 Merge pull request #688 from tomaka/sync-fix
Fix wrong source layout in sync layer
2017-07-24 13:50:06 +02:00
Pierre Krieger
3622c36e56 Fix wrong source layout in sync layer 2017-07-24 13:25:05 +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
tomaka
c0d4afb0fa Merge pull request #685 from tomaka/cache-ds
Cache descriptor sets in the state cacher
2017-07-24 10:35:52 +02:00
tomaka
bfc30a5f37 Merge pull request #680 from Ralith/immutable-image
ImmutableImage refactor
2017-07-24 10:35:41 +02:00
Benjamin Saunders
c085e193d9 Omit rarely-needed parameters from ImmutableImage convenience ctors 2017-07-24 01:09:45 -07:00
Pierre Krieger
e74493bcb8 Cache descriptor sets in the state cacher 2017-07-24 09:16:53 +02:00
Benjamin Saunders
b1011816ce Restore deprecated ImmutableImage constructors 2017-07-23 23:53:10 -07:00
Benjamin Saunders
8a3bf4d191 Refactor ImmutableImage for convenient, safe initialization 2017-07-23 14:40:53 -07:00
tomaka
0c1aaacddb Merge pull request #683 from tomaka/vk-sys-0.3
Publish vk-sys 0.3
2017-07-23 17:56:04 +02:00
tomaka
b9796ba2d0 Merge pull request #682 from tomaka/fix-674
Fix #674
2017-07-23 17:45:24 +02:00
tomaka
8938d29eee Merge pull request #681 from tomaka/present-error-ignored
Ignore errors when destroying a present future
2017-07-23 17:11:25 +02:00
Pierre Krieger
add68e5101 Publish vk-sys 0.3 2017-07-23 17:07:04 +02:00
Pierre Krieger
5370a829d2 Fix #674 2017-07-23 17:06:07 +02:00
tomaka
15bb6d9768 Merge pull request #678 from tomaka/layout-req-doc
Some documentation for image layout requirements
2017-07-23 17:03:40 +02:00
tomaka
4bfda3972e Merge pull request #665 from GuildMasterInfinite/vk-sys-union
Use untagged unions in `vk-sys`
2017-07-23 17:03:02 +02:00
Pierre Krieger
2655954770 Ignore errors when destroying a present future 2017-07-23 16:50:20 +02:00
tomaka
ef9a5f98e3 Merge pull request #667 from fst3a/spv-examples
Example showing how to manually load SPIR-V shaders from disk
2017-07-23 10:12:37 +02:00
Constantine
af0bb0ce9e Accomodate requested changes 2017-07-22 22:47:53 +03:00
tomaka
73540ab92f Merge pull request #679 from tomaka/sync-fix
Fix final image transition not updating state
2017-07-22 21:15:09 +02:00
Pierre Krieger
be6d11e36d Fix final image transition not updating state 2017-07-22 20:48:55 +02:00
tomaka
6679491849 Merge pull request #677 from tomaka/android-ex-fix
Fix the examples not working on Android
2017-07-22 19:35:27 +02:00
Pierre Krieger
da3d64d884 Some documentation for image layout requirements 2017-07-22 19:35:03 +02:00
tomaka
5f9b6dcaf2 Fix the examples not working on Android 2017-07-22 16:44:52 +02:00