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

Refactor window setup in gamescope sessions #153

Merged

Conversation

R1kaB3rN
Copy link
Member

@R1kaB3rN R1kaB3rN commented Jul 17, 2024

Refactors the window setup a bit to speed up the window setup process by creating separate threads to monitor for broken layer sequences and newly created child windows under each display. Should result in lower the latency, making the game window display faster.

Property setting on child windows and fixing the base layer order would occur in parallel instead serially where one would block the other. Moreover, other improvements were made such as referring to the atom cache whenever possible and minimizing/reusing Xlib objects created throughout the whole window setup process.

@R1kaB3rN R1kaB3rN marked this pull request as ready for review July 18, 2024 04:03
@R1kaB3rN R1kaB3rN merged commit 9cbd15d into Open-Wine-Components:main Jul 18, 2024
6 checks passed
@R1kaB3rN R1kaB3rN deleted the refactor-gamescope-window-setup branch July 20, 2024 06:10
@R1kaB3rN R1kaB3rN mentioned this pull request Sep 5, 2024
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.

1 participant