parasyte/pixels
 Watch   
 Star   
 Fork   
2025-01-08 15:48:30
pixels

0.15.0

Breaking changes:

  • Update wgpu to 0.19 (#391)

Contributors 💖:

@mkrasnitski

2024-09-23 05:10:30
pixels

0.14.0

Features:

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

Breaking changes:

  • Update wgpu to 0.17 (#378)

Contributors 💖:

  • @barzamin
  • @Kanabenki
2023-06-13 05:27:41
pixels

0.13.0

Breaking changes:

  • Update wgpu to 0.16 (#337)
2023-04-17 12:10:25
pixels

0.12.1

Fixes:

  • Enable all wgpu backends by default (#356)
2023-03-22 15:15:38
pixels

0.12.0

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 💖:

  • @AndroGR
  • @imizao
2022-12-18 13:45:20
pixels

0.11.0

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:

Contributors 💖:

  • @Zageron
  • @dtcristo
2022-10-29 08:10:03
pixels

0.10.0

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 💖:

  • @AnonymousDapper
  • @JMS55
  • @squ1dd13
2022-01-01 08:18:01
pixels

0.9.0

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
2021-11-17 04:13:40
pixels

0.8.0

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)
2021-10-09 03:11:43
pixels

0.7.0

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)