Commit Graph

10 Commits

Author SHA1 Message Date
Okko Hakola
0e581c07b2
Allow external memory support with DeviceLocalBuffers (#1506)
* Add posix handle type shortcut

* Expose device local buffer's memory

* Add exportable memory option for pools & device local memory

* Add test for device local with exportable fd

* Use a convenience function in test

* Dont expose memory, but instead allow export fd directly

* Fix mistakes & clean

* Remove test due to IncompatibleDriver error
2021-03-14 20:56:27 +07:00
Austin Johnson
a4591a20cf
update examples to use ImageUsage::color_attachment instead of caps.supported_usage_flags (#1373)
* add additional ImageUsage constructors

* update examples to use ImageUsage::color_attachment instead of caps.supported_usage_flags

* fix additional usage in multi-window example

* update ignore to not include mandelbrot.png and triangle.png

* update ignore to not include mandelbrot.png and triangle.png
2020-06-01 02:10:02 -05:00
Lucas Kent
9d46e08cc7
Cleanup examples (#1096)
*   replaced `.expect()` that provided no useful information with `.unwrap()`
*   used `use` consistently (all types are `use`d all functions have the parent module `use`d)
*   other formatting consistencies
2018-10-28 14:02:29 +11:00
Pierre Krieger
fba5c95250 Some work on the website 2017-06-27 18:18:42 +02:00
Paul Houghton
95d3b051dc Removed '.intellij' from .gitignore 2016-12-06 21:33:38 +02:00
Paul Houghton
4249e376da Added '.idea' to .gitignore 2016-12-03 13:30:34 +02:00
Pierre Krieger
9c2ae70105 Add .cargo to .gitignore 2016-08-25 19:21:26 +02:00
Pierre Krieger
28b489b31f Add Cargo workspace file 2016-08-07 14:31:07 +02:00
Pierre Krieger
fbeac0d827 Remove obsolete files 2016-01-31 13:20:32 +01:00
Pierre Krieger
d2552a8d65 Initial commit 2015-07-06 10:54:29 +02:00