We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have identified an issue with window contents jittering on Linux with a vertical window resize, but not with horizontal resize.
Last commit I tested with was 123306b - xsync
I experimented with several things to resolve:
GL_Swap_Interval(0); GL_SwapBuffers(); GL_Swap_Interval(1);
in the Expose event handler. This improved the jitter significantly, but did not remove it entirely.
This final experiment made the display completely jitter free.
When the if statement on line 176 is changed to
if(true) { //update projection //draw, etc... }
the jitter returns.
This has been verified on another, different Linux distro with a different video card.
It looks to me like there is some race condition or variation in the window size or origin parameters during resize - but only for vertical resizing.
Example code is available here: https://github.com/andoryu/sdl3-test
Please note the test code is in work-around state and the if statement change noted above will need to be made to make it misbehave.
The single write update flag feels like a work around and not a great solution.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have identified an issue with window contents jittering on Linux with a vertical window resize, but not with horizontal resize.
Last commit I tested with was 123306b - xsync
I experimented with several things to resolve:
in the Expose event handler. This improved the jitter significantly, but did not remove it entirely.
This final experiment made the display completely jitter free.
When the if statement on line 176 is changed to
the jitter returns.
This has been verified on another, different Linux distro with a different video card.
It looks to me like there is some race condition or variation in the window size or origin parameters during resize - but only for vertical resizing.
Example code is available here:
https://github.com/andoryu/sdl3-test
Please note the test code is in work-around state and the if statement change noted above will need to be made to make it misbehave.
The single write update flag feels like a work around and not a great solution.
The text was updated successfully, but these errors were encountered: