Commit Graph

2352 Commits

Author SHA1 Message Date
tomaka
986e159a7e Fix CpuBufferPool capacity (#725)
* Fix CpuBufferPool capacity

* Add a test
2017-08-05 21:23:45 +02:00
tomaka
8273fb5530 Fix #772 (#724) 2017-08-05 14:06:08 +02:00
tomaka
d55cbf04f6 Update Cargo.toml metadata (#721) 2017-08-05 11:06:13 +02:00
tomaka
83e643c234 Work on support for queries (#718)
* Move query.rs to query/mod.rs

* Remove genericity over Device

* Replace device() with DeviceOwned impls

* Add unsafe query methods to UnsafeCommandBufferBuilder
2017-08-05 10:33:30 +02:00
tomaka
9e65c250e1 Fix the image dimensions check being too strict (#719) 2017-08-05 10:32:58 +02:00
tomaka
3bfd84544e Add the triangle guide example (#720) 2017-08-05 10:32:14 +02:00
tomaka
6abeba4f3d Remove PipelineLayoutDescNames (#712) 2017-08-03 12:01:25 +02:00
tomaka
bf82214ec1 Rework shader entry points (#708) 2017-08-02 10:42:30 +02:00
tomaka
a4589e7a16 Add documentation and small fixes to the sync builder (#706)
* Add documentation and small fixes to the sync builder

* Move synced.rs to a directory

* Split sync.rs between base.rs and commands.rs

* Some documentation on base.rs

* Make sync builder fields private again

* Do not implement CommandBuffer on SyncCommandBuffer

* Minor synx fixes to AutoCommandBuffer

* Fix compilation

* More documentation in base.rs

* Fix compilation

* Add some basic tests for sync
2017-07-31 20:47:00 +02:00
tomaka
d94adf0f99 Remove some deprecated functions (#707) 2017-07-31 20:46:54 +02:00
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