0.15.0
Breaking changes:
- Update wgpu to 0.19 (#391)
Contributors 💖:
@mkrasnitski
0.14.0
Features:
- Added
wgpu::PresentModegetter/setter APIs. (#373)
Breaking changes:
- Update
wgputo 0.17 (#378)
Contributors 💖:
- @barzamin
- @Kanabenki
0.12.0
Features:
- Added wgpu
adaptergetter 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
wgputo 0.15 (#332) - Remove get_ and set_ prefixes from public APIs (#341)
-
Pixels::get_frame()is nowPixels::frame() -
Pixels::get_frame_mut()is nowPixels::frame_mut() -
Pixels::set_clear_color()is nowPixels::clear_color()
-
Contributors 💖:
- @AndroGR
- @imizao
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/webglfeature flag is automatically enabled on WASM targets. (#320, #276)
Breaking changes:
- MSRV has increased to 1.65.0 (https://github.com/parasyte/pixels/pull/320)
- Update
wgputo 0.14 (https://github.com/parasyte/pixels/pull/320) Pixels::Erroris now marked#[non_exhaustive](#250)Pixels::resize_buffer()andPixels::resize_surface()returnResult<_, TextureError>. (#250)Pixels::resize_buffer()no longer panics on invalid inputs. (#250)
Contributors 💖:
- @Zageron
- @dtcristo
0.10.0
Features:
- Decouple render format from surface format (#257)
- Make
BlendStateconfigurable (#260) - Allow immutable access to the internal frame buffer (#288)
Breaking changes:
- MSRV has increased to 1.61.0 (#300)
- Update
wgputo 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.
- Use the
- Rename
get_frame()toget_frame_mut()(#288)
Contributors 💖:
- @AnonymousDapper
- @JMS55
- @squ1dd13
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
wgputo 0.12 (#230) -
wgpu::BlendStatehas changed fromREPLACEtoALPHA_BLEND, requiring a valid alpha channel in the pixel buffer for correct rendering. (#236) cf. #305
0.8.0
Features:
- The default device limits are now compatible with WebGL2 and Raspberry Pi 4. (#226)
- Added async
PixelsandPixelsBuildermethods for WASM targets (Thanks @MarkAnthonyM for your support!) (#218)
Breaking changes:
- Make
SurfaceSizeprivate (#220) -
Pixels::render()andrender_with()now borrow the struct immutably (#222)