Releases: parasyte/pixels
Releases · parasyte/pixels
0.14.0
0.13.0
0.12.1
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 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/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()
andPixels::resize_surface()
returnResult<_, TextureError>
. (#250)Pixels::resize_buffer()
no longer panics on invalid inputs. (#250)
Contributors 💖:
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.
- Use the
- Rename
get_frame()
toget_frame_mut()
(#288)
Contributors 💖:
0.9.0
0.8.0
Features:
- The default device limits are now compatible with WebGL2 and Raspberry Pi 4. (#226)
- Added async
Pixels
andPixelsBuilder
methods for WASM targets (Thanks @MarkAnthonyM for your support!) (#218)
Breaking changes: