Skip to content

Releases: parasyte/pixels

0.14.0

22 Sep 21:16
9bdf8a2
Compare
Choose a tag to compare

Features:

  • Added wgpu::PresentMode getter/setter APIs. (#373)

Breaking changes:

  • Update wgpu to 0.17 (#378)

Contributors 💖:

0.13.0

13 Jun 04:40
39e84aa
Compare
Choose a tag to compare

Breaking changes:

  • Update wgpu to 0.16 (#337)

0.12.1

17 Apr 04:12
cbda7df
Compare
Choose a tag to compare

Fixes:

  • Enable all wgpu backends by default (#356)

0.12.0

22 Mar 07:32
96eef39
Compare
Choose a tag to compare

Features:

  • Added wgpu adapter getter API (#340)

Fixes:

  • Fix a panic in the scaling matrix creation when the surface height is smaller than the texture height (#330, #332)
  • Fix random errors from pixels.render() on some platforms (#348, #346)
  • Always prefer an sRGB surface texture format, not just the first format provided by wgpu. (#332)

Breaking changes:

  • Update wgpu to 0.15 (#332)
  • Remove get_ and set_ prefixes from public APIs (#341)
    • Pixels::get_frame() is now Pixels::frame()
    • Pixels::get_frame_mut() is now Pixels::frame_mut()
    • Pixels::set_clear_color() is now Pixels::clear_color()

Contributors 💖:

0.11.0

18 Dec 06:24
864a9c3
Compare
Choose a tag to compare

Fixes:

  • Vsync enable/disable is better supported on all platforms except Web, where Vsync is required (#325, #263)
  • Invalid texture sizes no longer panic. Methods are now fallible when they create textures. (#250, #240)
  • The wgpu/webgl feature flag is automatically enabled on WASM targets. (#320, #276)

Breaking changes:

  • MSRV has increased to 1.65.0 (#320)
  • Update wgpu to 0.14 (#320)
  • Pixels::Error is now marked #[non_exhaustive] (#250)
  • Pixels::resize_buffer() and Pixels::resize_surface() return Result<_, TextureError>. (#250)
  • Pixels::resize_buffer() no longer panics on invalid inputs. (#250)

Contributors 💖:

0.10.0

29 Oct 15:52
0a85025
Compare
Choose a tag to compare

Features:

  • Decouple render format from surface format (#257)
  • Make BlendState configurable (#260)
  • Allow immutable access to the internal frame buffer (#288)

Breaking changes:

  • MSRV has increased to 1.61.0 (#300)
  • Update wgpu to 0.13 (#300)
  • render_texture_format() no longer sets the texture format for the surface.
    • Use the surface_texture_format() builder method to change the surface texture format.
  • Rename get_frame() to get_frame_mut() (#288)

Contributors 💖:

0.9.0

01 Jan 00:53
6cc4356
Compare
Choose a tag to compare

Features:

  • Make the background/border color configurable, and support basic alpha blending (#236)
  • Refactor vertex attributes in the scaling renderer (#228, #229, #246)

Fixes:

  • Fix half-pixel offsets in scaling renderer (#231)

Breaking changes:

  • Require Edition 2021 (#230)
  • Update wgpu to 0.12 (#230)
  • wgpu::BlendState has changed from REPLACE to ALPHA_BLEND, requiring a valid alpha channel in the pixel buffer for correct rendering. (#236) cf. #305

0.8.0

16 Nov 21:00
fa03a61
Compare
Choose a tag to compare

Features:

  • The default device limits are now compatible with WebGL2 and Raspberry Pi 4. (#226)
  • Added async Pixels and PixelsBuilder methods for WASM targets (Thanks @MarkAnthonyM for your support!) (#218)

Breaking changes:

  • Make SurfaceSize private (#220)
  • Pixels::render() and render_with() now borrow the struct immutably (#222)

0.7.0

08 Oct 19:20
0295a54
Compare
Choose a tag to compare

Breaking changes:

  • Update wgpu to 0.11 (#209)
  • Add user-defined errors for render functions (#196, #197)
  • Replace PIXELS_HIGH_PERF and PIXELS_LOW_PERF environment variables with wgpu vars (#198)

0.6.0

02 Sep 04:12
b7e0142
Compare
Choose a tag to compare

Fixes:

  • Properly clip pixel buffer when larger than surface texture (#190)

Breaking changes:

  • Updated wgpu to 0.10 (#187)