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
Cldfire
e515ffd846
Add overview of generated macro code to vulkano-shader-derive
( #958 )
2018-06-05 12:22:22 +02:00
Lucas Kent
bb3e6d616c
Fix clear values in runtime-shader example ( #968 )
2018-06-05 12:21:36 +02: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
Casey Rodarmor
c11208521b
Remove unused use std::iter;
in triangle example ( #935 )
2018-03-13 11:36:09 +01:00
John Doneth
3231e92715
Fixed resizing bug in examples ( #303 ) ( #919 )
...
Fixed the OutOfDate error in the examples by conditionally unwrapping futures
2018-02-14 08:51:52 +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
thelearnerofcode
80e1ed6dc3
Updated Dependencies. ( #876 )
...
* Updated Dependencies
* Complied with changes mentioned in pull request.
2017-12-11 10:23:40 +01:00
tomaka
c16e4d81b2
Fix triangle example panicking on wayland ( #873 )
2017-11-11 11:23:53 +01: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
bdf026a78b
Propagate allocation errors to CpuBufferPool::next() and chunk() ( #809 )
...
* Propagate allocation errors to CpuBufferPool::next() and chunk()
* Add entry in CHANGELOG
2017-09-09 08:55:20 +02:00
tomaka
9bf5e7f252
Remove the guide examples ( #784 )
2017-08-28 20:31:10 +02:00
tomaka
4208814e74
Fix #760 ( #761 )
2017-08-23 15:45:37 +02:00
tomaka
f02e021158
Remove the list of queue families in most places when creating a buffer or image ( #746 )
...
* Add Device::active_queue_families()
* Remove queue families parameter for ImmutableImage
* Remove queue families param from ImmutableBuffer
* Remove queue_families parameter from CpuBufferPool
* Remove queue families parameter from CpuAccessibleBuffer
* Fix examples
2017-08-17 11:59:59 +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
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
Benjamin Saunders
c085e193d9
Omit rarely-needed parameters from ImmutableImage convenience ctors
2017-07-24 01:09:45 -07:00
Benjamin Saunders
8a3bf4d191
Refactor ImmutableImage for convenient, safe initialization
2017-07-23 14:40:53 -07: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
5f9b6dcaf2
Fix the examples not working on Android
2017-07-22 16:44:52 +02:00
Constantine
72b17b8e9d
Add spv-1 example
2017-07-20 16:58:26 +03:00
Pierre Krieger
3fe108336c
Fixes to the CpuBufferPool
2017-07-19 19:19:40 +02:00
Jason Davies
b06f45736d
Use supports_compute() in compute example.
2017-07-19 01:10:38 +01:00
tomaka
139a13de62
Merge pull request #632 from tomaka/cb-builder-builders
...
Add other constructors for AutoCommandBufferBuilder
2017-07-11 12:33:39 +02:00
Pierre Krieger
437b046539
Fix examples
2017-07-11 11:33:35 +02:00
Pierre Krieger
c34491ed57
Add the example for the mandelbrot fractal
2017-07-11 11:09:01 +02:00
Pierre Krieger
d06e2abf3c
Add other constructors for AutoCommandBufferBuilder
2017-07-10 21:27:42 +02:00
Pierre Krieger
205b56327e
Fix teapot rotation slowly
2017-07-08 12:54:23 +02:00
Pierre Krieger
7c48e7c891
Finish updating examples for PersistentDescriptorSet
2017-07-08 12:13:05 +02:00
Pierre Krieger
bceafa2b03
Add the example for the next section of the guide
2017-07-08 11:13:32 +02:00
Pierre Krieger
fcae155883
Add errors to PersistentDescriptorSet building
2017-07-07 17:07:11 +02:00
Pierre Krieger
3d718c57a0
Update the examples for PersistentDescriptorSet
2017-07-07 17:07:11 +02:00
Pierre Krieger
5cb9cbd367
Fix #599
2017-07-05 18:16:14 +02:00
tomaka
9c05d74481
Merge pull request #591 from tomaka/fix-590
...
Fix #590
2017-07-05 09:38:45 +02:00
Pierre Krieger
6c1cd22fba
Add the examples of the guide
2017-07-05 09:09:44 +02:00
Pierre Krieger
d64c7bd21f
Fix #590
2017-07-04 17:30:17 +02:00
Pierre Krieger
9e83984278
Publish 0.5.0
2017-07-04 14:26:41 +02:00
tomaka
d293c6cbcf
Pass the device by value when loading a shader
2017-07-03 16:53:44 +02:00
Rukai
eb9ccd44e8
pass PhysicalDevice by value
2017-07-02 14:12:48 +10:00
tomaka
d7c9d08f76
Merge pull request #551 from tomaka/acquire-sc-timeout
...
The timeout of acquire_next_image is now optional
2017-06-27 07:48:11 +02:00
Pierre Krieger
e9fdcba73f
Remove old gitignore files
2017-06-26 10:35:05 +02:00
Pierre Krieger
4df639a834
The timeout of acquire_next_image is now optional
2017-06-25 10:28:22 +02:00
Pierre Krieger
d1b83a5192
Fix some warnings and examples
2017-06-23 10:32:49 +02:00
Pierre Krieger
d372724054
Rework command buffers
2017-06-23 07:34:04 +02:00
Pierre Krieger
78ddfba364
Add a compute shader example, and bugfix
2017-06-20 15:07:21 +02:00
Gabriel Majeri
6c3a7193e7
Fix some more unused code
2017-06-20 06:56:51 +03:00