libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
9.98k stars 1.84k forks source link

KMSDRM mouse reduces framerate while moving #4984

Open slouken opened 2 years ago

slouken commented 2 years ago

The DRM calls to move the mouse block waiting for vsync, so if you're moving the mouse you suddenly get a huge drop in framerate. The fix is to use atomic DRM support if available.

slouken commented 2 years ago

Ryan, can you create a PR for your merged atomic API code?