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
Henrik Rydgård
a196c5e7d4
Merge pull request #18351 from hrydgard/shutdown-fixes-better
...
Better fix for shutdown crash
2023-10-13 02:31:00 +02:00
Henrik Rydgård
6357b95ff5
Better version.
2023-10-12 23:33:54 +02:00
Henrik Rydgård
f301035ba0
Step 1
2023-10-12 23:28:44 +02:00
Henrik Rydgård
6dbe49775c
Add a sysprop for IsDebuggerPresent.
2023-10-12 11:58:04 +02:00
Henrik Rydgård
f1bc547e94
IconCache: Make valgrind happy (zero some struct padding bytes before writing to disk)
2023-10-12 10:51:14 +02:00
Henrik Rydgård
a507563708
Remove the exit-game sync again.
...
It's not actually needed until some of the additions made on master, and
in that case, I'm going to change the solution again.
2023-10-12 10:14:19 +02:00
Henrik Rydgård
2c751d39f8
Vulkan: Add simple delete count to GPU profiler, to make sure we don't have more resource churn
...
Also fix the render pass type name lookup table.
2023-10-12 09:02:45 +02:00
Henrik Rydgård
028c7c3ea8
Android: Fix crashes on screen rotation
2023-10-11 16:44:30 +02:00
Henrik Rydgård
d60c9a015f
Vulkan: Fix synchronization when shutting the GPU down in-game.
2023-10-11 12:49:33 +02:00
Henrik Rydgård
f769b2c8a3
Remove unused functionality from descpool
2023-10-11 12:29:57 +02:00
Henrik Rydgård
0ad2827e14
Vulkan: Fix synchronization when shutting the GPU down in-game.
2023-10-11 12:27:39 +02:00
Henrik Rydgård
183d49329a
Allow writing directly into the packed descriptor buffer, saving a memcpy.
2023-10-11 11:02:17 +02:00
Henrik Rydgård
f931f85d57
Fix outdated renderpass name lookup table (debug info)
2023-10-11 10:34:20 +02:00
Henrik Rydgård
2ac14f555d
Remove VulkanPushBuffer (keeping our newer replacement VulkanPushPool)
2023-10-11 09:06:24 +02:00
Henrik Rydgård
c362c159d7
VulkanDescSetPool: Don't forget to increment usage
2023-10-10 19:14:19 +02:00
Henrik Rydgård
d00928e1db
Guaranteed gap-free rendering of waves background
2023-10-10 19:11:35 +02:00
Henrik Rydgård
8ebc08185b
Allocate descriptors in blocks of 8 instead of individually, to reduce overhead.
2023-10-10 10:17:56 +02:00
Henrik Rydgård
3b22d1248e
Fix for Vulkan on 32-bit devices, oops.
2023-10-10 10:10:12 +02:00
Henrik Rydgård
3d949b080d
Prepare VulkanDescSetPool for block allocation
2023-10-10 09:14:10 +02:00
Henrik Rydgård
9fdc7e2372
Address feedback
2023-10-10 09:02:35 +02:00
Henrik Rydgård
b38b46df0f
Update comments
2023-10-10 09:02:35 +02:00
Henrik Rydgård
2b0192d818
Have FrameData structs for each pipeline layout, instead of multiple arrays
2023-10-10 09:02:35 +02:00
Henrik Rydgård
397745ce14
Remove unused code
2023-10-10 09:02:35 +02:00
Henrik Rydgård
8a4d84d82b
Simplest possible de-duplication of descriptor set writes
2023-10-10 09:02:35 +02:00
Henrik Rydgård
018e4ee1d6
Show the desc set write time even in the limited GPU profiler.
2023-10-10 09:02:34 +02:00
Henrik Rydgård
84f9c1694f
Better logging in descpool
2023-10-10 09:02:21 +02:00
Henrik Rydgård
f0ee3b8daa
Fill in descriptors on the render thread in the PPSSPP UI.
2023-10-10 09:00:29 +02:00
Henrik Rydgård
8c821893f1
Android: Fix crashes on screen rotation
2023-10-09 18:24:43 +02:00
Henrik Rydgård
bb38210cfb
We somehow lost the usage_ counter increment in VulkanDescSetPool, fix that
2023-10-09 17:01:35 +02:00
Henrik Rydgård
316bc03ac9
Move the destroy function for VKRPipelineLayout to VulkanRenderManager
2023-10-09 11:54:13 +02:00
Henrik Rydgård
03328638b1
Typo fix, reorder
2023-10-08 13:39:04 +02:00
Henrik Rydgård
28ed12aa93
Simplify descriptor pool creation
2023-10-08 12:39:19 +02:00
Henrik Rydgård
88a50575c7
Wrap pipeline layout creation, use in thin3d
...
Two more types
2023-10-08 12:39:18 +02:00
Henrik Rydgård
dbe395dd00
Add a wrapper around VKRPipelineLayout / descsetlayout
2023-10-08 12:39:18 +02:00
Henrik Rydgård
34fbbf2c2a
Split out the descriptorset pool from VulkanMemory.cpp/h
2023-10-08 11:45:00 +02:00
Henrik Rydgård
5711259b86
Declare the back depth buffer as "transient". Allows allocating no memory for it on tiled GPUs.
...
We can't do the same for other depth buffers as we often need to
preserve them between passes.
2023-10-06 15:40:13 +02:00
Henrik Rydgård
931ff4eb1e
Guaranteed gap-free rendering of waves background
2023-10-04 17:07:55 +02:00
Henrik Rydgård
b2f97d5934
Add support for using %1 and %2 in some more translation strings.
...
Requested in #18306
2023-10-04 14:36:42 +02:00
Unknown W. Brackets
847a87f164
UI: Fix crash on input with no screens.
2023-09-30 15:31:00 -07:00
Henrik Rydgård
aedd51f2f6
Merge pull request #18272 from hrydgard/ui-event-enum
...
Change global UI messages to use an enum instead of strings.
2023-09-30 13:43:32 +02:00
Henrik Rydgård
19e4de5088
Change global UI messages to use an enum instead of strings.
...
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
2a4d21e53b
Merge pull request #18241 from hrydgard/ini-rewrite
...
Optimize IniFile for faster save/load of config
2023-09-30 11:26:04 +02:00
Henrik Rydgård
8eefb9f935
Merge pull request #18251 from hrydgard/remove-extra-event-filtering
...
Control: Remove the axis event dupe filtering, batch events deeper
2023-09-29 13:21:12 +02:00
Henrik Rydgård
ee93e4a2ca
Batch axis events all the way into ControlMapper
2023-09-29 11:14:19 +02:00
Henrik Rydgård
b3a2b7a35c
Batch axis events coming into the ScreenManager
2023-09-29 11:10:32 +02:00
Henrik Rydgård
1a5d5452fe
Batch axis events to the VR code
2023-09-29 11:10:32 +02:00
Henrik Rydgård
b3be6db3ae
Remove (probably) unnecessary special case for axis value = 0.
2023-09-29 11:10:32 +02:00
Henrik Rydgård
265a9021fd
Control: Remove the axis event dupe filtering from ScreenManager
...
It's better to have the event sources pre-filter, and most of them now
do that.
2023-09-29 11:10:32 +02:00
Henrik Rydgård
ade64171ce
Proof-of-concept: libchdr works on Windows
2023-09-29 10:05:19 +02:00
Henrik Rydgård
b8fa3a2071
Merge pull request #18125 from unknownbrackets/arm64-vertexjit
...
arm64jit: Optimize weight loading a bit
2023-09-29 09:52:56 +02:00
Henrik Rydgård
6063e30fd4
Correct the subpass dependencies for the backbuffer to pass validation.
2023-09-27 16:56:59 +02:00
Henrik Rydgård
ca4ee83038
Vulkan: Add debug names to renderpasses
2023-09-27 16:56:57 +02:00
Henrik Rydgård
b5c4b2c3f7
Add a missing comment
2023-09-27 12:31:17 +02:00
Henrik Rydgård
3d14cd16eb
Add a null check in PopupMultiChoice::UpdateText
2023-09-27 12:31:17 +02:00
Henrik Rydgård
c28dc9e4f2
Pass in accelerometer readings using NativeAccelerometer instead of NativeAxis
2023-09-27 11:34:31 +02:00
Henrik Rydgård
2bd2292bac
With string_view, stripping whitespace can be done without allocs.
2023-09-26 13:19:19 +02:00
Henrik Rydgård
20e703db83
Simplify string-view-equal-case-insensitive comparisons
2023-09-26 10:11:52 +02:00
Henrik Rydgård
41f4c08d17
Replace the internal representation of IniFile with ParsedIniLine.
2023-09-26 10:07:14 +02:00
Henrik Rydgård
daa1bc3c6e
Introduce "ParsedIniLine"
2023-09-26 10:07:10 +02:00
Henrik Rydgård
9fffa33eee
Merge pull request #18234 from unknownbrackets/x86-ir-transfer
...
x86jit: Perform vector transfers instead of flushing to memory
2023-09-26 09:28:05 +02:00
Henrik Rydgård
42fcd399f4
Restore the ReadyForFence flag. Some paranoia probably
2023-09-26 02:00:22 +02:00
Henrik Rydgård
4d465678cd
GL: Add resilience to delete-null bugs (but assert in debug builds)
2023-09-26 00:49:59 +02:00
Henrik Rydgård
db245e1b34
Fix old texture leak in GLES hardware tessellation
2023-09-26 00:38:11 +02:00
Hoe Hao Cheng
28edae016e
SDL: fallback to atlas if SDL2_ttf is <2.0.18
2023-09-25 10:07:30 +08:00
Unknown W. Brackets
d9f6bae1ff
x64jit: Initial reg transfer.
2023-09-24 16:28:29 -07:00
Henrik Rydgård
546f9d7743
Some cleanups and fixes to obscure crashes
2023-09-24 13:05:25 +02:00
Henrik Rydgård
d31ba393af
Don't load the shader cache on a separate thread - all it does is already async
2023-09-24 10:53:23 +02:00
Henrik Rydgård
964f606a9c
Fix some issues around geometry shaders - like, loading them from shader cache while disabled
2023-09-24 01:29:38 +02:00
Unknown W. Brackets
4a2cd1bb7b
http: Fix errors on connect.
2023-09-23 13:05:01 -07:00
Henrik Rydgård
6a8f65b566
Some assert paranoia, remove unused "failed_" variable
2023-09-23 10:09:32 +02:00
Henrik Rydgård
949f746f96
Add time-elapsed to assert messages
...
Just a crude thing to easily see if a crash is from just starting a game
or later.
2023-09-23 08:53:59 +02:00
Henrik Rydgård
755648c997
Don't use std::move in dirlisting, see #18192
2023-09-22 10:09:10 +02:00
Henrik Rydgård
602407fcf2
Warning and comment fixes, logic precedence fixes in PPGeDraw
2023-09-21 16:41:42 +02:00
Henrik Rydgård
3aed81d51b
Merge pull request #18170 from hch12907/sdl-ttf
...
ci: use pkgconfig as a fallback for finding SDL2_ttf
2023-09-21 13:45:52 +02:00
Henrik Rydgård
cdffce8ce0
Merge pull request #18186 from hrydgard/remove-unhelpful-assert
...
Vulkan: Remove an assert that didn't give much actionable information
2023-09-21 09:15:00 +02:00
Henrik Rydgård
2e171b22ec
Vulkan: Remove an assert that didn't give much actionable information. Replace with reporting.
2023-09-20 22:50:38 +02:00
Henrik Rydgård
2648cd0eee
Store: Fix race condition causing crashes if looking at another game before an icon finishes downloading
2023-09-20 21:49:17 +02:00
Henrik Rydgård
3783afd855
Fix a really bad race condition during game shutdown.
2023-09-20 18:47:32 +02:00
Henrik Rydgård
b8353c6273
Add a commented-out torture test for a shader race condition
2023-09-20 18:47:32 +02:00
Henrik Rydgård
5c94b41dde
Vulkan: If a createimageview failed, don't leak the image. Probably very rare.
2023-09-20 18:47:32 +02:00
Hoe Hao Cheng
b768210797
ci: use pkgconfig as a fallback for finding SDL2_ttf
2023-09-19 00:51:19 +08:00
Henrik Rydgård
0bfd166200
Try to prevent a weird shutdown race condition that I'm not sure can happen - but crash logs show it
2023-09-18 16:45:07 +02:00
Henrik Rydgård
3c810521e2
TextureBatch tiny optimization: Use vector.reserve
2023-09-18 14:49:13 +02:00
Henrik Rydgård
8f88442343
SDL ttf rendering: Try two 4444 tex formats to find one that works.
2023-09-18 11:48:28 +02:00
Henrik Rydgård
388a34cdf1
HTTPClient: On Windows, we have to permit connect to "fail" with an errno of 0. Wacky.
2023-09-17 22:40:29 +02:00
Henrik Rydgård
33ab45557a
remove redundant log
2023-09-17 17:39:17 +02:00
Henrik Rydgård
377892bc22
Improve logging
2023-09-17 17:37:45 +02:00
Henrik Rydgård
24bc0b067b
Don't leak the sockets that won't connect
2023-09-17 17:23:58 +02:00
Henrik Rydgård
0421607c00
Fix HTTP connect on linux (need to ignore failed connections in the select)
2023-09-17 17:19:24 +02:00
Henrik Rydgård
e829c97d7e
Merge pull request #18154 from GermanAizek/excess-cstr
...
Core, UI, Windows: Removed excess converting C-string in params
2023-09-15 16:53:21 +02:00
German Semenov
c498a42e92
Core, UI, Windows: Removed excess converting C-string in params
2023-09-15 13:54:11 +03:00
Henrik Rydgård
e8289f929f
Merge pull request #18152 from hrydgard/minor-stuff
...
Fix a valgrind warning
2023-09-15 12:19:16 +02:00
German Semenov
c27481d637
GPU, VFS, UI: Fixed minor memleaks
2023-09-15 12:23:54 +03:00
Henrik Rydgård
d15001b5d3
Check the return value of fread to avoid warning
2023-09-15 11:21:07 +02:00
Henrik Rydgård
be65cf0fc2
Assert improvements
2023-09-12 17:15:26 +02:00
Henrik Rydgård
4df4adb936
Fix closing the chat window with ESC, see #18134
2023-09-11 17:37:50 +02:00
Henrik Rydgård
ec33bcfce3
Turn the debug assert in BindPipeline into a proper one to try to get some more context in the logs
...
Shouldn't be too expensive.
2023-09-11 16:57:38 +02:00
Henrik Rydgård
875112e9c2
Improve an assert
2023-09-11 14:18:55 +02:00
Henrik Rydgård
10f93875c6
Fix the semantics of DenseHashMap to be consistent even when inserting nulls
2023-09-11 12:07:18 +02:00
Henrik Rydgård
5fcca7d9f5
Fix customization of Leaderboard Submitted events.
...
See #17631
2023-09-11 10:47:59 +02:00
Henrik Rydgård
43e792fb71
Move RetroAchievements to the Tools tab.
2023-09-11 10:47:34 +02:00
Unknown W. Brackets
00e691d633
arm64jit: Try shifted MOVI in MOVI2FDUP().
...
Any penalty from int/float or size change should be less than GPR load.
2023-09-10 23:04:15 -07:00
Henrik Rydgård
5547fe2107
Add missing mutex lock in ScreenManager::RecreateAllViews
2023-09-11 00:31:59 +02:00
Henrik Rydgård
c343c194ff
Early-outs in IconCache
2023-09-11 00:31:41 +02:00
Henrik Rydgård
626d901441
OpenGL: Fix hang that mostly happened when buffered commands == off
2023-09-11 00:30:52 +02:00
Henrik Rydgård
6eba885955
Slight OSD message duration tweak.
2023-09-08 12:33:00 +02:00
Henrik Rydgård
7b9e03ef4a
Merge pull request #18103 from unknownbrackets/arm64jit-more
...
Implement the remaining arm64jit IR ops
2023-09-08 09:59:47 +02:00
Henrik Rydgård
c43cbe4f14
Merge pull request #18102 from hrydgard/kernel-printf
...
New logging channel "PRINTF" for SceKernelPrintf
2023-09-08 09:35:04 +02:00
Unknown W. Brackets
7a5cdafdf3
arm64jit: Implement convert/int conversions.
2023-09-08 00:03:12 -07:00
Unknown W. Brackets
c523273d51
arm64jit: Implement vector unpacks.
2023-09-08 00:03:12 -07:00
Henrik Rydgård
6cb2c0dc59
KERNELPRINTF->PRINTF, NOTICE->INFO
2023-09-08 08:40:54 +02:00
Henrik Rydgård
2e22fbdb8e
Merge pull request #18101 from unknownbrackets/android-run-tests
...
Android: Fix developer tools -> run tests
2023-09-08 08:34:34 +02:00
Henrik Rydgård
ce4ee78157
Merge pull request #18099 from unknownbrackets/include-guards
...
Build: Add some missing include guards.
2023-09-08 08:33:53 +02:00
Henrik Rydgård
0a234df037
Merge pull request #18089 from unknownbrackets/arm64jit-float
...
arm64jit: Implement VFPU compare, trig, couple others
2023-09-08 08:33:22 +02:00
Unknown W. Brackets
9cc266b0e7
Android: Fix developer tools -> run tests.
2023-09-07 17:36:41 -07:00
Unknown W. Brackets
5617d08620
arm64jit: Remove unused variable.
2023-09-07 17:26:30 -07:00
Unknown W. Brackets
cec9dbbdf7
Build: Add some missing include guards.
2023-09-07 17:14:58 -07:00
Nemoumbra
90cd9d4c68
New logging channel "KERNELPRINTF" for SceKernelPrintf
2023-09-08 00:34:26 +03:00
Henrik Rydgård
0b733618cb
Merge pull request #18093 from Nemoumbra/buildfix
...
VS2017 buildfix
2023-09-07 11:51:46 +02:00
Nemoumbra
0faa1109d2
Included <algorithm> for std::min
2023-09-07 12:14:36 +03:00
Unknown W. Brackets
a1304f6ac8
arm64jit: Implement VFPU compare in IR.
2023-09-06 19:02:24 -07:00
Henrik Rydgård
d9e9bde596
Vulkan: Fix disabling VSync on SDL platforms that support IMMEDIATE but not MAILBOX
...
Fixes #18084
2023-09-06 18:46:19 +02:00
Henrik Rydgård
9f984af48c
Merge pull request #18082 from hrydgard/retroachievements-logspam-fix
...
Retroachievements logspam fix, edge case fixes
2023-09-06 15:03:35 +02:00
Henrik Rydgård
cd79d120d8
Don't log warnings on missing RA login secret. Also don't even check unless a username has been set.
2023-09-06 10:34:32 +02:00
Unknown W. Brackets
c8f888fab0
arm64jit: Implement FMin/FMax.
2023-09-06 00:09:26 -07:00
Henrik Rydgård
6c3547d7ae
Merge pull request #18073 from unknownbrackets/arm64jit-vec4
...
arm64jit: Implement several other Vec4 IR ops
2023-09-06 08:55:57 +02:00
Henrik Rydgård
12460d1b8c
Avoid double-processing of input event caused by the overlay screen.
...
Fixes #18070
2023-09-05 16:43:45 +02:00
Unknown W. Brackets
953d97b54a
arm64jit: Implement Vec4Init.
2023-09-05 00:10:26 -07:00
Unknown W. Brackets
11f92b4684
arm64jit: Implement Vec4Dot.
2023-09-05 00:10:26 -07:00
Unknown W. Brackets
3f29b4c713
Merge pull request #18068 from unknownbrackets/arm64jit-shuffle
...
arm64jit: Implement shuffle optimizer
2023-09-05 00:10:08 -07:00
Unknown W. Brackets
885ae5c805
arm64jit: Implement shuffle optimizer.
2023-09-04 12:27:39 -07:00
Wang Xiang
75cb0d3fe0
Merge branch 'master' into dev-loongarch64
2023-09-04 21:12:40 +08:00
Henrik Rydgård
412c3a0cd9
Merge pull request #18065 from hrydgard/dismiss-notifications
...
Add ability to dismiss notifications
2023-09-04 12:46:50 +02:00
Henrik Rydgård
109205a56a
Add return value to UnsyncTouch
2023-09-04 11:00:06 +02:00
Henrik Rydgård
cd78097e74
Allow dismissing notifications by touching/clicking them.
...
Fixes #18040
Might do something more elegant in the future.
2023-09-04 10:01:07 +02:00
Unknown W. Brackets
85b80bc9e5
arm64jit: Implement load/store in IR.
2023-09-04 00:04:36 -07:00
Unknown W. Brackets
1b756ff8c1
arm64jit: Add initial base for IR jit.
...
This works, but very slowly at this point.
2023-09-03 12:14:28 -07:00
KatyushaScarlet
f4d1a85af3
Detect the number of threads and supported features on LoongArch CPU
2023-09-02 04:58:32 +08:00
KatyushaScarlet
f94bbbd747
Fix the definition of logical_cpu_count
2023-09-02 02:08:43 +08:00
KatyushaScarlet
161f56e270
Add basic support for loongarch64
2023-09-02 02:08:43 +08:00
Henrik Rydgård
80a99a67d9
Control: Change internal interfaces to batch-process input axis updates
...
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.
Linux buildfix
2023-08-31 11:55:53 +02:00
Henrik Rydgård
64852409df
Don't use the present time extensions (but keep the code around for future experiments)
...
Seen some suspicious crashes on Poco F1.
2023-08-30 10:47:20 +02:00
Henrik Rydgård
42b0ccd07d
Revert some unnecessary log changes from #18001
2023-08-29 23:13:45 +02:00
Henrik Rydgård
412c4547cd
textures.ini loader logging improvement
2023-08-28 16:34:58 +02:00
Henrik Rydgård
b637a9c42e
Upgrade rcheevos to latest
...
The timer issue has been fixed upstream. Hopefully nothing will regress on
32-bit Android this time.
See #17631
2023-08-28 14:09:46 +02:00
Unknown W. Brackets
61a99b4bac
x86jit: Implement trig/reciprocals.
2023-08-27 23:24:30 -07:00
Bashar Astifan
19d79b0a6c
Merge branch 'master' into configs-loading
2023-08-26 12:19:44 +04:00
Henrik Rydgård
2c9893e906
Buildfix
2023-08-25 17:20:41 +02:00
Henrik Rydgård
6ba08fbcb9
Allow using atlas icons other than the presets in OSD messages.
2023-08-25 16:32:39 +02:00
Henrik Rydgård
6d28ccbd8e
Add HTTP log channel, and make ACHIEVEMENTS a proper one.
2023-08-25 13:53:46 +02:00
Henrik Rydgård
0ce5e21059
Minor simplification
2023-08-25 11:49:02 +02:00
Henrik Rydgård
1025bbcf89
Log level/type: Use enum class instead of the awkward namespace trick.
...
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Henrik Rydgård
dfe187df1e
Allow disabling HTTPS through the config file
...
Simply set:
```ini
[General]
DisableHTTPS = True
```
Added to help debug issue #17969
2023-08-24 21:28:30 +02:00
Henrik Rydgård
60492ae579
Make System_ShowFileInFolder a "request"
...
Also makes support queryable.
Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Bashar Astifan
4d71c96a10
Very minor cleanup
...
Removing unused include and cleaned the Tls TODO notice
2023-08-24 15:25:20 +04:00
Henrik Rydgård
ca40de852a
Merge pull request #17960 from hrydgard/control-mapping-fixes
...
Controls: Make the analog/digital mapping clash resolution more gentle.
2023-08-24 09:52:40 +02:00
Henrik Rydgård
30016bc0d6
Merge pull request #17962 from hrydgard/toggle-wlan-switch
...
Add mappable key to toggle networking
2023-08-24 09:52:29 +02:00
Bashar Astifan
4e2652bd4b
OSK support final update
...
- Renamed few functions to avoid confusion
- Now UI will report text (gotfocus, lostfocus), popup_closed to the frontend
- Both cases (DPad, Keyboard) covered
2023-08-24 06:33:36 +04:00
Bashar Astifan
3225446ff6
Update View.cpp
2023-08-24 03:31:22 +04:00
Bashar Astifan
17f1ab306b
OSK behavior correction
2023-08-24 03:30:09 +04:00
Henrik Rydgård
feb0ea245e
Add mappable key to toggle networking
...
Fixes #17352
Requested in #17343
2023-08-23 22:14:51 +02:00
Henrik Rydgård
797f88bf31
Fix ordering problem with screenshots that was causing crashes.
...
Fixes #17781
2023-08-23 19:03:33 +02:00
Bashar Astifan
c6e7760283
Complete OSK function support
2023-08-23 21:01:00 +04:00
Henrik Rydgård
be2f81c3eb
Controls: Make the analog/digital mapping clash resolution more gentle.
...
Now takes the time into account, so clashing digital input will only shrink
analog inputs once it's a few seconds old.
Also fixes a bug where if there are both inputs, it was hard to reach
the limits because the digital input itself ended up getting shrunk.
This might help #17860
2023-08-23 18:51:27 +02:00
Hoe Hao Cheng
0a5937051a
SDL: let's not remove the candidate fallback fonts
2023-08-23 13:39:16 +08:00
Bashar Astifan
04d72ebe54
UWP improvements 2
2023-08-23 02:25:57 +04:00
Henrik Rydgård
a06cf1cc47
Merge pull request #17914 from basharast/master
...
[Windows] OSVersion improvements
2023-08-21 14:40:42 +02:00
Henrik Rydgård
5b76615463
Cleanup and more sensible defaults for current directory
2023-08-18 15:04:20 +02:00
Henrik Rydgård
44d602ca7d
Move InitSysDirectories to where it belongs and rename it. Plus warning fixes.
2023-08-18 13:03:32 +02:00
Henrik Rydgård
b2fbe1d8e9
Merge pull request #17924 from hrydgard/vulkan-device-picking
...
SDL: Actually use the chosen Vulkan device
2023-08-18 00:58:47 +02:00
Henrik Rydgård
30346e29c3
Merge pull request #17920 from hrydgard/minor-text-optimizations
...
Minor debug text optimizations
2023-08-18 00:58:15 +02:00
Henrik Rydgård
13cfd9c3d6
Add Mesa as a known GPU driver "vendor".
2023-08-17 22:06:03 +02:00
Henrik Rydgård
8fb5b06e0e
Add workaround for 32-bit x86 debug builds on AMD on Windows
...
Fixes issue #17787
2023-08-17 21:05:43 +02:00
Bashar Astifan
ec6db575fa
Update OSVersion.cpp
2023-08-17 18:45:58 +04:00
Henrik Rydgård
cec3693526
Wrapper: Minor ordering fix
2023-08-17 15:24:00 +02:00
Henrik Rydgård
85dbc6b6aa
utf8_nextchar: Don't use a pointed-to variable as a loop counter.
2023-08-17 15:18:24 +02:00
Henrik Rydgård
691c8b8d8d
Write to the frame time history from the other backends too. Needed for the upcoming timing code.
2023-08-16 12:22:49 +02:00
Henrik Rydgård
572595cc7b
Refactor: Lift the frame time history data up one level into thin3d
2023-08-16 11:45:26 +02:00
Bashar Astifan
e2a1db533f
Cleanup unnecessary preprocessors
...
`DoesVersionMatchWindows` will return true by default for UWP when `greater` is true.
2023-08-16 02:35:54 +04:00
Bashar Astifan
b546ee15e4
Update OSVersion.cpp
...
- Re-adding `GetVersionFromKernel32` to the original function as it's used in settings (will find better way later to merge two functions in one).
- UWP should always return true when `greater` is true.
2023-08-15 23:42:37 +04:00
Bashar Astifan
6522a490e0
[Windows] OSVersion improvements
2023-08-15 23:17:13 +04:00
Henrik Rydgård
5959481a3e
libretro D3D11: Attempt at fixing a build error
2023-08-15 00:30:36 +02:00
Henrik Rydgård
b9b7342ffd
Merge pull request #17350 from basharast/master
...
UWP Improvements
2023-08-14 15:54:04 +02:00
Henrik Rydgård
1b2cffe632
Address feedback
2023-08-14 11:06:20 +02:00
Henrik Rydgård
aadb700505
Fix turning off VSync on Android, logic fix
2023-08-14 11:02:29 +02:00
Henrik Rydgård
ff6e118fff
Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically.
2023-08-14 11:02:29 +02:00
Henrik Rydgård
bec9c5611e
Rename PresentationMode to PresentMode
2023-08-14 11:02:29 +02:00
Unknown W. Brackets
2aa4592330
SDL: Skip FcFini() call, causes crashes.
...
Apparently this is a relatively well known problem and various people have
commented this out, including in Chromium for the last 10 years...
2023-08-13 19:36:17 -07:00
Unknown W. Brackets
eb43bfc541
Build: Add draw_text_sdl to MSVC project.
...
This way we can easily see it.
2023-08-13 19:36:17 -07:00
Bashar Astifan
07c119a80c
Merge branch 'master' of https://github.com/hrydgard/ppsspp
2023-08-14 02:45:28 +04:00
Unknown W. Brackets
87668a5720
Merge pull request #17902 from hrydgard/ui-bugfixes
...
Some debug overlays don't make sense when not in-game, disable them
2023-08-13 13:13:16 -07:00
Henrik Rydgård
dc4de340b3
Some debug overlays don't make sense when not in-game, disable them. Minor feedback fixes.
2023-08-13 21:54:24 +02:00
Henrik Rydgård
5a9a2bf6fe
Merge pull request #17779 from EmulatorJS/master
...
Cleanup emscripten libretro target
2023-08-13 21:40:24 +02:00
Henrik Rydgård
e651d6e59f
Finish the separation of EndFrame and Present.
2023-08-13 18:40:35 +02:00
Henrik Rydgård
377704f195
OpenGL: Split submit and presentation into two tasks, but schedule them together
2023-08-13 18:40:35 +02:00
Henrik Rydgård
86fcb28d4d
Remove "bool retainControl_" for simplicity. Not needed.
2023-08-13 18:40:35 +02:00
Henrik Rydgård
a84cb357dc
Comment fixes, adjust a couple of sleeps
2023-08-13 17:57:46 +02:00
Henrik Rydgård
b84091f1d2
Merge pull request #17895 from hrydgard/ini-file-fix
...
IniFile: Store sections in unique_ptrs, instead of directly.
2023-08-13 14:01:34 +02:00
Henrik Rydgård
cf83be8b3c
Very small memory leak fix
2023-08-13 13:55:51 +02:00
Henrik Rydgård
d82ecf1d3e
IniFile: Store sections in unique_ptrs, instead of directly.
...
This fixes an issue when you create two sections consecutively and
retain pointers to them, and then modify them, such as happens in the
postshader ini initialization. Previously, one of the section pointers
could get invalidated since the section vector got resized. Now, the
pointed-to sections don't move around in memory, only the list of them
does.
2023-08-13 13:41:43 +02:00
Henrik Rydgård
2a74a0b98a
Merge pull request #17893 from unknownbrackets/riscv-blocklink
...
riscv: Enable block linking
2023-08-13 12:40:39 +02:00
Ethan O'Brien
8426b35a80
Cleanup emscripten libretro build target
2023-08-12 14:38:35 -05:00
Unknown W. Brackets
fc476020ba
riscv: Improve immediate generation.
...
Use compressed instructions more, better jumps when outside PC 32-bit
range.
2023-08-12 09:37:02 -07:00
Henrik Rydgård
0ccd29f2ba
Revert "OpenGL: Separate submit/present for this backend as well"
...
This reverts commit 0143d67f9b
.
2023-08-12 13:35:21 +02:00
Henrik Rydgård
1ea11c233c
Remove "SwapBuffers" from the GraphicsContext interface.
...
Buildfixes
More buildfix
headless buildfix
One more buildfix
2023-08-11 01:57:02 +02:00
Henrik Rydgård
ed9b033f7d
D3D9/11: Move away from using context->SwapBuffers(), instead move present to draw_->Present().
2023-08-11 01:57:02 +02:00
Henrik Rydgård
1bdbef487b
D3D11: Pass the swapchain pointer into the thin3d context
2023-08-11 01:57:02 +02:00
Henrik Rydgård
0143d67f9b
OpenGL: Separate submit/present for this backend as well
2023-08-10 17:46:10 +02:00
Henrik Rydgård
0deefb82a9
thin3d: Merge BeginFrame and SetDebugFlags (set them every frame anyway)
2023-08-10 17:15:54 +02:00
Henrik Rydgård
be708e3e02
Move KeepScreenAwake to platform specific code.
2023-08-10 16:12:12 +02:00
Henrik Rydgård
b7b3e81e2f
Forgot to remove some EGL files from the vcxproj.
2023-08-10 13:54:07 +02:00
Henrik Rydgård
13274f7ca6
Remove some unused EGL code
2023-08-10 12:02:10 +02:00
Henrik Rydgård
1b6d4df3a4
Move the EndFrame/Present split one level out, to NativeApp.cpp
2023-08-10 09:59:29 +02:00
Henrik Rydgård
e06e919624
VulkanRenderManager: Split finish and present (so we can inject a wait in between if desired).
2023-08-10 09:50:01 +02:00
Henrik Rydgård
0d4a2a7594
Call draw->Begin/EndFrame from outside the screen manager.
...
Just a very small refactoring that I want in a separate commit.
2023-08-09 23:24:28 +02:00
Henrik Rydgård
3e682ea733
Take out the "yield" arm64 implementation, that uses a builtin that some compilers miss.
...
It's not used anyway yet.
Fixes #17877
2023-08-09 12:20:27 +02:00
Henrik Rydgård
2342c4522c
Merge pull request #17875 from unknownbrackets/riscv-jit
...
RISC-V: Implement a few more ops
2023-08-09 09:30:15 +02:00
Unknown W. Brackets
4b9011e475
riscv: Reduce call bloat using temps.
2023-08-08 23:17:32 -07:00
Henrik Rydgård
ac269aaa4b
rcheevos: revert to before #17806
...
PR #17806 upgraded rcheevos, after which a regression is reported in
issue #17631 .
Experimentally revert to confirm.
2023-08-08 15:38:22 +02:00
Henrik Rydgård
86db91979f
Turn off present-wait for now. Too many issues.
2023-08-08 15:07:44 +02:00
Henrik Rydgård
652cc6cd65
Race condition fix
2023-08-08 14:00:58 +02:00
Henrik Rydgård
8fec4fb02f
wip
2023-08-08 13:26:27 +02:00
Henrik Rydgård
527e16c17a
Merge pull request #17863 from hrydgard/merge-update-render
...
Merge NativeUpdate and NativeRender, we always call them together.
2023-08-08 12:00:29 +02:00
Henrik Rydgård
8e74907710
Don't try to use VK_GOOGLE_display_timing on Mac/iOS. MoltenVK has an implementation that seems broken.
2023-08-08 11:46:36 +02:00
Henrik Rydgård
bcae36d8cb
Merge NativeUpdate and NativeRender, we always call them together.
2023-08-07 22:50:57 +02:00
Henrik Rydgård
096c168dd7
Add yield() function to tell the CPU that we're busy-waiting (rare) ( #17862 )
...
* Add yield() function to tell the CPU that we're busy-waiting (rare)
Use it only for the busy-wait in lag sync, which only happens in
Windows.
* Buildfix attempt
2023-08-07 21:38:03 +02:00
Henrik Rydgård
a6b5340d97
Don't crash if VK_KHR_present_id / VK_KHR_present_wait are not exposed (but feature still reported available)
...
Fixes the new crash in #17858
2023-08-07 11:36:49 +02:00
Henrik Rydgård
ab685be566
Windows UWP: Enable color emoji rendering through DirectWrite
2023-08-06 17:25:20 +02:00
Henrik Rydgård
5533d5ec57
More lenient emoji check, remove unused variable
2023-08-06 17:17:24 +02:00
Henrik Rydgård
63cfe28f61
Implement color emoji support on Android
2023-08-06 15:14:29 +02:00
Henrik Rydgård
a477ca3f05
Add a couple of emoji to UI in debug mode
2023-08-06 15:10:49 +02:00
Henrik Rydgård
ea659319b2
Merge pull request #17852 from unknownbrackets/riscv-centralize
...
IR: centralize common parts of native backend
2023-08-06 10:54:53 +02:00
Unknown W. Brackets
93e3d35f5d
irjit: Move more to IRNativeBackend, split.
2023-08-06 00:16:43 -07:00