Commit Graph
208 Commits
Author SHA1 Message Date
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 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 947ddf865f Extract some duplicated code into a pngSave function 2025-09-15 11:46:54 -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 b472eb8b8b Remove a lot of unnecessary string constructors 2025-08-31 15:49:29 +02:00
Henrik Rydgård 654b11cb39 Rework the UWP Xaudio backend a bit too. 2025-06-17 01:16:09 +02:00
Henrik Rydgård ff0bf64050 Remove left-behind ampersand merging from atlas text-drawing codepath
See #20402
2025-05-29 09:54:40 +02:00
Henrik Rydgård a1453c6436 Add shiny gold icon animation 2025-05-25 11:22:04 +02:00
Henrik Rydgård 09e067c6e1 Revert "Get rid of remains of support for non-square screen DPIs"
This reverts commit f206ed95eb.
2025-05-21 21:41:50 +02:00
Henrik Rydgård fb2ac6475a Mac/ios: Use new font name (oops). Improve error checking when loading cocoa fonts 2025-05-21 14:03:04 +02:00
Henrik Rydgård 751e4fad2e Move more of GPU init to the loader thread. Some log cleanup. 2025-05-15 11:43:37 +02:00
Henrik Rydgård bddd3c2a30 Minor stuff 2025-04-17 18:45:55 +02:00
Henrik Rydgård 2e0ca023ae Build warning fixes 2025-04-17 11:05:52 +02:00
Henrik Rydgård f2d35d204b SDL text renderer: Add some sanity checks. 2025-04-11 10:58:21 +02:00
Henrik Rydgård 531842f577 Add font cache stats to "internals" screen 2025-04-09 12:40:10 +02:00
Henrik Rydgård 580cd954e0 Fix another carriage-return-related bug in the Android code. 2025-03-29 19:12:32 +01:00
Henrik Rydgård 1bd0ebd600 Code cleanup (remove .c_str()) 2025-03-29 18:48:35 +01:00
Henrik Rydgård 82f6ff5170 Fix reported line break issue on Windows 2025-03-29 18:48:27 +01:00
Henrik Rydgård 098869f5ec Improve the look of drop shadows on too-small windows. 2025-03-28 10:48:23 +01:00
Henrik Rydgård d156a5e98f libpng full api: Remember to enable interlace handling, fix error handling
I hate hate hate libpng's API with all passion in the world. Why are all
the defaults wrong?
2025-02-26 10:55:03 -06:00
Henrik Rydgård f206ed95eb Get rid of remains of support for non-square screen DPIs 2025-02-20 11:14:26 -06:00
Henrik Rydgård 9ce9e43481 Make some uses of the erase-iter idiom safer and more consistent 2025-02-04 10:31:17 -06:00
C.W. Betts da3e300b58 Remove unused font variable. 2025-01-14 16:31:03 -07:00
C.W. Betts a8486e833f We only need to register the font once. 2025-01-14 15:41:19 -07:00
C.W. Betts a04c2d1a6a Initial attempt at loading Roboto into CoreText 2025-01-14 15:15:53 -07:00
C.W. BettsandGitHub f32ed3df90 Update draw_text_cocoa.mm
Fix memory leak.
2025-01-13 19:50:26 -07:00
Henrik Rydgård 1ba304d83f Alternate buildfix 2025-01-09 21:12:00 +01:00
Henrik Rydgård bd84c7bf7d Buildfix for new SDL.
Fixes #19839
2025-01-09 20:58:50 +01:00
Henrik Rydgård dd9e81b2be Quick fix for JPEG detection, we missed some files. Thanks sonic120 for the report. 2025-01-05 21:16:47 +01:00
Henrik Rydgård c91169e702 Restore removed <algorithm> includes.
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård 4dd3621fa0 Remove some unnecessary <algorithm> includes. 2024-12-18 17:04:27 +01:00
Henrik Rydgård afbf430899 Android joystick event handling: Don't blow up java ref counting by forgetting ReleaseElements.
Also, use JNI_ABORT to avoid writing back changes (we don't make any).
2024-12-15 23:03:22 +01:00
Henrik Rydgård 68f61c2add ImGeDebugger: Highlight changes, show old value on hover 2024-12-14 11:03:18 +01:00
Henrik Rydgård 080798b5dd Move out two more functions from Core.cpp. Clean up Windows includes 2024-12-08 12:12:02 +01:00
Henrik Rydgård 55aa1ff66e Warning fixes 2024-11-06 11:59:34 +01:00
Henrik Rydgård 671ba6356b Remove logspam from Android text rendering, oops 2024-10-23 15:07:27 +02:00
Henrik Rydgård 26de955c77 Warning fixes, add warning to Cave Story if skip buffer effects is on 2024-10-22 11:56:08 +02:00
Henrik Rydgård a6a189c24d An old version of android had strict JNI validation of UTF-8 strings enabled. Let's pass it. 2024-10-22 11:02:26 +02:00
Henrik Rydgård 843fe22968 Remove superfluous .c_str() 2024-10-17 22:21:07 +02:00
Henrik Rydgård 97c5094ff2 Cleanup, fix the shader viewer UI 2024-10-17 21:43:03 +02:00
Henrik Rydgård e49d94ad11 Unify the MeasureString caching code 2024-10-16 14:39:21 +02:00
Henrik Rydgård 3def2ddb00 Avoid another allocation, this time with atlas fonts 2024-10-16 14:39:21 +02:00