Unknown W. Brackets
8b5173350f
ThreadManager: Make TaskType a property of a Task.
2021-12-05 21:01:49 -08:00
Unknown W. Brackets
f9bab64bdf
Android: Optimize content URI exists check.
2021-12-05 21:01:49 -08:00
Henrik Rydgård
197897979a
Merge pull request #15202 from twinaphex/master
...
(Libretro) Reimplement audio -
2021-12-05 18:34:31 +01:00
twinaphex
df8dbd8861
(Libretro) Reimplement audio -
...
* Move audio callback to the main thread (fixes the longstanding hang
issues when using OpenGL)
* 64ms on desktop isn't enough due to excess buffering going on in this
emulator. Set default to 128ms instead.
* Different audio approach is necessary due to the following: it sets a
fixed framerate of 60, then sends either too many or too few audio
samples per frame in order to force the frontend to run at the correct
speed (.e.g. making the frontend run in slow motion for games that run
at 30fps) - this is undesirable for libretro, we want a consistent
amount of audio samples per batch. See further comments in libretro.cpp
for more information
2021-12-05 17:31:36 +01:00
Henrik Rydgård
0afddcc38d
Merge pull request #15200 from unknownbrackets/softjit-sampler
...
Use vectorcall and regcache in samplerjit (software renderer)
2021-12-05 09:34:15 +01:00
Henrik Rydgård
897aa81933
Merge pull request #15199 from unknownbrackets/symbolmap
...
Debugger: Speed up GetFunctionSize()
2021-12-05 09:31:41 +01:00
Unknown W. Brackets
891fa8c613
softgpu: Template away uncommon mip usage.
...
Improves general case about 10%.
2021-12-04 15:45:06 -08:00
Unknown W. Brackets
48e9404419
softgpu: Remove useless switch by UV gen mode.
...
They're all handled earlier now, and the switch is on a value & 3, so the
default wasn't even possible.
2021-12-04 15:45:06 -08:00
Unknown W. Brackets
ff94974df9
softgpu: Avoid texlevel check when maxlevel is 0.
2021-12-04 15:45:06 -08:00
Unknown W. Brackets
823c4adb15
softgpu: Keep arguments in vectors for sampling.
2021-12-04 15:45:06 -08:00
Unknown W. Brackets
9155cd7491
Debugger: Reduce meminfo block check hazard.
...
If a debugger (i.e. the memory view) checks for memory block info while a
save state is being loaded, it can crash. This was already rare, but this
change makes it significantly rarer.
Of course, it's still possible without a mutex, but I'm wanting to avoid
slowing down the lookups as they are used at runtime within emulation.
2021-12-04 14:51:02 -08:00
Unknown W. Brackets
e2425a1e00
Debugger: Speed up GetFunctionSize().
...
Tested games with lots of functions, it's just never worth generating the
full active symbols. Direct lookup saves 0.005s startup on desktop in a
typical game.
2021-12-04 14:49:50 -08:00
Unknown W. Brackets
d7c25b3e7c
samplerjit: Refactor nearest using reg cache.
2021-12-04 13:04:53 -08:00
Unknown W. Brackets
4b5d703e00
Merge pull request #15197 from hrydgard/shm-open
...
Common: Correct shm_open() call
2021-12-04 05:11:39 -08:00
Unknown W. Brackets
fd245f2863
Common: Correct shm_open() call.
...
Don't remember what happened here,
this was meant to be shm_open().
2021-12-03 14:30:32 -08:00
Henrik Rydgård
e34f82627f
Merge pull request #15194 from unknownbrackets/psmf-validate
...
Psmf: Check for invalid stream/EP map entry counts
2021-12-03 08:56:57 +01:00
Henrik Rydgård
984dac562f
Merge pull request #15193 from unknownbrackets/vulkan-pipeline
...
Vulkan: Cleanup pipeline var shadowing
2021-12-03 08:56:36 +01:00
Unknown W. Brackets
b332d0411e
Psmf: Check for invalid stream/EP map entry counts.
2021-12-02 19:04:48 -08:00
Unknown W. Brackets
212669d2bc
Vulkan: Cleanup pipeline var shadowing.
2021-12-02 17:57:40 -08:00
Henrik Rydgård
676ed6c15d
Merge pull request #15190 from unknownbrackets/softjit-cleanup
...
Minor cleanup to software renderer jit
2021-12-02 09:02:55 +01:00
Unknown W. Brackets
4aa5bee14c
softjit: Make it an error to unlock a temp.
...
Also fix some register usage in logic ops.
2021-12-01 21:50:02 -08:00
Unknown W. Brackets
75a918f96f
softjit: Get rid of pointless AGE00 tests.
2021-12-01 21:44:10 -08:00
Unknown W. Brackets
f47fb7e14e
softjit: Normalize some stencil test patterns.
2021-12-01 21:43:52 -08:00
Unknown W. Brackets
ba69e39256
softjit: Avoid tests for greater than 0.
...
They take more instructions, and can be somewhat common.
2021-12-01 21:40:10 -08:00
Unknown W. Brackets
aec41b34d6
softjit: Reduce ditherMatrix to 8-bit.
...
Oops, not sure why I made it 16 bit.
2021-12-01 21:39:29 -08:00
Unknown W. Brackets
1c5615624a
softjit: Oops, correct allocation typo.
...
Decided to leave these for paired operations.
2021-12-01 21:37:55 -08:00
Henrik Rydgård
bfe31d8b62
Update Tagalog (tg_PH) with new translations by Gamemulatorer. Fixes #15189
2021-12-01 20:26:05 +01:00
Henrik Rydgård
434fa0f072
Merge pull request #15183 from orbea/spirv-cross-build
...
ext/SPIRV-Cross-build: Update cmake version
2021-11-30 18:03:29 +01:00
Henrik Rydgård
0ab207adb1
Display the graphics API on logoscreen on more platforms
2021-11-30 10:11:18 +01:00
Henrik Rydgård
cfe2716d49
Merge pull request #15178 from unknownbrackets/threads-atomic
...
Tweaks to thread manager enqueue and shutdown
2021-11-30 09:26:13 +01:00
Unknown W. Brackets
382432967c
Merge pull request #15168 from unknownbrackets/ppge-ampersand
...
PPGe: Prevent special ampersand handling
2021-11-30 00:25:31 -08:00
Henrik Rydgård
f825b2cf51
Merge pull request #15184 from orbea/cmake
...
cmake: Generate git-version.cpp in the build dir
2021-11-30 09:06:00 +01:00
Henrik Rydgård
0ffc4286c7
Merge pull request #15185 from CarterLi/master
...
CMake: Allow use system miniUPnPc and ( on macOS ) system glew
2021-11-30 09:04:40 +01:00
Henrik Rydgård
bed1b5a823
Merge pull request #15181 from unknownbrackets/softjit-args
...
softjit: Centralize argument register allocation
2021-11-30 09:03:55 +01:00
Henrik Rydgård
d45c6bcd75
Merge pull request #15186 from CarterLi/vulkan
...
ext: Update vulkan headers & binaries
2021-11-30 09:02:57 +01:00
李通洲
fee3b71449
ext: Update vulkan headers
2021-11-30 15:04:44 +08:00
李通洲
0c3c89a093
ext: Allow use system glew with system ffmpeg (macOS)
2021-11-30 14:40:32 +08:00
李通洲
521b04452e
ext: Support building with system miniUPnPc
2021-11-30 14:40:32 +08:00
orbea
c05c699eaf
cmake: Generate git-version.cpp in the build dir
2021-11-29 10:16:50 -08:00
orbea
dd795605cf
ext/SPIRV-Cross-build: Update cmake version
...
This matches the upstream SPIRV-Cross CMakeLists.txt.
Also silences a warning.
CMake Deprecation Warning at ext/SPIRV-Cross-build/CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
2021-11-29 08:24:35 -08:00
Unknown W. Brackets
bfe82e417d
softjit: Fix locked stencil reg.
2021-11-28 20:26:01 -08:00
Unknown W. Brackets
0ef1df79b9
headless: Enable softgpu jit for tests.
2021-11-28 15:54:48 -08:00
Unknown W. Brackets
99c213f244
softjit: Centralize argument register allocation.
2021-11-28 15:53:24 -08:00
Henrik Rydgård
2a9300698e
Merge pull request #15180 from unknownbrackets/softjit-args
...
Refactor software renderer jit cache to be shared
2021-11-28 22:12:29 +01:00
Henrik Rydgård
dbb711bf1d
Merge pull request #15175 from unknownbrackets/mips-shutdown
...
jit: More atomically update pointer
2021-11-28 21:57:04 +01:00
Unknown W. Brackets
7aea6d2ab0
softjit: Fix fog typo causing locking bug.
2021-11-28 12:26:23 -08:00
Unknown W. Brackets
b8ab7f39df
jit: Lock around changes to the jit pointer.
2021-11-28 10:04:22 -08:00
Unknown W. Brackets
9653c33d9c
softjit: Fix PixelFuncID arg on non-Windows x64.
...
Oops, this is of course not put on the stack, it's in R8.
2021-11-28 08:54:36 -08:00
Unknown W. Brackets
2d8fdd8cf4
Math3D: Allow construction from NEON vectors.
...
This makes it match SSE and easier to keep things generic. Will impact
alignment of non-packed Vec2/Vec3.
2021-11-28 08:24:53 -08:00
Unknown W. Brackets
96a7554053
sofjit: Move common types to reg cache header.
...
This makes it easier to use vectors elsewhere.
2021-11-28 08:03:15 -08:00