Commit Graph

35501 Commits

Author SHA1 Message Date
Henrik Rydgård
a67604d003 Tighten up shader compilation logging 2023-02-01 11:42:25 +01:00
Henrik Rydgård
d7605c6877 Use dedicated threads for the shader object creation. Bypasses the deadlock possibility. 2023-02-01 11:15:33 +01:00
Henrik Rydgård
1437c2f707 Comment update 2023-02-01 11:15:33 +01:00
Henrik Rydgård
6a290d7999 Measure pipeline compilation time since scheduling, to judge parallelism 2023-02-01 11:15:33 +01:00
Henrik Rydgård
8821d619e4 Create pipelines in parallel 2023-02-01 11:15:33 +01:00
Henrik Rydgård
5ca0bfe716 Fix compile error and warning
Fixes #16886
2023-02-01 11:13:51 +01:00
Henrik Rydgård
12f219f695
Merge pull request #16884 from Narugakuruga/patch-15
Update zh_CN.ini
2023-02-01 09:32:08 +01:00
Narugakuruga
3d4863c864
Update zh_CN.ini 2023-02-01 16:27:36 +08:00
Henrik Rydgård
681d022645
Merge pull request #16883 from Narugakuruga/patch-14
Update Simplified Chinese
2023-02-01 09:18:01 +01:00
Henrik Rydgård
091f9dcab2
Merge pull request #16880 from unknownbrackets/buffer-allowed-z
GPU: Allow depth above 65535
2023-02-01 09:14:19 +01:00
Narugakuruga
6afeca8100
Update zh_CN.ini 2023-02-01 16:14:07 +08:00
Narugakuruga
4022fbd510
Update zh_CN.ini 2023-02-01 16:11:11 +08:00
Narugakuruga
891c1ba5fe
Create zh_CN.ini 2023-02-01 15:58:58 +08:00
Henrik Rydgård
79d453acf9
Merge pull request #16882 from warmenhoven/dev/warmenhoven/libretro-mac
Avoid symbol collisions with RetroArch on mac
2023-02-01 08:16:29 +01:00
Eric Warmenhoven
165dffea22 Avoid symbol collisions with RetroArch on mac 2023-01-31 23:02:09 -08:00
Henrik Rydgård
9ec8ee1b20
Merge pull request #16870 from unknownbrackets/cpu-detect
libretro: Probably fix macOS cpu_features build
2023-02-01 06:27:11 +01:00
Unknown W. Brackets
9c6d63955a UI: Small formatting fix. 2023-01-31 18:41:12 -08:00
Unknown W. Brackets
08ac34bae0 GPU: Allow depth above 65535.
Hopefully it rounds down for any == or <= tests.
2023-01-31 18:41:06 -08:00
Henrik Rydgård
e0db28899c Windows: Correct menu bar when dark mode is off 2023-02-01 00:05:40 +01:00
Henrik Rydgård
599bfed1b8
Merge pull request #16878 from hrydgard/selective-restore-to-default
Restore settings to default - let you choose what to reset
2023-01-31 23:10:00 +01:00
Henrik Rydgård
8e38ac0785
Merge pull request #16879 from warmenhoven/dev/warmenhoven/libretro-mac
Fix vulkan mac libretro crash due to not creating the surface
2023-01-31 21:37:34 +01:00
Henrik Rydgård
5154e5e7b8 Add some padding to the textview, buildfix 2023-01-31 21:26:12 +01:00
Eric Warmenhoven
712e3b9d9c Fix vulkan mac libretro crash due to not creating the surface 2023-01-31 12:14:55 -08:00
Henrik Rydgård
79e4a3d345 Windows: Clamp the reported refresh rate to 60, experiment for problem from #16725 2023-01-31 20:41:12 +01:00
Henrik Rydgård
4f20852953 cleanup 2023-01-31 20:38:09 +01:00
Henrik Rydgård
c554f4e2b6 Allow restoring only settings, recents or controls to defaults.
Fixes #16381 , though could make even more granular later.

The only translation change was deleting one sentence from a longer
string - used Google Translate to assist me in removing the correct part
for a few of them, most were obvious. Hope they're all right.
2023-01-31 18:56:18 +01:00
Henrik Rydgård
01eabe7e98 GameSettingsScreen: Split up the giant CreateViews method 2023-01-31 18:42:22 +01:00
Henrik Rydgård
ec2a95e965
Merge pull request #16876 from warmenhoven/dev/warmenhoven/libretro-mac
libretro yaml fix
2023-01-31 14:56:17 +01:00
Eric Warmenhoven
026ab32b2d libretro yaml fix 2023-01-31 05:25:18 -08:00
Henrik Rydgård
1f3969aff3
Merge pull request #16873 from hrydgard/dedicated-thread
Add facility to run tasks on dedicated threads using the ThreadManager interface
2023-01-31 11:50:59 +01:00
Henrik Rydgård
c8dce81ff0
Merge pull request #16156 from hrydgard/opengl-thread-refactor
OpenGL threading refactor
2023-01-31 11:14:01 +01:00
Henrik Rydgård
6b0903f566 Add facility to run tasks on dedicated threads using the ThreadManager interface.
Useful for things that should be run ASAP even if the threadpool is full,
at a small extra cost. (Not recommended for very small tasks).

Considering using this to resolve the deadlocks in #16802.
2023-01-31 11:07:40 +01:00
Henrik Rydgård
b04dd81cba
Merge pull request #16704 from hrydgard/darkmode
Windows Dark Mode: initial support
2023-01-31 10:45:07 +01:00
Henrik Rydgård
c88189289b
Merge pull request #16867 from hrydgard/initialization-cleanups
Initialization cleanups
2023-01-31 10:12:50 +01:00
Henrik Rydgård
64a90ffd72
Merge pull request #16871 from warmenhoven/dev/warmenhoven/libretro-mac
#16869 Fix libretro Mac x64 build, add Mac arm64 build
2023-01-31 10:12:24 +01:00
Eric Warmenhoven
3a2852f9e8 Fix libretro Mac x64 build, add Mac arm64 build 2023-01-30 20:33:40 -08:00
Unknown W. Brackets
eb1b18ed47 libretro: Probably fix macOS cpu_features build. 2023-01-30 18:09:50 -08:00
Henrik Rydgård
7e29613df3
Merge pull request #16868 from hrydgard/upgrade-vulkan-headers
Update Vulkan headers to SDK 1.3.239
2023-01-30 20:47:02 +01:00
Henrik Rydgård
891df6c0c4 Update Vulkan headers to SDK 1.3.239 2023-01-30 18:55:49 +01:00
Henrik Rydgård
df1c013272
Merge pull request #16862 from unknownbrackets/cpu-detect
Add and use the cpu_features library for feature detect
2023-01-30 18:47:36 +01:00
Henrik Rydgård
b97749d623 Assorted initialization cleanup and similar, found by valgrind and warnings 2023-01-30 18:31:49 +01:00
Henrik Rydgård
5735b9a8ac Buildfixes for libretro, ios 2023-01-30 15:57:18 +01:00
Henrik Rydgård
cb16f193ec Fix the problem. Still need to leave the loop with SDL even if we supply a swap function. 2023-01-30 15:45:05 +01:00
Henrik Rydgård
0f52954eae Minor log cleanups 2023-01-30 14:38:05 +01:00
Henrik Rydgård
d43452f0ce Fix to shutdown sequence 2023-01-30 11:49:31 +01:00
Henrik Rydgård
436a3e0d61 Cleaner exit from emuthread, as used by OpenGL. Don't know how it worked before... 2023-01-30 11:49:31 +01:00
Henrik Rydgård
a0c893cc8f Fix ThreadFrame. All OK now except shutdown, it seems 2023-01-30 11:49:31 +01:00
Henrik Rydgård
2659fd6f66 Android work. Make the Android OpenGL exit prodecure make more sense 2023-01-30 11:49:31 +01:00
Henrik Rydgård
b62572a78f Refactor the framedata/GPU thread management. 2023-01-30 11:49:31 +01:00
Henrik Rydgård
a410ea5535
Merge pull request #16864 from hrydgard/gl-refactor-breakout
GL refactor: Breakout a couple of commits
2023-01-30 11:49:08 +01:00