Commit Graph

359 Commits

Author SHA1 Message Date
Luke Street 449e7bf9b9 Quantize & constant fold alpha comparisons 2026-05-10 12:40:31 -06:00
Julio Sanz 8444ecdc64 added support for symlinks in linux (#167) 2026-05-10 10:55:10 -06:00
Pieter-Jan Briers d61a1824ac Fix handling of Unicode paths on Windows (#166)
* Fix handling of Unicode paths on Windows

I love C++

* Reduce the amount of reinterpret_casts

* Okay? Don't commit the file CLion? Why not?

* Fix texture replacements too
2026-05-10 10:54:59 -06:00
Luke Street 22c2e5e55a Add shims for macOS 14 support 2026-05-10 00:27:54 -06:00
Luke Street 398054316e Revert "Prefer Vulkan over D3D12"
This reverts commit 63606a4326.
2026-05-10 00:00:06 -06:00
Luke Street f4ea5f31fa Don't create texture_dumps unless enabled 2026-05-09 23:49:11 -06:00
Luke Street 63606a4326 Prefer Vulkan over D3D12 2026-05-09 20:26:26 -06:00
Phillip Stephens 9a79c8a0da Fix GameCube mappings for digital L/R and Z 2026-05-09 16:34:09 -07:00
Luke Street ac165cf1a6 Hold SDL's Android activity lock around surface-critical areas 2026-05-09 15:02:38 -06:00
Phillip Stephens 022a271f71 Add new mapping for NSO Gamecube and special case it (#165)
* Add new mapping for NSO Gamecube and special case it

* No need to swap a/y for NSO Gamecube
2026-05-09 13:36:40 -07:00
Phillip Stephens bd46867176 Add support for setting default mappings per-type (#164)
* Add support for setting default mappings per-type

Adds a new enum and getter, as well as updates PADSetDefaultMapping to take the new enum.

I haven't set the mappings for each controller type just yet as we'll need to experiment with that.
That being said we can at least fix the gamecube mapping

* Correct GameCube controller default mapping (swap b/x)

* Fix struct forward decl

* Remove unnecessary todo
2026-05-09 12:53:40 -07:00
Luke Street 9413f24f65 Stop caching ShaderModules and rely on Dawn cache 2026-05-09 09:45:13 -06:00
Luke Street 06722fb169 More gracefully handle buffer mapping errors 2026-05-09 09:18:05 -06:00
Luke Street 1eeff98783 Android/iOS backgrounding fixes; pause on focus lost 2026-05-08 16:55:12 -06:00
Luke Street 17be93f0ae ImGui: Redirect file access through SDL_IOStream 2026-05-08 00:27:45 -06:00
Luke Street 18dc51234f RmlUi: Disable MSAA for now 2026-05-07 22:54:56 -06:00
Luke Street c4762319fc RmlUi: Improve blur shader 2026-05-07 22:33:19 -06:00
Luke Street 720588446f RmlUi: Fix MSAA sample count 2026-05-07 17:22:37 -06:00
Luke Street a548a616b4 RmlUi: Accuracy, performance & MSAA 2026-05-07 17:19:12 -06:00
TakaRikka e88aa6b1b3 allow building with MTX_USE_PS (#162) 2026-05-07 10:25:01 -06:00
TakaRikka 69fcfbffc2 add a couple PS versions of vec functions (#161) 2026-05-06 21:18:44 -06:00
Luke Street 552be91d68 Fix SDL_Renderer scaling & surface format selection 2026-05-06 16:35:54 -06:00
Phillip Stephens 1ff4041a4b Refactor keyboard and controller bindings to use SDL streams instead of FILE primitives (#160) 2026-05-06 10:59:18 -07:00
Phillip Stephens b78bbf3f58 Add controller charge state and ext button support (#159)
* Add controller charge state and ext button support

* revert field rename

* Make button fields consistent

* Actually add PADGetBatteryState

* Fix PADGetBatteryState return value

* Handle SDL_GetGamepadPowerInfo returning -1

* Use u32 instead of u16 for extButton so constants don't collide

* Add PADExtButton typedef
2026-05-06 01:37:26 -07:00
Luke Street 4cd8d2f009 Refactor viewport fit handling; use game viewport for RmlUi 2026-05-05 23:13:31 -06:00