Open robertpfeiffer opened 1 year ago
Should toggle_fullscreen() change the display surface resolution? Should toggle_fullscreen change the display surface resolution with resizeable?
I checked with MangoHUD. It works perfectly and as expected on XFCE+X11. No jitter, no tearing.
Same on wayland. Just works.
KMS/DRM also works. This is the only platform where vsync actually makes a difference for tearing. On Sway and X11, it doesn't tear, but it just renders extra frames at 90 FPS. On KMSDRM, it tears in two places at once at 90 FPS, and in one place at 30 FPS. My screen is set to 60 FPS.
Adaptive vsync is not possible with Renderer
@MyreMylar @Mega-JC Any thoughts on these?
SDL_GetCurrentDisplayMode
maybe aspg.display.get_refresh_rate() -> int