-
Notifications
You must be signed in to change notification settings - Fork 419
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
Upgrade to SDL3 #6234
Upgrade to SDL3 #6234
Commits on Apr 7, 2024
-
Convert SDL2 usages to
using static
This helps with migrating enums, as ClangSharp doesn't put them in the `SDL3` class.
Configuration menu - View commit details
-
Copy full SHA for 392703f - Browse repository at this point
Copy the full SHA 392703fView commit details -
Run SDL
build-scripits/rename_symbols.py
This renames SDL2 symbols to SDL3 names.
Configuration menu - View commit details
-
Copy full SHA for dc7ce4e - Browse repository at this point
Copy the full SHA dc7ce4eView commit details
Commits on Apr 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e936173 - Browse repository at this point
Copy the full SHA e936173View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4172d68 - Browse repository at this point
Copy the full SHA 4172d68View commit details -
Update pointer types from IntPtr to specific ones
Also adds a bunch of `unsafe` /shrug
Configuration menu - View commit details
-
Copy full SHA for 95c9f57 - Browse repository at this point
Copy the full SHA 95c9f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3706de - Browse repository at this point
Copy the full SHA b3706deView commit details -
Use function pointers for callback functions
`WindowsMouseHandler` is not updated as it's on the chopping block.
Configuration menu - View commit details
-
Copy full SHA for 57112d0 - Browse repository at this point
Copy the full SHA 57112d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for efdd370 - Browse repository at this point
Copy the full SHA efdd370View commit details -
Configuration menu - View commit details
-
Copy full SHA for c473ac0 - Browse repository at this point
Copy the full SHA c473ac0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78ba63d - Browse repository at this point
Copy the full SHA 78ba63dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce55edf - Browse repository at this point
Copy the full SHA ce55edfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6302046 - Browse repository at this point
Copy the full SHA 6302046View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e8ea1 - Browse repository at this point
Copy the full SHA 66e8ea1View commit details -
Remove manual Window raw mouse handling
This is done by SDL now, and the raw input event don't get reported by `SDL_SetWindowsMessageHook`.
Configuration menu - View commit details
-
Copy full SHA for 0923e41 - Browse repository at this point
Copy the full SHA 0923e41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fb51d0 - Browse repository at this point
Copy the full SHA 2fb51d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e78180 - Browse repository at this point
Copy the full SHA 0e78180View commit details -
Configuration menu - View commit details
-
Copy full SHA for 731a0dc - Browse repository at this point
Copy the full SHA 731a0dcView commit details -
Change
DisplayMode.RefreshRate
tofloat
Both osuTK and SDL3 use floats.
Configuration menu - View commit details
-
Copy full SHA for eb734d2 - Browse repository at this point
Copy the full SHA eb734d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0830de - Browse repository at this point
Copy the full SHA b0830deView commit details -
Store display ID instead of index
Still doesn't fix all compile problems.
Configuration menu - View commit details
-
Copy full SHA for 6f8b5dc - Browse repository at this point
Copy the full SHA 6f8b5dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d19fa6e - Browse repository at this point
Copy the full SHA d19fa6eView commit details -
Update ensureWindowOnDisplay() logic and add helper to fetch display …
…at specific index
Configuration menu - View commit details
-
Copy full SHA for 47be5b6 - Browse repository at this point
Copy the full SHA 47be5b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 095a413 - Browse repository at this point
Copy the full SHA 095a413View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e24e8f - Browse repository at this point
Copy the full SHA 2e24e8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e27bfc5 - Browse repository at this point
Copy the full SHA e27bfc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2c1f28 - Browse repository at this point
Copy the full SHA f2c1f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a63be8 - Browse repository at this point
Copy the full SHA 3a63be8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e50aa - Browse repository at this point
Copy the full SHA 91e50aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1593e95 - Browse repository at this point
Copy the full SHA 1593e95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45473dd - Browse repository at this point
Copy the full SHA 45473ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fc1645 - Browse repository at this point
Copy the full SHA 8fc1645View commit details -
Configuration menu - View commit details
-
Copy full SHA for c731d0c - Browse repository at this point
Copy the full SHA c731d0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40c1e41 - Browse repository at this point
Copy the full SHA 40c1e41View commit details -
Fix cursor not warping in fullscreen on Windows
This has regressed with a834f986fdba74e81aed2a76bef36f7ee30bb17d as SDL no longer provides `SDL_SYSWMEVENT` and `SDL_SetWindowsMessageHook()` is not a 1:1 replacement.
Configuration menu - View commit details
-
Copy full SHA for 5ae8946 - Browse repository at this point
Copy the full SHA 5ae8946View commit details -
Remove custom DPI awareness code
SDL3 has proper support for HiDPI and does this for us.
Configuration menu - View commit details
-
Copy full SHA for 171920f - Browse repository at this point
Copy the full SHA 171920fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd51e3c - Browse repository at this point
Copy the full SHA dd51e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9e73cb - Browse repository at this point
Copy the full SHA e9e73cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8e14e6 - Browse repository at this point
Copy the full SHA d8e14e6View commit details -
Rename
osu.Framework.Platform.SDL2
toosu.Framework.Platform.SDL
`.SDL3` has a naming conflict with `SDL3` static class
Configuration menu - View commit details
-
Copy full SHA for d16105a - Browse repository at this point
Copy the full SHA d16105aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ea78bb - Browse repository at this point
Copy the full SHA 2ea78bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d8e44 - Browse repository at this point
Copy the full SHA 79d8e44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 668fa9c - Browse repository at this point
Copy the full SHA 668fa9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b3a997 - Browse repository at this point
Copy the full SHA 6b3a997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22af688 - Browse repository at this point
Copy the full SHA 22af688View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5af283 - Browse repository at this point
Copy the full SHA d5af283View commit details