Commit Graph
48 Commits
Author SHA1 Message Date
Dzmitry Malyshau 17214fe986 wgpu update with DynamicOffset 2020-02-16 21:49:56 -05:00
Dzmitry Malyshau 400b587c31 Update wgpu revision 2020-02-09 19:25:41 -05:00
Dzmitry Malyshau c4be01cb9c Update wgpu-core 2020-01-23 19:14:16 -05:00
Dzmitry Malyshau e46f0e2860 wgpu commit update 2020-01-15 11:06:49 -05:00
Dzmitry Malyshau 37094051b5 Update wgpu and winit 2020-01-13 13:20:13 -05:00
Joshua Groves 7b6960da7e Use exact version for winit alpha 2020-01-05 10:06:18 -03:30
Joshua Groves a216c2bfca Update to latest winit (0.20.0-alpha6)
- `RedrawRequested` is now used for rendering
- `EventsCleared` replaced by `MainEventsCleared` which requests redraw
- Removed capture from hello-triangle to simplify it slightly
2020-01-04 18:33:33 -03:30
Dzmitry Malyshau 8f083e54c5 Update to latest wgpu c293d6dcea 2020-01-02 01:21:08 -05:00
bors[bot]andm4b 0f2ccd7e39 Merge #113
113: build: exclude necessities for packaging, fixes #112 r=kvark a=m4b

I believe this is the minimal set required as an external dep, e.g., don't need tests, etc., and other folders. I can't seem to find any explicit recommendations here though: https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields-optional


Co-authored-by: m4b <m4b.github.io@gmail.com>
2019-12-31 17:00:35 +00:00
bors[bot]andLayl 1529a88fd9 Merge #148
148: Change Queue::submit to take &self r=kvark a=LaylConway

This small change allows multiple threads to submit buffers slightly more efficiently, by being able to do it concurrently without a lock on Queue.

In practice currently `Queue::submit` does a lot of locking internally for most of the function's duration, so it's only a small performance win right now, but it opens up the road for more improvements.

Co-authored-by: Layl <2385329-layl@users.noreply.gitlab.com>
2019-12-31 16:32:52 +00:00
Layl 45426eef9c Change Queue::submit to take &self 2019-12-31 16:24:49 +01:00
Mason 76076d31cf Adds compute-boids example from gpuweb demos
Updates for boids example

Rename example folder
Use chunks_muts when creating initial_particles data
No need for depth
Syntax and minor changes

calculate multiple particles in single compute unit

updates boids example to use framework impl

removed code

fix gpu invocations constants
2019-12-29 12:17:14 -08:00
m4b 225e11a25d build: exclude necessities for packaging, fixes #112 2019-12-28 12:11:14 -08:00
Dzmitry Malyshau 9f82877a3c Dependency update 2019-11-26 10:28:33 -05:00
Tristam MacDonald cc32408fa2 prototype of async/await for buffer mapping 2019-11-21 21:42:22 -08:00
Jacob Greenfield be4e62ccc9 Use u8 slices for buffer mapping 2019-11-21 20:34:39 -05:00
Dzmitry Malyshau 3609e52bfd Fix generic bounds on buffer mapping 2019-11-20 21:25:46 -05:00
Dzmitry Malyshau b40bb71679 Wholesome update for the git master of wgpu-native 2019-11-19 20:58:32 -05:00
Dzmitry Malyshau 2c7d43ecc3 Version bump to 0.4 2019-11-03 21:40:55 -05:00
Dzmitry Malyshau e0abf982e1 Update to wgpu-native b8d26c9186 2019-10-30 22:26:42 -04:00
Rukai 409d518cdf Update dependencies 2019-10-19 09:43:15 +11:00
Dzmitry Malyshau 17077f49b5 Update wgpu-native revision to latest 2019-09-11 22:15:58 -04:00
yanchith 6b5aa333b7 Propagate making Vulkan backend available to wgpu-rs 2019-09-10 15:27:22 +02:00
Dzmitry Malyshau 71b0a7c217 Update to the new swapchain model 2019-09-09 21:39:55 -04:00
Dzmitry Malyshau 433ab156ea wgpu-native update to 40fb3fcdfd 2019-09-02 21:12:22 -04:00
Dzmitry Malyshau c6522fa60b Update wgpu-native to the commit that has no backend features.
This change removes the dependency on gfx-rs backends, refactors
Adapter and Surface creation to be done from nothing.
2019-08-29 22:04:43 -04:00
Dzmitry Malyshau c2743c279e Wholesome update for wgpu-0.3 2019-08-21 23:51:09 -04:00
Rukai 69a894e91a Update to latest wgpu-native commit 2019-08-18 12:19:49 +10:00
bors[bot]andRukai d332eade8a Merge #61
61: Cleanup examples by using wgpu::read_spirv instead of manually creating a Vec<u32> r=kvark a=rukai

Wait for me to update the git reference once https://github.com/gfx-rs/wgpu/pull/280 is merged.

Co-authored-by: Rukai <rubickent@gmail.com>
2019-08-12 20:57:53 +00:00
Rukai 53b5297bdc Cleanup examples by using wgpu::read_spirv instead of manually creating a Vec<u32> 2019-08-13 06:39:24 +10:00
m4b ece00afc34 build: update version to 0.3.0 to unconfuse cargo patches 2019-08-11 21:24:55 -07:00
Rukai b17e85d063 Update to latest wgpu native 2019-08-11 11:44:09 +10:00
Dzmitry Malyshau 5522c912f7 Switch msaa example samples to 4 2019-07-29 19:59:39 -04:00
Paul Kernfeld 5138c488c6 Replace Pod using zerocopy crate
See https://github.com/gfx-rs/wgpu/pull/256#issuecomment-515277497
2019-07-27 13:58:31 -04:00
Lucas Kent d6347923ac Update to latest wgpu commit 2019-07-26 18:17:50 +10:00
Paul Kernfeld 790b79a936 Add an example showing how to capture a render 2019-07-23 22:14:27 -04:00
Noah Hüsser ce382f3735 Adapt to changes in wgpu for a configurable PresentMode.
Gl fixes.

Try fix this mess ..

GL fixess

Revert intermediate wgpu branch

Set proper wgpu-native commit ref

Adapt examples to the new features.
2019-07-17 21:27:32 +02:00
Rukai b235c9647f msaa-line example fixes 2019-06-24 21:59:42 +10:00
Dzmitry Malyshau e9f687014b Mipmapping example 2019-06-16 21:15:15 -07:00
bors[bot]andkyren ee40f4c574 Merge #10
10: Update API for new wgpu gl backend support r=kvark a=kyren

This won't work until [this pr](https://github.com/gfx-rs/wgpu/pull/183) is merged in wgpu, but at least this way we can discuss it.

Co-authored-by: kyren <kerriganw@gmail.com>
2019-06-08 02:37:20 +00:00
Rukai 3512aeacb3 Update to latest wgpu-native 2019-06-07 20:36:17 +10:00
kyren ae48fe07e0 Update API for in-progress wgpu-gl PR to wgpu / gfx 2019-06-06 15:46:02 -04:00
Dzmitry Malyshau 44ce0875f1 Native update to 803c607794 2019-05-31 15:00:12 -04:00
Dzmitry Malyshau 5a1c5c269a Native update to 9276cd51c0 2019-05-31 10:32:05 -04:00
Lucas Kent 0161b0867f Upgdate to latest wgpu-native 2019-05-28 14:44:52 +10:00
Jason Jarvis eafa7b497f updated version of wgpu-native 2019-05-17 08:01:14 -07:00
kyren 02dc7b26c9 Update wgpu-rs to reflect latest wgpu API 2019-05-16 03:22:20 -04:00
Dzmitry Malyshau 72164c23a2 Move the library and examples from the original repo 2019-05-10 13:19:33 -04:00