Skip to content

Conversation

@waywardmonkeys
Copy link
Contributor

  • Add WgpuLimits and expose it via masonry_winit::app
  • Add MasonryState::{set_wgpu_device_options, add_wgpu_features, set_wgpu_limits} to configure requested wgpu::Features and limits before device creation
  • Thread requested features/limits through RenderContext::new_device (best-effort features via intersection with adapter features)

@waywardmonkeys waywardmonkeys requested a review from xStrom January 22, 2026 15:57
@waywardmonkeys waywardmonkeys force-pushed the masonry-winit-allow-wgpu-device-configuration branch 2 times, most recently from 097fb1c to b6f097f Compare January 22, 2026 16:04
Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, but the public docs need a bit of clarity.

- Add `WgpuLimits` and expose it via `masonry_winit::app`
- Add `MasonryState::{set_wgpu_device_options, add_wgpu_features, set_wgpu_limits}`
  to configure requested `wgpu::Features` and limits before device creation
- Thread requested features/limits through `RenderContext::new_device` (best-effort
  features via intersection with adapter features)
@waywardmonkeys waywardmonkeys force-pushed the masonry-winit-allow-wgpu-device-configuration branch from b6f097f to 134f3f2 Compare January 23, 2026 00:29
@waywardmonkeys waywardmonkeys added this pull request to the merge queue Jan 23, 2026
Merged via the queue into linebender:main with commit 12e09b0 Jan 23, 2026
17 checks passed
@waywardmonkeys waywardmonkeys deleted the masonry-winit-allow-wgpu-device-configuration branch January 23, 2026 09:47
@waywardmonkeys waywardmonkeys added the masonry Issues relating to the Masonry widget layer label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

masonry Issues relating to the Masonry widget layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants