Commit Graph
45601 Commits
Author SHA1 Message Date
iota97 5ebf683589 Allow to append some configs 2023-01-12 15:39:51 +01:00
Henrik Rydgård 5b7239acf5 Merge pull request #16799 from hrydgard/ffmpeg-single-threaded
ffmpeg: Don't ask for multi-threaded decoding
2023-01-12 12:53:06 +01:00
Henrik Rydgård 449d0a1314 Merge pull request #16800 from hrydgard/android-update-measurements
Android: update measurements on UI thread
2023-01-12 12:52:44 +01:00
Henrik Rydgård f38dd95368 Why not just schedule directly... 2023-01-12 12:24:45 +01:00
Henrik Rydgård 241d867ed7 Android: Take the key change from PR #16583, updating display measurements form the right thread 2023-01-12 12:20:17 +01:00
Henrik Rydgård b173e0f4a4 ffmpeg: Don't ask for multi-threaded decoding
For whatever reason, our version of ffmpeg has problems with it,
and I don't care enough to dig deep.

See PR #13806
2023-01-12 12:13:10 +01:00
Henrik Rydgård 3d6647e0cf Merge pull request #16797 from hrydgard/better-map-error
Android: Don't assert on failed Find4GBBase
2023-01-12 11:43:03 +01:00
Henrik Rydgård b118ffadea Add workaround for hung music notes in Rockman Dash 2
Fixes #11442. Or at least should, I haven't tested this, just followed the
discussion in the issue.

According to this issue, this is a game bug that happens on real hardware
too, due to a lousy job porting the game to the PSP, most likely, which has
different ADSR (note envelope) behavior.
2023-01-12 11:33:59 +01:00
Henrik Rydgård d71c6a0e95 Add some quick memory safety to the functions from #16095 2023-01-12 11:21:38 +01:00
Henrik Rydgård 8a66498359 Merge pull request #16095 from sum2012/sysclib_minor
Add some Sysclib 's nids
2023-01-12 11:14:53 +01:00
Henrik Rydgård 609e7f13c9 Handle a couple of valid but rare return values from vkAcquireNextImageKHR.
See #16601
2023-01-12 08:59:09 +01:00
Henrik Rydgård 0604e51272 Merge pull request #16734 from hrydgard/remove-nonindexed-optimization-vk
Vulkan: Don't use non-indexed draws for pure tristrips and fans (only PowerVR for now)
2023-01-12 08:09:21 +01:00
Henrik Rydgård 781374190c Merge pull request #16794 from hrydgard/remove-android-resolution-selector
Remove the Android display resolution selector
2023-01-12 08:09:03 +01:00
Henrik Rydgård 456a25e427 Merge pull request #16795 from hrydgard/vertical-improvements
Improve the use of space on the main screen in vertical mode.
2023-01-12 08:08:45 +01:00
Henrik Rydgård 6dc930feb7 Merge pull request #16796 from unknownbrackets/icache-typo
jit: Fix reporting of icache invalidate near PC
2023-01-12 07:30:24 +01:00
Unknown W. Brackets 8341b09087 jit: Fix reporting of icache invalidate near PC.
Reversed the check, that's what I get for not testing it.
2023-01-11 20:22:09 -08:00
Henrik Rydgård 0bc7854062 Android: Don't assert on failed Find4GBBase 2023-01-12 01:18:52 +01:00
Henrik Rydgård b4a91dbce5 Disable dark mode in disasm window, and the scrollbar hack 2023-01-12 01:05:06 +01:00
Henrik Rydgård 3c0a5e4c4c Fix the white line 2023-01-12 01:01:03 +01:00
Henrik Rydgård 8037eaa456 Further dark magic, no pun intended. Now for the menu bar. 2023-01-12 00:41:25 +01:00
Henrik Rydgård 62e5a5dfc3 Rudimentary support for Windows Dark Mode. Still undocumented for Win32 apps, so ugly. 2023-01-12 00:41:25 +01:00
Henrik Rydgård 86f34c52a4 Revert bad shader optimization 2023-01-12 00:30:41 +01:00
Henrik Rydgård adcb3e54f4 Improve the use of space on the main screen in vertical mode.
Arranges the main buttons horizontally.
2023-01-11 23:23:24 +01:00
Henrik Rydgård 1cfc7b11b8 Only force indexed draws on PowerVR / Vulkan. 2023-01-11 22:59:30 +01:00
Henrik Rydgård beed3c06d2 Vulkan: Don't use non-indexed draws for pure tristrips and fans, creates extra pipelines.
Bump shader cache version
2023-01-11 22:57:23 +01:00
Henrik Rydgård ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård 30586be75f Merge pull request #16791 from hrydgard/lighting-code-cleanup
Lighting code cleanup and optimization
2023-01-11 22:07:27 +01:00
Henrik Rydgård ca63bb1e5b Even more optimization/cleanup. Don't need to check ldot that we already know is >= 0.0. 2023-01-11 19:34:58 +01:00
Henrik Rydgård 965007d65b Tighten up the lighting shader code a bit, hopefully eliminating a branch or two. 2023-01-11 19:29:02 +01:00
Henrik Rydgård 1c8e456c97 Also apply this to OpenGL and D3D9 2023-01-11 19:29:02 +01:00
Henrik Rydgård 4c2a41cc83 Break out the attenuation term, too 2023-01-11 19:29:02 +01:00
Henrik Rydgård a508f7e345 Shave a few instructions from lighting shaders by prenormalizing the light dir used for spotlights 2023-01-11 19:29:02 +01:00
Henrik Rydgård 8d3a3285da Merge pull request #16787 from hrydgard/lighting-loop
Vertex shaders: On platforms with uniform buffers, use indexing and loop over the lights.
2023-01-11 19:28:53 +01:00
Henrik Rydgård 7b62b4626f Comment fixes 2023-01-11 15:29:52 +01:00
Henrik Rydgård 3b46409350 Vertex shaders: On platforms with uniform buffers, use indexing and loop for real over the lights.
Strangely, greatly speeds up pipeline creation on PowerVR.
2023-01-11 15:24:56 +01:00
Henrik Rydgård 350cb55c63 Merge pull request #16778 from hrydgard/remove-tex-flag
Remove the rather redundant DoTexture flag from vshaders.
2023-01-11 15:01:24 +01:00
Henrik Rydgård d894906a7e Fix formatting of lights uniform buffer (tabs->spaces) 2023-01-11 14:18:14 +01:00
Henrik Rydgård c4d8ebcad5 D3D11 fix 2023-01-11 14:16:46 +01:00
Henrik Rydgård 3d376b0ab7 Remove the rather redundant DoTexture flag from vshaders.
Slightly reduces the number of unique vertex shaders but doesn't do much
for the pipeline count, as the fragment shader has a tex flag. Still
worth doing for the simplification.
2023-01-11 14:16:46 +01:00
Henrik Rydgård 1b4018d19a Fix shader cache clearing in D3D11 - need to clear the input layout maps too 2023-01-11 14:16:12 +01:00
Henrik Rydgård eeca797aac Merge pull request #16785 from hrydgard/scrollview-dragbar
UI: Make vertical scrollbars directly draggable
2023-01-11 12:49:07 +01:00
Henrik Rydgård 69ff11fb40 UI: Make vertical scrollbars directly draggable. 2023-01-11 11:58:51 +01:00
Henrik Rydgård 725f9ad78f Merge pull request #16784 from hrydgard/ui-refactoring
Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h
2023-01-11 11:13:50 +01:00
Henrik Rydgård c27689910e Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h 2023-01-11 10:56:31 +01:00
Henrik Rydgård 5c79b930e9 Merge pull request #16783 from unknownbrackets/gl-cleanup
GLES: Remove some unused depth related code
2023-01-11 09:50:39 +01:00
Unknown W. Brackets 4e67194147 GLES: Remove some unused depth related code. 2023-01-11 00:20:11 -08:00
Henrik Rydgård 289206fee0 Merge pull request #16782 from unknownbrackets/gl-shader-del
GLES: Delete LinkedShaders after the program
2023-01-11 09:07:30 +01:00
Unknown W. Brackets 6a23d5b991 Merge pull request #16769 from hrydgard/more-uniform-bits
Uniform dirty-bits: Make room for four more uniforms.
2023-01-10 22:33:59 -08:00
Unknown W. Brackets 5102ef8a31 GLES: Delete LinkedShaders after the program.
The program references the shader, so we have to delete in this order.
Caused problems on useFlag change as well as probably DeviceLost.
2023-01-10 22:13:40 -08:00
Henrik Rydgård 56261af697 Uniform dirty-bits: Make room for four more uniforms. Then we're out and need to merge. 2023-01-11 00:16:17 +01:00