shadPS4/src/video_core
TheTurtle c4506da0ae
kernel: Rewrite pthread emulation (#1440)
* libkernel: Cleanup some function places

* kernel: Refactor thread functions

* kernel: It builds

* kernel: Fix a bunch of bugs, kernel thread heap

* kernel: File cleanup pt1

* File cleanup pt2

* File cleanup pt3

* File cleanup pt4

* kernel: Add missing funcs

* kernel: Add basic exceptions for linux

* gnmdriver: Add workload functions

* kernel: Fix new pthreads code on macOS. (#1441)

* kernel: Downgrade edeadlk to log

* gnmdriver: Add sceGnmSubmitCommandBuffersForWorkload

* exception: Add context register population for macOS. (#1444)

* kernel: Pthread rewrite touchups for Windows

* kernel: Multiplatform thread implementation

* mutex: Remove spamming log

* pthread_spec: Make assert into a log

* pthread_spec: Zero initialize array

* Attempt to fix non-Windows builds

* hotfix: change incorrect NID for scePthreadAttrSetaffinity

* scePthreadAttrSetaffinity implementation

* Attempt to fix Linux

* windows: Address a bunch of address space problems

* address_space: Fix unmap of region surrounded by placeholders

* libs: Reduce logging

* pthread: Implement condvar with waitable atomics and sleepqueue

* sleepq: Separate and make faster

* time: Remove delay execution

* Causes high cpu usage in Tohou Luna Nights

* kernel: Cleanup files again

* pthread: Add missing include

* semaphore: Use binary_semaphore instead of condvar

* Seems more reliable

* libraries/sysmodule: log module on `sceSysmoduleIsLoaded`

* libraries/kernel: implement `scePthreadSetPrio`

---------

Co-authored-by: squidbus <175574877+squidbus@users.noreply.github.com>
Co-authored-by: Daniel R. <47796739+polybiusproxy@users.noreply.github.com>
2024-11-21 22:59:38 +02:00
..
amdgpu kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
buffer_cache Implement shader resource tables (#1165) 2024-11-01 08:55:53 +02:00
host_shaders Respect game brightness settings (#1559) 2024-11-21 12:06:53 +02:00
renderer_vulkan video_core/amdgpu: heuristic for shader binary info 2024-11-21 19:24:13 +01:00
texture_cache kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
multi_level_page_table.h video_core: Implement guest buffer manager (#373) 2024-08-08 15:02:10 +03:00
page_manager.cpp kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
page_manager.h video_core: Implement guest buffer manager (#373) 2024-08-08 15:02:10 +03:00
renderdoc.cpp Use fs::path::native whenever possible, avoid unnecessary fs->string conversions in GUI code (#1064) 2024-09-26 11:41:59 +03:00
renderdoc.h Use fs::path::native whenever possible, avoid unnecessary fs->string conversions in GUI code (#1064) 2024-09-26 11:41:59 +03:00