Skip to content

Releases: parasyte/pixels

0.5.0

17 Jul 16:46
303f1d9
Compare
Choose a tag to compare

Features:

  • Use the swapchain-preferred texture format by default (#182)

Breaking changes:

  • Updated wgpu to 0.9 (#179)

0.4.0

18 Jun 03:32
3ce4b75
Compare
Choose a tag to compare

Features:

  • Shaders are now written in WGSL, removing the need for out-of-band compiling to SPIR-V. (#172)

Breaking changes:

  • Asserts that width and height are never zero (#162)
  • Updated wgpu to 0.8 (#160)

0.3.0

05 May 08:06
316400e
Compare
Choose a tag to compare

Features:

  • Support for resizing the pixel buffer at runtime (#136)
  • Added render_texture_format builder method (#123)
  • Added several examples (#116, #118, #137, #146)

Fixes:

  • Fix matrix when creating a scaling renderer (#143)

Breaking changes:

  • Simplify public interface for Pixels struct by refactoring PixelsBuilder (#128)
  • Rename resize to resize_surface (#149)
  • Updated to wgpu 0.7 (#134)

0.2.0

21 Aug 00:37
b6526c2
Compare
Choose a tag to compare
  • Updated wgpu to 0.6.0 (Thanks @JMS55)
  • SurfaceTexture now takes a reference to an implementor of raw-window-handle instead of wgpu::Surface.
  • Removed include_spv! macro: use wgpu::include_spirv! as a direct replacement.
  • Changed custom renderer API to accept a new PixelsContext struct, which provides access to internal wgpu state.
  • The PixelsContext can also be accessed directly with pixels.context().
  • PixelsBuilder no longer has const methods (compiler limitation with generics).

0.1.0

19 Jul 21:28
1dd84cb
Compare
Choose a tag to compare

Features:

  • New low-level renderer API. (Thanks @JMS55)
  • Added a custom-shader example using the renderer API.
  • Added a builder method to set the wgpu::PresentMode explicitly.
  • Allows the GPU power preferences to be selected with environment variables if the application doesn't specify any preference.
  • Added a feature flag on all example to enable all log levels in release builds.
  • Now using pollster to handle wgpu async APIs on the main thread. (Thanks @JMS55)

Fixes:

  • Fixed Vsync on Vulkan.
  • The compatible_surface field in wgpu::RequestAdapterOptions with be assigned by the SurfaceTexture unless explicitly overridden.

0.0.4

22 May 03:10
de21862
Compare
Choose a tag to compare
  • Added builder method to enable or disable VSync
  • Added builder method to set the wgpu backend
  • Added a method to convert physical [inner] window coordinates to pixel coordinates

0.0.3

14 Apr 04:19
774b749
Compare
Choose a tag to compare
  • Updated wgpu to 0.5.0
  • Public API change: Pixels::render() is now fallible, returning a Result.
  • Changed PresentMode to Mailbox (was Vsync).

0.0.2

04 Nov 08:03
Compare
Choose a tag to compare
  • Fixed the maintenance badge

0.0.1

04 Nov 06:17
84d35e1
Compare
Choose a tag to compare
  • Initial release!