Henrik Rydgård
db4993bfdc
Implement full support for mouse input on Android
...
The smoothing algorithm changed a bit now that I centralized that logic
in a way that can work with all backends.
2023-12-10 09:52:19 +01:00
Henrik Rydgård
7e85d3d10a
Disable the new culling on RISC-V for now.
2023-12-09 16:49:02 +01:00
Henrik Rydgård
4e2a1bf81c
NEON: vcvtq can scale directly, no need for a mul by const.
2023-12-09 16:48:59 +01:00
Henrik Rydgård
99548be8a3
NEON culling: Use mla operations to shave off some more cycles. ARM32 compat.
2023-12-09 16:36:01 +01:00
Henrik Rydgård
6a7ef83f4b
NEON-optimize the culling
2023-12-09 15:55:51 +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
6645ddfa38
Merge pull request #18489 from hrydgard/memory-profiling-notes
...
Some changes and comments after running the memory profiler on Windows
2023-12-08 23:58:48 +01:00
Henrik Rydgård
d234fa24e6
Add progress bar (without %) to install/uninstall. Other fixes.
2023-12-08 16:16:28 +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
dde13b448f
Use FastVec in VulkanBarrier
2023-12-07 17:30:18 +01:00
Henrik Rydgård
8dbcbe4ecf
Align the APIs of the various vectors slightly
2023-12-07 17:30:16 +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
e2480b9fa0
D3D9: Apply a half-pixel offset in 2D shader draws. Makes Tantalus games less broken (but still broken)
2023-12-05 14:09:14 +01:00
Henrik Rydgård
81d741a5fe
D3D9: Fix recent regression (crash)
2023-12-05 13:41:04 +01:00
Henrik Rydgård
bc4e8d4d47
Remove some remains of the old input attachment code
2023-12-04 14:50:02 +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
a9c1bc2ce7
Add translation string, show uncompressed size if different from disk size
2023-11-27 01:11:43 +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
31c85ae0a5
Add the basics of a played-time tracker.
2023-11-26 19:15:38 +01:00
Henrik Rydgård
dae758e5f4
Fix some bugs and mistakes found by Nemoumbra through static analysis
2023-11-26 13:43:11 +01:00
Henrik Rydgård
d6324d10a6
Merge pull request #18438 from lvonasek/hotfix_quest3
...
OpenXR - Projection matrix on Quest 3 fixed
2023-11-23 22:39:24 +01:00
Lubos
4d61896403
OpenXR - Projection matrix on Quest 3 fixed
2023-11-21 23:07:58 +01:00
Jools Wills
82ce83185e
Fix building on OpenGL ES 2.0 (RPI VideoCore IV)
...
GL_COMPRESSED_RGBA_ASTC_4x4_KHR is not defined and looks to be an OpenGL ES 3.0 extension.
This fixes building on the Raspberry Pi 1-3 using VideoCore IV OpenGL ES 2.0 headers.
2023-11-21 20:16:09 +00: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
19eeaef2ea
More uses of string_view
2023-11-13 23:36:34 +01:00
Henrik Rydgård
d0ee5fc308
Path: Use string_view more to avoid allocations
2023-11-13 23:24:42 +01:00
Henrik Rydgård
70c7bb3b0d
Merge pull request #18419 from hrydgard/gamelist-triangle-button-cleanup
...
Clean up the checks for triangle-button-for-info on the main screen
2023-11-13 14:13:51 +01:00
Henrik Rydgård
cb9c6dc661
Merge pull request #18418 from hrydgard/simplify-input-layout
...
thin3d/backends: Remove code that pretended that we supported multiple vertex streams
2023-11-13 12:51:09 +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
Henrik Rydgård
d891aaf9cd
Remove code that pretended that we supported multiple vertex streams
...
Don't really see that we'll have much use for this feature, so simplify
it away. Only single vertex stream data is now supported by the thin3d
API.
2023-11-13 01:15:28 +01:00
Henrik Rydgård
77825484a0
If available, use 16-bit texture formats for MakePixelTexture when appropriate.
...
Optimization for God of War on low-end platforms. Avoids calling a color
conversion function that's currently only SIMD-optimized on x86, so will
also benefit ARM a little bit.
2023-11-12 15:58:03 +01:00
Henrik Rydgård
5146a2a967
Remove modifyLock_ from ViewGroup
2023-11-11 11:25:41 +01:00
Henrik Rydgård
dd032dc533
Delete two unused structs
2023-11-11 10:55:54 +01:00
Henrik Rydgård
0c7b42b079
UI: Remove locks in event dispatching
2023-11-11 10:55:45 +01:00
Henrik Rydgård
e0c0cb9a6d
Change loops to the shorter form.
2023-11-11 10:55:45 +01:00
Henrik Rydgård
25ab1206b5
Fix stepping of tilt low end radius setting. Add some asserts.
2023-11-06 18:33:05 -06:00
Henrik Rydgård
73932603e3
IniFile: Remove redundant function, add a debug assert
2023-11-06 18:33:05 -06:00
Henrik Rydgård
c5469c409a
Add specific sysprop for accelerometer
2023-11-06 18:33:01 -06:00
Henrik Rydgård
b71e44ca40
More use of string_view in StringUtils
2023-10-24 08:08:20 -05:00
Henrik Rydgård
87ddb3f3b1
Add easy way to verify games against the Redump database, supplied as CSV.
2023-10-23 19:11:01 -05:00
Henrik Rydgård
99f3d21e31
Merge pull request #18376 from Nemoumbra/encoding-fix
...
DNS resolver warning logs fix
2023-10-23 08:24:58 -05:00
Nemoumbra
7b91e0d626
Fixed the encoding of the culture-dependent DNS resolver error messages (Windows)
2023-10-23 12:04:49 +03:00
Henrik Rydgård
0fb318c8e9
Revert "Control: Remove the axis event dupe filtering from ScreenManager"
...
This reverts commit 265a9021fd .
2023-10-18 22:48:23 +02:00
Henrik Rydgård
ac93419331
Merge the 1.16.6 branch into master
...
Also deletes some unused code.
2023-10-13 11:00:11 +02:00