Commit Graph
36855 Commits
Author SHA1 Message Date
Henrik Rydgård 6df78568c8 Clear the shader cache 2023-05-29 18:32:37 +02:00
Henrik Rydgård 485131a29c Win32: Plumb through an attempt at handling Vulkan device lost.
Unfortunately, recreating the device fails on NV.
2023-05-29 18:32:29 +02:00
Henrik Rydgård f33776bc4a Fix a very tiny memory leak 2023-05-29 16:02:53 +02:00
Henrik Rydgård 9f2005113b Add a function to the dev menu to intentionally lose the VK device. To be used for debugging recovery. 2023-05-29 15:16:27 +02:00
Henrik Rydgård 602226e467 Merge pull request #17530 from hrydgard/draw-refcount-debug
Draw/thin3d: Show the class name in refcount debug asserts
2023-05-29 15:15:44 +02:00
Henrik Rydgård 5eb94350fa Show the class name in refcount debug asserts 2023-05-29 12:50:45 +02:00
Henrik Rydgård 15ec9ad1e3 Merge pull request #17529 from hrydgard/context-restart-debug
SDL: Add a way to reset OpenGL rendering by pressing F7.
2023-05-29 12:35:39 +02:00
Henrik Rydgård d167a11b1c SDL: Add a way to reset OpenGL graphics by pressing F7. 2023-05-29 11:48:03 +02:00
Henrik Rydgård 7912eef0b7 Merge pull request #17524 from sum2012/mpeg-patch
Experimental fix for sceMpegAvcDecode (library version check)
2023-05-28 10:20:45 +02:00
Henrik Rydgård ae8ded6ce1 Merge pull request #17525 from brad0/openbsd_cmake_fix
Fix building on OpenBSD
2023-05-28 08:59:12 +02:00
Brad Smith 94aed7a101 Fix building on OpenBSD
Otherwise build breaks complaining about vasprintf() missing due to the
use of _POSIX_C_SOURCE.
2023-05-28 01:59:40 -04:00
sum2012 dea35595f7 Fix sceMpegAvcDecode
Fix  Metal Gear Solid Peace Walker get stuck in video
2023-05-28 10:54:51 +08:00
Henrik Rydgård c533187e24 Merge pull request #17518 from lvonasek/feautre_openxr_pergame_config
OpenXR - Enable VR settings per game
2023-05-27 11:35:27 +02:00
Henrik Rydgård 4704bc92a7 Merge pull request #17375 from hrydgard/ui-event-queue
Queue up input events for processing, except in-game. Avoids some potential threading issues/hangs.
2023-05-27 11:27:41 +02:00
Lubos fe713cdc6e CI build 2023-05-27 11:18:35 +02:00
Lubos e33398c9e2 OpenXR - Enable VR settings per game 2023-05-27 10:50:15 +02:00
Henrik Rydgård 50aa598ed1 Fix handling events in "empty" (no root) UIScreens 2023-05-27 00:35:25 +02:00
Henrik Rydgård 3715b1ffa1 Split the functions up, so you don't have to care about the Unsync ones at all in most cases while still getting synced behavior. 2023-05-26 18:41:13 +02:00
Henrik Rydgård cca613e785 Initial work on queueing up UI events for processing. Key events excepted for now. 2023-05-26 18:41:13 +02:00
Henrik Rydgård 2675d6ea43 Input event and device enums (#17514)
* Switch deviceID from int to enum InputDeviceID, globally

* Switch axisId to enum InputAxis

* Change int keycodes to InputKeyCode where it makes sense.

* SDL input buildfix

* SDL keycode buildfix

* Switch on enum warning fixes

* Qt keycode buildfix

* iOS keycode buildfix

* UWP keycode buildfix

* More iOS buildfix

* More iOS buildfix

* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård 6f380a7a0a Merge pull request #17513 from hrydgard/fix-post-proc-stretch
Post-processing: Fix using limited UV ranges when there's a single upscaling filter in the chain.
2023-05-26 17:46:25 +02:00
Henrik Rydgård c2fb815729 Merge pull request #17515 from bslenul/lr-remove-skip-buffer-effects
[Libretro] Remove "Skip Buffer Effects" core option
2023-05-26 16:04:26 +02:00
Henrik Rydgård ca75e20155 Fix minor config backwards compatibility issue, see #17502, iota97's comment 2023-05-26 15:47:58 +02:00
Bobby Smith 2663a85cc3 [Libretro] Remove "Skip Buffer Effects" core option 2023-05-26 13:07:32 +02:00
Henrik Rydgård ad8827ae70 Cleanup, address feedback 2023-05-26 10:28:10 +02:00
Henrik Rydgård 5c94a20ecb SoftGPU: implement CheckConfigChanged, have it check postshaders. Fixes #17511. 2023-05-26 09:48:51 +02:00
Henrik Rydgård 6cee08c74f Post-processing: Fix using limited UV ranges when there's a single upscaling filter in the chain.
Fixes #17499
2023-05-26 09:48:51 +02:00
Henrik Rydgård 9379a6be37 Merge pull request #17506 from fp64/vrnd
Emulating HW vrnd
2023-05-26 09:47:28 +02:00
Unknown W. Brackets f2919598fb Merge pull request #17501 from hrydgard/npdrm-error-handling
Fix "double delay" error in sceNpDrmEdataSetupKey
2023-05-25 19:46:37 -07:00
fp64 a97c911d46 Address feedback 2023-05-25 17:28:38 -04:00
fp64 23ef21ba9b Fix a bug, and bump savestate version 2023-05-25 16:18:58 -04:00
fp64 71884d5843 Make vrnd match HW closer
See investigation starting
https://github.com/hrydgard/ppsspp/issues/16946#issuecomment-1467261209
for more details.
Still needs more testing.
2023-05-25 14:18:19 -04:00
Henrik Rydgård da3bd67856 Merge pull request #17505 from hrydgard/uv-scale-uniform-opt
Only dirty the uniform UVSCALEOFFSET when really needed
2023-05-25 16:22:24 +02:00
Henrik Rydgård 80e47b7bd3 Only dirty the uniform UVSCALEOFFSET when really needed
Broken out from #17479

With OpenGL, greatly reduces the amount of glUniform4fv calls in many games (and
similar in the other backends).
2023-05-25 15:00:57 +02:00
Henrik Rydgård e1890b6a98 Merge pull request #17504 from hrydgard/opengl-even-more-stats
OpenGL queue-runner: Add render command counts (debug builds only).
2023-05-25 14:48:05 +02:00
Henrik Rydgård 82934b9212 OpenGL queue-runner: Add command counts (debug builds only). Useful for checking optimizations. 2023-05-25 14:15:54 +02:00
Henrik Rydgård b6c3ffe994 Merge pull request #17449 from hrydgard/fragment-ubershader
Fragment "ubershader" option
2023-05-25 14:15:44 +02:00
Henrik Rydgård 693bb9b8c6 Merge pull request #17502 from nadenislamarre/prevslot
previous slot shortcut
2023-05-25 14:09:12 +02:00
Nicolas Adenis-Lamarre f32b0dc9c3 previous slot shortcut
Signed-off-by: Nicolas Adenis-Lamarre <[email protected]>
2023-05-25 11:32:49 +00:00
Henrik Rydgård 72cf531759 Bump shader cache version 2023-05-25 10:19:01 +02:00
Henrik Rydgård 7178c0cd42 Restore fragmentshader ID flags double and texalpha. Add a ubershader mode that uses dynamic state. 2023-05-25 10:19:01 +02:00
Henrik Rydgård bb6d696a84 Merge the tex "ubershader" uniforms into one for convenience 2023-05-25 10:19:01 +02:00
Henrik Rydgård ebd36a4369 Reorganize the fragment shader bits 2023-05-25 10:19:01 +02:00
Henrik Rydgård c5e0dafa44 Fix "double delay" error in sceNpDrmEdataSetupKey 2023-05-25 10:02:52 +02:00
Henrik Rydgård 0a069f39c9 Windows: Make double-click-for-fullscreen less oversensitive. 2023-05-25 09:28:55 +02:00
Henrik Rydgård 12106ceb75 Format string fix 2023-05-24 15:52:39 +02:00
Henrik Rydgård 11793fb83c Merge pull request #17498 from hrydgard/opengl-more-gpu-stats
OpenGL: Show passes in GPU profiler, add GPU memory stats, plus a bugfix
2023-05-24 15:51:02 +02:00
Henrik Rydgård dfb446f89d Allow other backends than Vulkan to have GPU memory stats. Implement for GL. 2023-05-24 14:33:01 +02:00
Henrik Rydgård 62b41c6640 OpenGL: Add a simple pass list to gpu profiler 2023-05-24 14:08:19 +02:00
Henrik Rydgård edd208791e Add tag field to GLRFramebuffer for debugging 2023-05-24 13:47:51 +02:00