Commit Graph
5045 Commits
Author SHA1 Message Date
Henrik Rydgård c3dfddebd7 IR interpreter: Improve code gen for the main interpreter loop
Thanks to fp64 for the idea of using unreachable markers to avoid the
range check on the switch!

Additionally, use it in a few more places.
2025-10-15 21:15:30 +02:00
Henrik Rydgård 58f55ae44b Enable exception handling on Windows ARM64
Simpler than expected. We don't really make any advanced use of the
context currently so I guess it makes sense.

See #20854
2025-10-07 10:56:23 -06:00
Henrik Rydgård b4b9ae2d3c Fix the OnClick behavior on checkboxes, oops. Fixes cheats. 2025-09-30 12:38:38 -05:00
Henrik Rydgård 1efd0b95b8 Improve logging of UI atlas generation, don't generate debug png (oops) 2025-09-23 13:40:39 -06:00
Henrik Rydgård 10b0d94940 Remove some redundant code, minor optimization 2025-09-23 11:10:46 -06:00
Henrik Rydgård 233a9b0df8 Merge pull request #20824 from hrydgard/svg-icons
Load UI atlas images from SVG : proof of concept
2025-09-22 15:57:09 -06:00
Henrik Rydgård 27ed337d99 Move more pngs into the images.svg file 2025-09-22 15:24:10 -06:00
Henrik Rydgård 30392cd0ed Merge pull request #20826 from oltolm/warn
fix compiler warnings
2025-09-22 10:09:03 -06:00
Henrik Rydgård 4a50174d14 Support dpi scaling in SVG atlas generation 2025-09-20 10:00:05 -06:00
Henrik Rydgård 0bb70de3f0 Correct the drop shadow 2025-09-19 11:23:48 -06:00
Henrik Rydgård e03de7b9da Add some quick and dirty drop shadow code. Now the generated images look good! 2025-09-19 10:57:29 -06:00
Henrik Rydgård 74874bb81e Test a multi-shape image 2025-09-19 10:31:51 -06:00
Henrik Rydgård 9fa7a8880a Include nanosvg in MSVC project 2025-09-19 10:31:51 -06:00
oltolm de3abcf579 fix compiler warnings 2025-09-19 11:36:11 +02:00
Henrik Rydgård bceb989811 Remove ImageDesc from AtlasGen.cpp/h 2025-09-18 11:26:19 -06:00
Henrik Rydgård ca2a7c93a0 Make ToAtlasImage a global function instead of a method on ImageDesc 2025-09-18 11:03:50 -06:00
Henrik Rydgård 95703d2d9c Delete "C++ table" output from atlastool 2025-09-18 10:58:27 -06:00
Henrik Rydgård 641fa40d82 Runtime atlas gen: Reorganize, remove global_id 2025-09-17 10:46:08 -06:00
Henrik Rydgård 52f2475353 Remove the LoadImage method (the two users have quite different needs) 2025-09-17 10:37:42 -06:00
Henrik Rydgård 0298536efa Separate images from data in bucketer 2025-09-17 10:28:08 -06:00
Henrik Rydgård d2512817bd checkpoint 2025-09-17 10:10:59 -06:00
Henrik Rydgård 81819642d8 Minor cleanups 2025-09-17 10:01:00 -06:00
Henrik Rydgård 92f5db7445 Remove further references to the fixed ui_atlas. CMakeLists.txt improvements. 2025-09-17 09:56:17 -06:00
Henrik Rydgård 21354c8671 Add a way to force recreating the UI atlas in developer tools 2025-09-17 09:49:54 -06:00
Henrik Rydgård 82cf6d7c17 AtlasGen: Remove Effect support 2025-09-17 09:49:54 -06:00
Henrik Rydgård 52c4c31508 Runtime atlas generation 2025-09-17 09:49:54 -06:00
Henrik Rydgård daa593bdcb Invert the relationship for loading atlas textures 2025-09-15 12:42:11 -06:00
Henrik Rydgård 947ddf865f Extract some duplicated code into a pngSave function 2025-09-15 11:46:54 -06:00
Henrik Rydgård a354a694b3 UIContext: Fix comment, null-initialize theme just because. 2025-09-15 11:42:42 -06:00
Henrik Rydgård 58456ae950 Remove the UI::EventReturn return values. Makes editing the UI nicer. 2025-09-15 11:09:00 -06:00
Henrik Rydgård 730fd4754e Events now only have one handler, remove the neeed for event chaining in CheckBox 2025-09-15 10:33:18 -06:00
Henrik Rydgård c17fb20ac5 Remove UI::EVENT_SKIPPED, not any real need for it 2025-09-15 10:15:08 -06:00
Henrik Rydgård e78341b822 Hide theme behind an accessor (so we can expose it only as const) 2025-09-15 09:31:18 -06:00
Henrik Rydgård e39c78dab2 Remove the ability of themes to control the UI atlas (temporary) 2025-09-13 19:58:07 -06:00
Henrik Rydgård c7aa2bcd01 Merge pull request #20808 from hrydgard/atlas-in-common
Move some image atlas generation logic to Common/Render
2025-09-12 13:06:15 -06:00
Henrik Rydgård f856beb157 Move a lot of the atlas logic to Common/Render/AtlasGen.cpp/h, code
cleanup
2025-09-12 12:17:11 -06:00
Henrik Rydgård 1432d4352c Merge pull request #20798 from hrydgard/android-shortcut-icons
Android shortcuts: Fix so that setting icons work even if PPSSPP isn't running
2025-09-12 11:29:50 -06:00
Henrik Rydgård 96fb50b655 On the pause screen, if no other banner is visible, move the save buttons down a bit.
This makes them easier to hit when there's a pulldown or something in
the way, which there often is on Android.
2025-09-10 12:19:09 -06:00
Henrik Rydgård 073ef61643 Merge the two functions, fix JNI lifetime issues
Fixes the last part of #10885 finally.
2025-09-05 10:31:51 +02:00
Henrik Rydgård 2a7dad43c6 WIP: Turn the methods into static methods. 2025-09-05 10:31:27 +02:00
Henrik Rydgård 7df5941531 Correctly convert one AndroidStorage method into static 2025-09-05 10:31:27 +02:00
Henrik Rydgård 44902bffdd Make logging work in these callbacks, and clarify the future solution 2025-09-05 10:31:27 +02:00
Henrik Rydgård 14016f84df Comments 2025-09-04 11:24:43 +02:00
Henrik Rydgård 33b87578c5 Revive old alignment utility functions, give them better names. 2025-09-03 20:48:51 +02:00
Henrik Rydgård 2086326c75 Make use of constexpr in the ENUM_CLASS_BITOPS macro 2025-09-03 10:16:34 +02:00
Henrik Rydgård 4aaf44dd02 Warning fixes 2025-09-02 13:26:04 +02:00
Henrik Rydgård 6f76c579fc Delete dead code, more std::string_view 2025-09-01 00:15:23 +02:00
Henrik Rydgård 4da2c4e629 Better logging in OpenCFile 2025-09-01 00:15:04 +02:00
Henrik Rydgård 4aec1d1798 Some contentUri function cleanup 2025-09-01 00:15:04 +02:00
Henrik Rydgård 8e4ae1c067 LogManager: Fix bug where we accidentally opened a log file even if not enabled. 2025-09-01 00:15:04 +02:00