Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove our buffer clipping logic #56

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

ErikReider
Copy link
Member

The user should use wlr_scene_subsurface_tree_set_clip instead.

Causes some weird glitching when resizing GTK4 applications

The user should use wlr_scene_subsurface_tree_set_clip instead
@ErikReider ErikReider added the bug Something isn't working label Aug 14, 2024
@ErikReider ErikReider self-assigned this Aug 14, 2024
Copy link
Member

@WillPower3309 WillPower3309 left a comment

Choose a reason for hiding this comment

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

LGTM!

@WillPower3309 WillPower3309 merged commit 230c804 into main Aug 23, 2024
ErikReider added a commit that referenced this pull request Sep 11, 2024
@ErikReider ErikReider deleted the remove-old-xdg-geo-clipping branch September 11, 2024 18:07
ErikReider added a commit that referenced this pull request Nov 15, 2024
* Add wlr_scene blur impl

* Added initial implementation of per output optimized blur

* Added ability to only re-render optimized blur on a specific output

* Fixed segfault if scene_buffer doesn't contain a scene_surface

* Added support for wlr_scene_subsurface_tree_set_clip. Fixes blur not being clipped after #56

* Added optimized blur example to tinywl

* Fixed blur opaque region not being correct for non scene_surfaces

* Renamed wlr_scene_blur to wlr_scene_optimized_blur

* Fixed optimized blur not being clipped

* Renamed enum WLR_SCENE_NODE_BLUR -> WLR_SCENE_NODE_OPTIMIZED_BLUR

* Fixed silly bug where setting num_passes to the default value wouldn't update

* Translate toplevel opaque_region to compensate for GTK CSD

* Set optimized blur node to always visible

* Fixed not optimized blur being restricted to damage

* Fixed blur corner rounding not matching scene_buffer

* Renamed should_blur -> scene_buffer_is_blur_enabled

* Simplified method of getting buffer opaque region

* Don't always update the optimized blur when setting buffer blur state

* Skip re-rendering optimized blur when the blur node is disabled

* Fixed blur detection only working for wlr_scene_surface nodes

* Use transformed output size when extending blur damage

* Don't update the scene node twice when updating optimized size

* TinyWL: skip commit on initial_commit

Fixes setting size of border and shadow nodes too early, leading to the
optimized blur example not working with GTK4 toplevels.

* Rebase: wlroots 0.18.1 (#55)

* updated flake for wlroots 0.18

* rebase: wlroots 0.18.1 (#55)

* rebase fix

* fix2

* Lowered version to 0.1

I'll let Will bump the version instead :)

---------

Co-authored-by: William McKinnon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants