Rua
41ded32156
Update dependencies, clippy warnings ( #2142 )
...
* Update dependencies, clippy warnings
* Remove allowed clippy lint that no longer triggers as of Rust 1.67.1
2023-03-05 20:12:17 -06:00
Rua
6eb526322b
Fix clippy warnings from Rust 1.66 ( #2105 )
2022-12-18 10:23:40 -06:00
Okko Hakola
6de6050764
Remove allocator from window renderer inputs ( #2085 )
2022-11-12 16:10:40 +01:00
Rua
a984a925c4
Use actual integer bitflags for Vulkan bitflag types ( #2073 )
...
* Use actual integer bitflags for Vulkan bitflag types
* Fix doc tests
* Fix Fence and Semaphore on Win32 and Fuchsia
* Add macro for bitflags that have a corresponding enum
* Fix bug
2022-11-05 00:02:28 -05:00
Rua
1f1c2322b6
Release Vulkano 0.32.0 ( #2061 )
...
* Release Vulkano 0.32.0
* Update CHANGELOG.md
Co-authored-by: Austin Johnson <me@austinj.me>
2022-10-31 03:09:41 -05:00
marc0246
34b709547f
Memory allocation revamp ( #1997 )
...
* Add suballocators
* Add tests
* Retroactively abort `PoolAllocatorCreateInfo`
* Use const generic for `PoolAllocator`'s block size
* Move `new` and `try_into_region` to `Suballocator`
* Move `allocate_unchecked` to `Suballocator`
* Fix constructor visibility
* Move `free_size` to `Suballocator`
* Small fixes
* Merge `BumpAllocator` and `SyncBumpAllocator`
* Restrict `AllocParent::None` to tests
* Rewording
* Add dedicated allocations
* Add `Suballocator::cleanup`
* Make `free_size`s lock-free
* Add `Suballocator::largest_free_chunk`
* Add `ArrayVec`
* Remove useless `unsafe`
* Add `MemoryAllocator`
* Add `GenericMemoryAllocator`
* Small fixes
* Retroactively abort `largest_free_chunk`
* Small docs adjustments
* Rearrange
* Add `MemoryAlloc::mapped_ptr`
* Fix oopsie
* Add support for non-coherent mapped memory
* Add `DeviceOwned` subtrait to `Suballocator`
* Move granularities to suballocators, fix tests
* Add cache control
* Fix oopsie where alignment of 0 is possible
* Store `Arc<DeviceMemory>` in suballocators
* Add `MemoryAllocator::create_{buffer, image}`
* Remove `MemoryPool`
* Fix examples
* Remove `MemoryAlloc::{memory, memory_type_index}`
* Minor improvement to `AllocationCreationError`
* Add some example docs
* Add support for external memory
* Swicheroo
* Small fix
* Shorten sm names, cache atom size in suballocators
* Add config for allocation type to generic allocatr
* Engrish
* Fix a big oopsie
* Spliteroo
* Inglisch
2022-10-26 16:25:01 +02:00
Rua
cdab36a322
Remove type parameter from Surface
( #2036 )
2022-10-20 02:26:34 -05:00
marc0246
b8d7cc3241
The deed ( #2016 )
2022-10-04 10:50:58 +02:00
marc0246
1c2d195dab
Improvements to caches and switch to ahash
( #2019 )
...
* Add `OnceCache`
* Switch to `ahash`
2022-10-04 10:04:52 +02:00
Rua
f78e06fc6e
#2007 fixes ( #2008 )
2022-10-01 21:19:25 -05:00
Rua
c085dd8d9f
Queue operations refactoring ( #1995 )
2022-09-24 01:45:06 -05:00
Austin Johnson
137fb9f24b
Release 0.31 ( #1990 )
2022-09-18 05:46:53 -05:00
Austin Johnson
8e8482016a
Impl Present Wait Feature ( #1965 )
...
* impl present_wait feature
* handle timeout case
* add missing doc
* document the return type of wait_for_present
* impl check for VUID-04999
* don't enforce gt if present_id is zero
* impl PresentInfoExt
* Remove NonZeroU64 from wait_for_present in favor of an error
* fix gl-interop example
* fix docs and fmt
* PresentInfoExt -> PresentInfo, Added swapchain + index to info
* fix doc test, didn't save file...
* fix gl-interop
* Remove Whitespace
2022-09-17 09:38:32 +02:00
Rua
4abc27b9e5
Make PhysicalDevice
an independent object ( #1967 )
...
* Better validation and errors
* Small fix
* Make `PhysicalDevice` an independent object
Co-authored-by: Austin Johnson <me@austinj.work>
2022-09-10 01:00:08 -05:00
Rua
2705984c77
Macrofy all Vulkan bitflag and enum types, check for device support ( #1964 )
2022-09-05 15:16:40 -05:00
Rua
f0e6e4c6b7
Fix or allow all Clippy errors, re-enable dead code and unused variable warnings ( #1953 )
2022-08-12 05:18:35 -05:00
Okko Hakola
062b5e2f96
Ios fix ( #1950 )
...
* Fix iOS, use similar approach for metal layer as wgpu
* Use correct return type
* Handle ios resizing
* Add changelog notes
* Fix typo
* Update raw-window-handle
* Ensure mac changes correspond master version
2022-08-11 09:49:29 +02:00
Okko Hakola
ac32c625cd
Better defaults for vulkano config ( #1942 )
...
* Better defaults for vulkano config
* Update changelog
2022-08-06 14:08:51 +02:00
Rua
14f14f76ee
Update winit to 0.27 ( #1933 )
...
* Update winit to 0.27
* Fix windows
* Better fix?
2022-07-30 01:58:44 -05:00
Rua
6a755cd2f3
Add VulkanLibrary
as first initialization step before Instance
( #1932 )
...
* Add `VulkanLibrary` as first initialization step before `Instance`
* Fix MacOS error
* Fix Vulkano-utils
2022-07-30 01:53:52 -05:00
Austin Johnson
6a8ee8d75f
Release 0.30 ( #1929 )
2022-07-20 03:50:41 -05:00
Austin Johnson
df97b2c55f
Support for VK_KHR_portability_subset Devices ( #1927 )
...
* opt-in portability
* Only enable portability flag if extension is present
Automatically enable khr_portability_subset on Device; Remove required_extensions from PhysicalDevice & Device
* enable InstanceCreateInfo.enumerate_portability on all examples
* add additional documentation for enumerate_portability
2022-07-18 15:11:43 +02:00
Okko Hakola
5e298d6bb7
Allow setting present mode in vulkano util's window renderer ( #1922 )
...
* Allow swapchain recreation with new present mode in utils
* Add doc text
* Add to changelog
2022-07-13 12:25:32 +02:00
Okko Hakola
18f68337a5
Vulkano util proposal ( #1918 )
...
* Init vulkano util library
* Add window & renderer structs
* Update fractal to use vulkano utils
* Add general purpose image view generation to storage image
* Add some missing functionality
* Fix game of life
* Rename error
* Fix tests
* Update documentation texts
* Modify license comment
* Add to changelog
* Improve docs
* Allow option to wait on the future
* Update doc text
* Add filter fn
* Modify queue selection
* Fix import error
* Remove non working tests
* Rename start and finish frame to acquire and present
* Allow pub creation of window renderer
* Ensure config members are pub and it has send + sync
* Remove send syncs
2022-06-24 17:27:33 +02:00