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

Fixed case when user get low refresh rate with VRR capable display. #475

Merged
merged 3 commits into from
Feb 4, 2022

Conversation

Rsedaikin
Copy link
Contributor

To disable VRR support, we create a transparent JPanel with size (1, 1) and add it on top of the SkiaLayer. This causes mixed rendering technologies (java2d and OpenGL/DirectX) to work simultaneously in the same window and VRR cannot be enabled.
see:

@Rsedaikin Rsedaikin merged commit 70f772a into master Feb 4, 2022
@Rsedaikin Rsedaikin deleted the gsync-vrr-display-locker branch February 4, 2022 16:30
Rsedaikin added a commit that referenced this pull request Feb 7, 2022
Rsedaikin added a commit that referenced this pull request Feb 7, 2022
manu-unter pushed a commit to manu-unter/skiko that referenced this pull request May 16, 2022
…etBrains#475)

To disable VRR support, we create a transparent JPanel with size (1, 1) and add it on top of the SkiaLayer. This causes mixed rendering technologies (java2d and OpenGL/DirectX) to work simultaneously in the same window and VRR cannot be enabled.
see:
JetBrains/compose-multiplatform#1648
https://youtrack.jetbrains.com/issue/TBX-6507#focus=Comments-27-5482439.0-0
manu-unter pushed a commit to manu-unter/skiko that referenced this pull request May 16, 2022
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