Commit Graph

261 Commits

Author SHA1 Message Date
Bram Verweij
2b1d40706c Correct indentation and some strings 2022-05-13 16:59:21 +02:00
Bram Verweij
899efa4a45 Expose networking options in libretro core 2022-05-13 16:48:06 +02:00
Henrik Rydgård
3b9ab88b21 Add utility class VulkanBarrier 2022-05-01 10:20:11 +02:00
Henrik Rydgård
a68ddd0a8d Merge separate NEON functions into the normal functions.
We no longer support non-NEON ARM.

It's nice also to have the NEON and SSE implementations "close" to each
other, easier to port optimizations back and forth etc.
2022-04-12 23:43:21 +02:00
Unknown W. Brackets
b71f17586e Switch: Avoid loading Vulkan. 2022-04-02 16:34:13 -07:00
Stuart Kenny
c48680ccdb Add missing Config.h include 2022-02-09 11:39:05 +00:00
Unknown W. Brackets
ad2e380987 Display: Move listeners to separate HW file.
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Stuart Kenny
1a3fed4344 Expose 2xBRZ texture filter option. 2022-01-27 08:27:04 +00:00
Unknown W. Brackets
a0a9b1e89b softgpu: Add class to manage and enqueue for bins.
For now, just forwarding.
2022-01-13 09:26:59 -08:00
Henrik Rydgård
55fe21db1e Add a simple GPU profiler to profile individual events, rather than full passes. 2021-12-12 12:11:54 +01:00
jdgleaver
cdbebc1898 (libretro) Force enable g_Config.bRenderDuplicateFrames + minor audio buffer tweaks 2021-12-07 16:21:59 +00: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
Unknown W. Brackets
3d5bced296 softjit: Rename reg cache so it can be reused.
Intentionally just the name changes in this commit.
2021-11-28 08:03:15 -08:00
Unknown W. Brackets
ae3299ea04 softjit: Add stubbed DrawPixel for x64. 2021-11-26 08:21:11 -08:00
Stuart Kenny
c0e61c9658 Add review suggestion. 2021-11-25 16:03:23 +00:00
Stuart Kenny
d609a7c8bf Destroy backbuffer when shutting down vulkan conext. 2021-11-25 15:32:44 +00:00
Stuart Kenny
afdd51c0e6 Build with correct preprocessor flag 2021-11-24 16:37:29 +00:00
Henrik Rydgård
8f29d9542c Buildfixes 2021-11-22 19:53:00 +01:00
Unknown W. Brackets
09dc38080a softgpu: Move draw pixel code to separate file.
This separates things better anyway.  No major perf impact.
2021-11-21 08:23:32 -08:00
Unknown W. Brackets
953200c995 softgpu: Add func to calculate pixel func ID.
This normalizes some things, and eventually can be used for a jit key.
2021-11-20 15:27:04 -08:00
Stuart Kenny
6882070df2 Fix crash on close content after cached GPU pointer cleanup. 2021-11-17 20:33:44 +00:00
Unknown W. Brackets
5b5a8c9c05 libretro: Expose bool system properties. 2021-10-19 10:01:52 -07:00
Unknown W. Brackets
9730251132 UI: Remove I/O on thread setting.
Still configurable in the ini if really needed, for now.
2021-10-12 20:40:24 -07:00
Unknown W. Brackets
be5c6306d2 libretro: Remove auto texture scaling option.
Functionality removed in 887f610.
2021-10-05 19:33:13 -07:00
Stuart Kenny
825a84a5d1 Wire inflight frames config setting to render managers. 2021-09-11 19:05:34 +01:00
Stuart Kenny
d88fec8950 Decouple Vulkan context object destruction from retroarch's ContextDestroy call 2021-09-10 20:38:52 +01:00
Stuart Kenny
f442f4012c Expose texture shader core option. 2021-09-08 16:42:11 +01:00
Stuart Kenny
6350b41d3f Expose new texture filtering option and fix runtime changing texture upscale mode 2021-09-08 09:27:15 +01:00
Unknown W. Brackets
bac7def66b
libretro: Fix typo. 2021-09-06 19:47:39 -07:00
Henrik Rydgård
be87acf62b libretro: Fix defaults for texture_scaling_level and inflight_frames 2021-09-07 00:51:28 +02:00
Stuart Kenny
feade27cd3 Review style fixes. 2021-09-06 21:01:17 +01:00
Stuart Kenny
c593da050c Expose inflight frames as core option. 2021-09-06 20:14:08 +01:00
Stuart Kenny
0f45c95d17 Fix capitalization in core option labels. 2021-09-06 20:13:07 +01:00
Stuart Kenny
6db91abf17 Move core initialization code out of retro_load_game method 2021-09-06 20:10:13 +01:00
Stuart Kenny
3b39b6fcaa Do not fast forward by default. 2021-09-06 20:03:57 +01:00
Stuart Kenny
da4652aa2a Do not skip SwapBuffer() when skipDrawReason set.
Fixes nothing being rendered with high frameskip ratios.
2021-09-06 20:00:50 +01:00
bslenul
5ba544ebab [Libretro] Small core options cleanup + create a new git-version.cpp instead of appending stuff in it 2021-08-30 16:38:37 +02:00
Henrik Rydgård
8cab56c948 Move keymap defaults to a separate file. Not exactly a clean separation though. 2021-08-28 15:12:10 +02:00
Henrik Rydgård
0c34c939ad
Merge pull request #14749 from amverweij/rename-vk-externals-v3
Rename Vulkan externals
2021-08-21 13:45:06 +02:00
Bram Verweij
a31cbe42d2 Rename namespace to PPSSPP_VK, remove indentation 2021-08-21 12:39:15 +02:00
Bram Verweij
cc00a4132d Prevent dlopen collisions between ppsspp_libretro.so and libvulkan.so 2021-08-20 11:22:57 +02:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Autechre
308f74ddae
(Libretro) Switch back to earlier base_width/base_height values
We decided on fixing this issue at the frontend level instead of the core side. Our apologies for this secondary PR, we'd appreciate if it could be merged quickly.
2021-08-17 01:13:24 +02:00
Autechre
23f1443949
Set base_width/base_height to sane dimensions (480x272)
base_width/base_height should be set to the lowest/default PSP internal resolution, which in this case is 480x272. Setting base_width/height the same as max_width/max_height would create problems with windowed mode in RetroArch, it would try to create a huge window (often times far exceeding the desktop size).
2021-08-15 10:03:19 +02:00
Henrik Rydgård
43ae32e5b8
Merge pull request #14713 from amverweij/vulkan-display-khr
First pass on using Display KHR, needs proper init flags
2021-08-11 01:34:38 +02:00
Henrik Rydgård
d62899efcd
Merge pull request #14711 from unknownbrackets/reverb-volume
Sas: Add option to control reverb volume
2021-08-10 13:02:30 +02:00
Unknown W. Brackets
ff9b9f7321 Sas: Add option to control reverb volume.
This also allows you to turn it off.
2021-08-09 20:47:24 -07:00
Brian Blakely
379f075c85
Do not call methods on gpu if it is null. Fixes #13412 (sans video rewind). (#14674)
* Do not call methods on gpu if it is null. Fixes 13412 (sans video rewind).

* Do not call methods on gpu if it is null. Fixes #13412 (sans video rewind).

* Ensure PSP is init before measuring state size.

* Continue running core until GPU is ready.

* Libretro: Bypass state measure during init.

* Sync ffmpeg version with master.

* Do not call methods on gpu if it is null. Fixes #13412 (sans video rewind).

* Ensure PSP is init before measuring state size.

* Continue running core until GPU is ready.

* Libretro: Bypass state measure during init.

* Sync ffmpeg version with master.
2021-08-09 23:16:30 +02:00
Unknown W. Brackets
a1b88bedd9 SaveState: Validate size matches measured.
In #14653, a save state appears to have been generated truncated.
This attempts to detect that at generation time.
2021-08-07 13:55:29 -07:00
Henrik Rydgård
ff340b8183
Merge pull request #14561 from archanox/master
RISC-V Port
2021-08-07 13:36:13 +02:00