Commit graph

22 commits

Author SHA1 Message Date
Jay Oster b387ee2044
Update lockfile (#382)
* Update lockfile

Closes #377 and #380

* Bump MSRV for `cfg-expr` 0.15.5

`cfg-expr` is a transitive dependency for `minimal-tao` on Linux.
2023-10-29 23:08:03 -05:00
Jay Oster 39e84aacbe
Prepare 0.13.0 (#365) 2023-06-12 14:27:41 -07:00
Jay Oster cbda7df53b
Prepare 0.12.1 (#357) 2023-04-16 21:10:25 -07:00
Jay Oster 96eef39a7a
Prepare 0.12.0 (#349)
* Prepare 0.12.0

* Cleanup use statements
2023-03-22 00:15:38 -07:00
Jay Oster 864a9c3491
Prepare 0.11.0 (#326) 2022-12-17 21:45:20 -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 0a85025345
Prepare 0.10.0 (#315) 2022-10-28 17:10:03 -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
Jay Oster 4ee5006481
Add rust-version (#295)
- This version is different from the MSRV. It specifies the minimum
  version required to build the crate and its direct dependencies.
- Add a CI step for building the crate alone with the oldest version
  possible.
- See MSRV.md for the policy and minimal version supported by CI,
  including all example code.
- Update all actions to checkout/v3
2022-08-01 14:59:46 -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 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 32e14dac7d
Fix CI (#245)
- Bump MSRV for https://github.com/rust-lang/rust/issues/78835
- Required by `fltk`: https://github.com/fltk-rs/fltk-rs/pull/1054
2021-12-29 20:11:41 -08:00
Jay Oster 2a4ebbf19d
Fix half-pixel offsets in scaling renderer (#231)
* Fix half-pixel offsets in scaling renderer

- This bug was very subtle. It can be hard to notice!
- Context: When the scaling renderer transformation matrix is created,
  it needs to center the image within the border.
- The previous code always evaluated the translation to (0, 0)
- This PR makes half-pixel adjustments to the translation when needed,
  making it impossible to rasterize the texture on a half-pixel
  boundary.
- I spotted this while working on pixel-aspect-ratio support, but it can
  most easily be witnessed in the `conway` example by grabbing the top
  or bottom resize handle on the window and slow dragging it up and down
  by 1-pixel-at-a-time. When you hit a half-pixel bug the entire texture
  will change slightly; some pixels will become hidden or duplicated.

* Bump MSRV
2021-12-01 21:36:56 -08:00
Jay Oster fa03a61fa3
Prepare 0.8.0 (#227) 2021-11-16 12:13:40 -08:00
Jay Oster 0295a54e30
Prepare 0.7.0 (#210) 2021-10-08 12:11:43 -07:00
Jay Oster b7e01422d4
Prepare 0.6.0 (#191) 2021-09-01 21:06:17 -07:00
Jay Oster 303f1d90f5
Prepare 0.5.0 (#183)
* Prepare 0.5.0

* Update dependencies
2021-07-17 08:57:25 -07:00
Jay Oster 355448a7f1
Update egui-winit example dependencies (#167)
* Update egui-winit example dependencies

* Update MSRV
2021-05-12 18:50:33 -07:00
Jay Oster 0b26cf015f
Update docs (#165)
- Screenshot for the `imgui-winit` example was quite outdated. Dear ImGui even has a new theme, now.
2021-05-08 19:13:30 -07:00
Jay Oster 316400e6e0
Prepare release 0.3.0 (#159)
* Try to fix CI by updating MSRV

* Prepare release
2021-05-05 00:48:25 -07:00
Jay Oster 9bfed17a7f
Various fixes (#154)
* Cargo clippy

* Fix typo
2021-03-29 00:52:43 -07:00
Jay Oster f1c286f62e
Add MSRV policy (#147)
Also updates the README to remove the "WIP" label from the custom shader feature.
2021-03-09 02:06:08 -08:00