Commit Graph
304 Commits
Author SHA1 Message Date
Henrik Rydgård b71ccfdb71 CwCheats: Add ms unit, rename to Refresh Interval. 2024-01-19 15:12:53 +01:00
Henrik Rydgård 7a318b46e8 Draw the line between the tabs and contents as a spacer instead of custom code. 2024-01-19 14:56:29 +01:00
Henrik Rydgård 0e03b66a95 Make vertical tabs scrollable 2024-01-19 14:56:29 +01:00
Henrik Rydgård 1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård 9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
Henrik Rydgård 9bcb858131 Various changes to the webserver to handle serving HTTP subdirectories 2023-12-29 21:35:31 +01:00
Henrik Rydgård f42e9d94a3 Show the tilt input type directly on the item that goes to the tilt settings 2023-12-29 14:10:03 +01:00
Henrik Rydgård 74a33ab98d Add new FolderChooserChoice 2023-12-29 11:44:26 +01:00
Henrik Rydgård a094637ab1 Remove left-behind debug code 2023-12-28 10:46:41 +01:00
Henrik Rydgård aeefa4a45a Better variable naming (foundBackgroundScreen) 2023-12-28 10:45:33 +01:00
Henrik Rydgård 9cb3d03098 Add categories for control bindings 2023-12-20 16:20:26 +01:00
Henrik RydgårdandGitHub dd1396e2fd Merge pull request #18581 from GermanAizek/lower-scope
Reduced lower scope for local objects
2023-12-20 14:53:36 +01:00
Herman Semenov 2a31f8c6c0 [Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:33:56 +03:00
Herman Semenov 4ea842a3c1 Minor replaced insert to emplace C++11 2023-12-19 16:06:48 +03:00
Herman Semenov b8748ae9e5 [Common/File/GPU/Render/Input] Using reserve if possible 2023-12-15 14:00:51 +03:00
Henrik Rydgård 812b1024f0 Move TouchTestScreen to DevScreens 2023-12-14 19:01:19 +01:00
Henrik RydgårdandGitHub b78c7ad470 Merge pull request #18545 from GermanAizek/const-ref-params
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01:00
Herman Semenov 5a0d54be83 [Common/Data/GPU/Input/System/UI] Added const reference for function params 2023-12-14 14:21:11 +03:00
Herman SemenovandHenrik Rydgård 315340fc62 Using const reference for C++17 range-based loop and freq used objects 2023-12-13 17:33:01 +01:00
Henrik Rydgård 1ac780aacc Reduce flicker on savestate screenshot load 2023-12-13 12:26:11 +01:00
Henrik Rydgård d549817245 Add missing check 2023-12-13 12:21:12 +01:00
Henrik Rydgård f8927df9a6 Load savestate screenshots in the background 2023-12-13 12:07:23 +01:00
Henrik Rydgård e5d2e09f02 Some code simplification 2023-12-13 10:45:42 +01:00
Henrik Rydgård 2aca8fe3f9 Get rid of more unnecessary uses of ManagedTexture 2023-12-12 23:13:45 +01:00
Henrik Rydgård d2e10a058e Some renaming 2023-12-12 22:15:55 +01:00
Henrik Rydgård 76c7540173 First part of UI texture loading refactor 2023-12-12 22:13:15 +01:00
Henrik Rydgård 79ab67e3b2 Run-behind-pause: Fix some edge cases with the transparent background setting 2023-12-11 17:47:19 +01:00
Henrik Rydgård 25ab7b9170 Fix a bunch of edge cases 2023-12-11 15:58:08 +01:00
Henrik Rydgård 6e369e5188 Add play/pause button to the bottom right of the pause screen 2023-12-11 13:56:16 +01:00
Henrik Rydgård e8f70594a4 Implement running the game in the background on the pause screen. Fix some bugs. 2023-12-11 12:41:44 +01:00
Henrik Rydgård ae1009c92b Warning fix 2023-12-11 02:10:08 +01:00
Henrik Rydgård 6d51fbc1e6 Refactor UI background rendering. There's now a BackgroundScreen. 2023-12-10 22:26:46 +01:00
Henrik Rydgård 48d60d8613 Remove UIContext knowledge of screen tags 2023-12-10 22:21:50 +01:00
Henrik Rydgård 3832b32bbc Add the concept of a background screen 2023-12-10 22:21:48 +01:00
Henrik Rydgård 0ff0ad9140 Remove preRender/postRender methods from screens, in favor of a mode parameter. 2023-12-10 14:09:55 +01:00
Henrik Rydgård 22295a6412 Plumb through a ScreenRenderMode parameter 2023-12-10 13:05:17 +01:00
Henrik Rydgård 600fb7cc22 Minor cleanups 2023-12-10 12:37:35 +01:00
Henrik Rydgård 0905b6a5ad Frustum-cull small draws
Some games do a poor job of culling stuff, and some transparent
sprites can be very expensive if they cause a copy.
Skipping them if outside the viewport makes sense in that case.

One example are the flame sprites in #17797 .

Additionally, we should be able to cull through-mode draws easily, this
one doesn't even try.
2023-12-09 15:55:51 +01:00
Henrik Rydgård 376db1f931 Remove the unused "front" draw2d buffer. Saves 1.5MB of RAM. 2023-12-08 12:29:24 +01:00
Henrik Rydgård a22450320b Some minor changes and comments after memory profiling 2023-12-08 12:22:12 +01:00
Henrik Rydgård 85001bf71f Remove some redundant uses of MOBILE_DEVICE. Goal is to one day get rid of that define. 2023-12-07 17:30:15 +01:00
Henrik Rydgård 676a4de4d7 Remove an ifdef controlling dialog button order 2023-12-07 17:30:15 +01:00
Henrik Rydgård 36a2174ac0 Vulkan: Add indicator of swizzle mode to texture debug names 2023-12-07 10:35:04 +01:00
Henrik Rydgård 84d3bfc506 Add mouse wheel support for Android
Fixes #18471

Tested on a Poco F4 phone with a generic Bluetooth mouse.
2023-12-04 13:41:52 +01:00
Henrik Rydgård 1f2dbfaf25 Vulkan: Allow MSAA on modern-ish mobile devices, but add a little warning sign.
MSAA on tiler GPUs, the way we use it (we are not able to eliminate
load/store operations yet) can consume huge amounts of bandwidth, so let's be a
little bit careful.
2023-12-03 20:59:15 +01:00
Henrik Rydgård 707670cfcf Fix time tracking during pause 2023-11-26 19:49:21 +01:00
Henrik Rydgård b1bc6caaf6 Add a screen focus-tracking mechanism 2023-11-26 19:30:37 +01:00
Henrik Rydgård 211c23e004 Remove the axis event filtering from Screen.cpp again. See #18368 2023-11-16 09:20:40 +01:00
Henrik Rydgård 1da6da446b More std::string conversion 2023-11-13 23:43:57 +01:00
Henrik Rydgård 2910303d20 Clean up the checks for triangle-button-for-info on the main screen 2023-11-13 12:49:08 +01:00