-
Notifications
You must be signed in to change notification settings - Fork 22
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
Switch to wlr scene-graph #50
Commits on Jul 30, 2022
-
output: While destroying, destroy layers
Also handle NULL output in output_damage(). Co-authored-by: Uks2 <tom@tomg.xyz>
Configuration menu - View commit details
-
Copy full SHA for 398e0f1 - Browse repository at this point
Copy the full SHA 398e0f1View commit details -
Remove API that relies on our rendering
This is a preparation for switching to the wlroots scene-graph. There is no replacement planned for output:redraw() because it will no longer be necessary (as far as i can tell), while scene-compatible replacements for the view pre_render/post_render events are planned.
tiosgz committedJul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 7c98b5e - Browse repository at this point
Copy the full SHA 7c98b5eView commit details -
With the migration to wlr_scene, some objects (desktop, output etc) will no longer have any reason to care about individual shells and similar; handling each one on its own would introduce code that is, from their perspective, over-complicated. Strata (sg. stratum; this name was chosen to avoid confusion with the over-used 'layer') represent logical layers of surfaces on the desktop, such as every layer shell layer, one for xdg shell, another for popups.
tiosgz committedJul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 8c191d2 - Browse repository at this point
Copy the full SHA 8c191d2View commit details -
Keep an up-to-date wlr scene-graph
At the moment it isn't used at all and a lot of data is duplicated. This is a temporary state introduced for nicer diff separation into several commits.
tiosgz committedJul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for f144eb1 - Browse repository at this point
Copy the full SHA f144eb1View commit details -
Apart from removing a lot of code, this commit also introduces (thanks to wlr_scene) fine-grained damage tracking. The lack of our own rendering code will only be an issue if the need for custom effects (such as blur) arises; however, that's very unlikely and it would probably require a lot of changes anyway.
tiosgz committedJul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 670b63b - Browse repository at this point
Copy the full SHA 670b63bView commit details -
Prefer wlr_scene as the source of truth
Use it for getting the surface under cursor, position of surfaces, etc.
tiosgz committedJul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for b82e612 - Browse repository at this point
Copy the full SHA b82e612View commit details -
Move popup unconstraining logic
tiosgz committedJul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for a8a8282 - Browse repository at this point
Copy the full SHA a8a8282View commit details -
Cleanup unneeded code after switching to wlr_scene
tiosgz committedJul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for ac0f6b7 - Browse repository at this point
Copy the full SHA ac0f6b7View commit details -
Support protocols made easy by wlr_scene
tiosgz committedJul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 8dcfffb - Browse repository at this point
Copy the full SHA 8dcfffbView commit details -
tiosgz committed
Jul 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 37312b9 - Browse repository at this point
Copy the full SHA 37312b9View commit details