Commit Graph

2332 Commits

Author SHA1 Message Date
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
Gabriel Majeri
d8388e52f5 Derive Copy type to work with stable Rust 2017-07-21 21:29:10 +03:00
Gabriel Majeri
38f145e67b Remove unstable #![feature] 2017-07-21 21:22:28 +03:00
tomaka
3303cbe934 Merge pull request #669 from tomaka/ds-correct-sync
Correctly synchronize resources in descriptor sets
2017-07-21 20:00:04 +02:00
tomaka
2f30455cbd Merge pull request #672 from Guvante/missing_pub_errors
Re-export errors for AutoCommandBufferBuilder
2017-07-21 08:14:53 +02:00
guvante
9477e26555 Re-export errors for AutoCommandBufferBuilder 2017-07-20 21:09:15 -07:00
Pierre Krieger
ed58e66b29 Add hack around input attachments 2017-07-20 19:26:54 +02:00
Pierre Krieger
6ca2cc02f0 Add more information to the Conflict error 2017-07-20 18:41:07 +02:00
Pierre Krieger
00eca15dea Don't transition initial/final image layouts when in a secondary CB 2017-07-20 18:05:01 +02:00
Pierre Krieger
37f3c64e10 Prevent pipeline barriers from happening inside render passes 2017-07-20 17:40:15 +02:00
tomaka
b089d7fee2 Merge pull request #668 from jasondavies/fix-readme
Fix grammar.
2017-07-20 17:23:31 +02:00