Joshua Groves
b3e4253df1
Return futures from request adapter/request device
2020-03-16 16:35:51 -02:30
Dzmitry Malyshau
d842432d17
Update for the latest spec changes
2020-03-15 11:25:06 -04:00
Dzmitry Malyshau
b588345568
Disable no_redirection_bitmap on Windows
2020-02-09 19:25:34 -05:00
Dzmitry Malyshau
3a9113c962
Disable window bitmap redirection
2020-02-02 00:21:51 -05:00
Dzmitry Malyshau
37094051b5
Update wgpu and winit
2020-01-13 13:20:13 -05:00
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
Layl
45426eef9c
Change Queue::submit to take &self
2019-12-31 16:24:49 +01:00
Jacob Greenfield
88e8269182
cargo fmt
2019-11-21 00:20:28 -05:00
Dzmitry Malyshau
b40bb71679
Wholesome update for the git master of wgpu-native
2019-11-19 20:58:32 -05:00
Anton Lazarev
dd23e8f015
Handle error case for SwapChain::get_next_texture
2019-11-05 14:46:25 -08:00
m4b
3972daf1fb
examples: add skybox example, fixes #93
...
* Adds new skybox example for demonstrating cubemap uses
* Adds .png files for skybox
* Adds skybox vert and frag shaders
2019-11-02 19:42:25 -07:00
Dzmitry Malyshau
239885401c
Refactor log crate usage
2019-10-24 12:26:58 -04:00
Dzmitry Malyshau
00c6d97dce
Return Queue separately
2019-09-10 09:26:18 -04:00
Daniel Salvadori
8f8cccd97e
Modify examples to use PowerPreference::Default
2019-09-05 19:14:53 -03: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
Héctor Ramón Jiménez
ad11bf071b
Use HasRawWindowHandle in create_surface
2019-08-22 22:26:07 +02: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
Rukai
53b5297bdc
Cleanup examples by using wgpu::read_spirv instead of manually creating a Vec<u32>
2019-08-13 06:39:24 +10:00
Rukai
b17e85d063
Update to latest wgpu native
2019-08-11 11:44:09 +10: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
Svenn-Arne Dragly
00e0996e8d
Make opengl_to_wgpu_matrix into a constant
2019-07-08 10:36:25 +02:00
Svenn-Arne Dragly
a113e5b78a
Add conversion matrix from OpenGL to wgpu
...
The matrices in the examples are given in an OpenGL-like coordinate system,
while a Vulkan-like coordinate system is used by wgpu. This was previously
partially corrected in the shader and by flipping the up axis of the camera,
but left the x-axis mirrored in the final result.
This change adds a conversion matrix to framework.rs that can be used
to convert from OpenGL to wgpu. This also allows us to set the
winding-order to counter-clockwise, which matches the ordering in the data.
2019-07-05 17:47:37 +02:00
Joshua Groves
774dbcd99a
Run cargo fmt
2019-06-11 21:02:30 -04:00
kyren
8c53667572
Update for new wgpu PR, keep API slightly closer to vanilla
2019-06-06 15:46:02 -04:00
kyren
ae48fe07e0
Update API for in-progress wgpu-gl PR to wgpu / gfx
2019-06-06 15:46:02 -04: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