Skip to content

Conversation

@noelgbl
Copy link

@noelgbl noelgbl commented Jan 3, 2026

This update introduces a new resized_window field in MasonryState to track the state of window resizing. The on_window_resize_state_change method in RenderContext is added to handle the resizing behavior for surfaces, particularly for macOS/Metal to avoid rendering artifacts during interactive resizing.

…text`

This update introduces a new `resized_window` field in `MasonryState` to track the state of window resizing. The `on_window_resize_state_change` method in `RenderContext` is added to handle the resizing behavior for surfaces, particularly for macOS/Metal to avoid rendering artifacts during interactive resizing. This change enhances the rendering pipeline's responsiveness to window size changes.
Copy link
Contributor

@PoignardAzur PoignardAzur left a comment

Choose a reason for hiding this comment

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

This seems fine? I don't have a Mac on hand to test this on, so I'd appreciate if someone could test this.

/// Windows that are scheduled to be created in the next resumed event.
new_windows: Vec<NewWindow>,
need_first_frame: Vec<HandleId>,

Copy link
Contributor

Choose a reason for hiding this comment

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

Remove extra line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants