erin petra sofiya moon
763a7a9b41
update wgpu to 0.17 ( #378 )
...
required changes are entirely trivial:
wgpu::util::initialize_adapter_from_env's signature changed;
the backend_bits parameter is removed, and now solely specified by
the instance's enabled backends (see [the changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md#initialize_adapter_from_env-argument-changes )).
2023-10-29 23:49:07 -05:00
Jay Oster
3891192796
Update dependencies ( #337 )
...
Breaking changes:
- Updates `wgpu` to 0.16
2023-06-11 21:25:25 -07:00
Jay Oster
5a96eea6ba
Handle all wgpu::SurfaceError variants ( #348 )
...
This fixes error handling for all `wgpu::SurfaceError` variants. It also adds more context to error messages printed by the examples.
Closes #346
2023-03-21 07:16:51 -07:00
Jay Oster
899e27bafa
Remove get_ and set_ prefixes from public APIs ( #341 )
...
This renames:
- `get_frame` to `frame`
- `get_frame_mut` to `frame_mut`
- `set_clear_color` to `clear_color`
Which more closely follows convention set by the standard library et al.
2023-03-09 19:42:57 -08:00
Jay Oster
332a02f12d
Update wgpu to 0.15 ( #332 )
...
* Update wgpu to 0.15
* Fix the panic described in #330
* Specify `min_binding_size` since we know what it is.
2023-01-27 21:49:40 -08:00
Jay Oster
6055a21e6c
Fix minimal-egui rendering ( #327 )
2022-12-17 21:43:06 -08:00
Jay Oster
6f4fa6c967
Fix invalid texture sizes ( #250 )
...
- Makes methods fallible when they create textures.
- Correctly handle window resize in fltk example.
- TODO: tests
- Closes #240
2022-12-17 20:21:28 -08:00
Jay Oster
5c2985f1b6
Update all dependencies in the workspace ( #323 )
2022-12-17 17:35:02 -08:00
David Cristofaro
e8d5cf3ebc
Bump wgpu from 0.13
to 0.14
( #320 )
...
* feat(wgpu): upgrade wgpu from 13 to 14
* Address feedback
* Bump tao in `minimal-tao` example
* Bump fltk in `minimal-fltk` example
* Bump egui in `minimal-egui` example
* Bump MSRV to `1.65`
* Bump crates in `imgui-winit` example
* Delete `minimal-sdl2` example
* Fix clippy lints
* Update examples/minimal-egui/src/gui.rs
Co-authored-by: Zageron <hello@zageron.ca>
Co-authored-by: Jay Oster <jay@kodewerx.org>
2022-12-17 13:50:11 -08:00
Jay Oster
a2c639823f
Update winit 0.27 ( #302 )
...
* Update winit 0.27
Closes #292
This _does not_ update `winit` in the `imgui-winit` example. See https://github.com/parasyte/pixels/pull/302#issuecomment-1264483040 for discussion.
2022-10-01 14:27:21 -07:00
Jay Oster
051a523ee6
Update wgpu to 0.13 ( #300 )
...
* Intial work towards wgpu 0.13
* Increase MSRV for egui
* Add missing texture formats
* Update fermium
- Replaces beryllium with our own hand-rolled high-level abstraction
layer for SDL2.
* Update dependencies
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
2022-08-17 17:30:04 -07:00
Alex
0b380b637d
Allow accessing frame on immutable buffer ( #288 )
...
* Allow accessing frame on immutable buffer
* Rename `get_frame` to `get_frame_mut`
* Use `get_frame_mut` in examples
2022-08-14 15:44:23 -07:00
Jay Oster
af821c9e49
Update egui to 0.18 ( #281 )
...
* Update egui to 0.18
- Closes #278
* Bump MSRV to 1.60.0 for egui
2022-06-13 21:03:06 -07:00
Jay Oster
5c1600926e
Update dependencies ( #272 )
...
* Update dependencies
- Closes #270
* Unify controls in Invaders example
The fire button on gamepads was allowing trapid fire when holding the
button. Keyboard controls required the fire key to be released between
each shot fired. This commit fixes the difference by making the gamepad
fire button act like the keyboard fire key.
2022-04-25 05:04:51 -07:00
Jay Oster
ebd2bdbd04
Update egui ( #264 )
2022-03-20 13:24:20 -07:00
Jay Oster
c1962ae35c
Update dependencies ( #230 )
...
* Move to Edition 2021
* Update `wgpu`, `raw-window-handle`, and all dependencies for the examples
* Update MSRV
* Closes #244
2021-12-31 14:57:57 -08:00
Jay Oster
6662fec55b
Set default device limits to downlevel_webgl2_defaults
( #223 )
...
- Fixes #139
- See also #115
2021-11-12 11:01:32 -08:00
Jay Oster
eb07e61f5c
Update egui to 0.15 ( #217 )
...
- Replaces `egui_winit_platform` with `egui-winit`
- Renames the example package to avoid crate name collision
2021-10-26 19:21:58 -07:00