summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | renderer_vulkan: Throw when enumerating devices failsGravatar ReinUsesLisp2020-12-315-33/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report device enumeration errors with exceptions to be consistent with other initialization related function calls. Reduces the amount of code to maintain.
| * | | | | | | renderer_vulkan: Initialize surface in separate fileGravatar ReinUsesLisp2020-12-316-73/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move surface initialization code to a separate file. It's unlikely to use this code outside of Vulkan, but keeping platform-specific code (Win32, Xlib, Wayland) in its own translation unit keeps things cleaner.
| * | | | | | | renderer_vulkan: Catch and report exceptionsGravatar ReinUsesLisp2020-12-311-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move more Vulkan code to report errors with exceptions and report them through a log before notifying it with an error boolean for backwards compatibility. In the future we can replace the rasterizer two-step initialization to always use exceptions.
| * | | | | | | renderer_vulkan: Create debug callback on separate file and throwGravatar ReinUsesLisp2020-12-318-79/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize debug callbacks (messenger) from a separate file. This allows sharing code with different backends. Change our Vulkan error handling to use exceptions instead of error codes, simplifying the initialization process.
| * | | | | | | renderer_vulkan: Move instance initialization to a separate fileGravatar ReinUsesLisp2020-12-314-111/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify Vulkan's backend initialization code by moving it to a separate file, allowing us to initialize a Vulkan instance from different backends.
| * | | | | | | vulkan_common: Rename renderer_vulkan/wrapper.h to ↵Gravatar ReinUsesLisp2020-12-3151-51/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vulkan_common/vulkan_wrapper.h Allows sharing Vulkan wrapper code between different rendering backends.
| * | | | | | | vulkan_common: Move dynamic library load to a separate fileGravatar ReinUsesLisp2020-12-314-31/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows us to initialize a Vulkan dynamic library from different backends without duplicating code.
* | | | | | | | Merge pull request #5278 from MerryMage/cpuopt_unsafe_inaccurate_nanGravatar bunnei2021-01-036-0/+26
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | dynarmic: Add Unsafe_InaccurateNaN optimization
| * | | | | | | | dynarmic: Add Unsafe_InaccurateNaN optimizationGravatar MerryMage2021-01-026-0/+26
| | | | | | | | |
* | | | | | | | | Merge pull request #5279 from bunnei/buffer-queue-connectGravatar bunnei2021-01-031-2/+0
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | hle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect.
| * | | | | | | | hle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect.Gravatar bunnei2021-01-021-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This behavior is a mistake, fixes Katana Zero.
* | | | | | | | | Merge pull request #5267 from lioncash/localizeGravatar bunnei2021-01-021-10/+13
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | main: Make the loader error dialog fully translatable
| * | | | | | | | main: Make the loader error dialog fully translatableGravatar Lioncash2020-12-311-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the dialog fully localizable and also adds disambiguation comments to help translators understand what the formatting specifiers indicate.
| * | | | | | | | main: Tidy up enum comparisonGravatar Lioncash2020-12-311-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | enum classes are comparable with one another, so these casts aren't necessary.
* | | | | | | | | general: Fix various spelling errorsGravatar Morph2021-01-0220-43/+43
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #5209 from Morph1984/refactor-controller-connectGravatar bunnei2021-01-014-12/+47
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | configure_input: Modify controller connection delay
| * | | | | | | configure_input: Modify controller connection delayGravatar Morph2021-01-014-12/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
* | | | | | | | memory: Remove MemoryHookGravatar MerryMage2021-01-019-382/+0
| | | | | | | |
* | | | | | | | Merge pull request #5249 from ReinUsesLisp/lock-free-pagesGravatar bunnei2021-01-017-147/+132
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | core/memory: Read and write page table atomically
| * | | | | | | | core/memory: Read and write page table atomicallyGravatar ReinUsesLisp2020-12-297-147/+132
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squash attributes into the pointer's integer, making them an uintptr_t pair containing 2 bits at the bottom and then the pointer. These bits are currently unused thanks to alignment requirements. Configure Dynarmic to mask out these bits on pointer reads. While we are at it, remove some unused attributes carried over from Citra. Read/Write and other hot functions use a two step unpacking process that is less readable to stop MSVC from emitting an extra AND instruction in the hot path: mov rdi,rcx shr rdx,0Ch mov r8,qword ptr [rax+8] mov rax,qword ptr [r8+rdx*8] mov rdx,rax -and al,3 and rdx,0FFFFFFFFFFFFFFFCh je Core::Memory::Memory::Impl::Read<unsigned char> mov rax,qword ptr [vaddr] movzx eax,byte ptr [rdx+rax]
* | | | | | | | Merge pull request #5264 from 16-Bit-Dog/patch-1Gravatar bunnei2020-12-311-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Make the coding conventions more consistant
| * | | | | | | | Make the coding conventions more consistantGravatar 16-Bit-Dog2020-12-301-1/+1
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lut_index had 0 added when nothing was supposed to be added despite this, index was not added to 0 when nothing was supposed to be added...
* | | | | | | | Merge pull request #5265 from german77/port5509Gravatar bunnei2020-12-301-2/+45
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Port citra-emu/citra#5509 "Look at direction of analog axis travel instead of instantaneous sample"
| * | | | | | | | Port citra-emu/citra#5509Gravatar german2020-12-301-2/+45
| | | | | | | | |
* | | | | | | | | Merge pull request #5208 from bunnei/service-threadsGravatar bunnei2020-12-3067-1003/+772
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | Service threads
| * | | | | | | | hle: kernel: service_thread: Make thread naming more consistent.Gravatar bunnei2020-12-291-1/+1
| | | | | | | | |
| * | | | | | | | hle: kernel: Manage service threads on another thread.Gravatar bunnei2020-12-291-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This is to allow service threads to defer destruction of themselves.
| * | | | | | | | common: ThreadWorker: Add class to help do asynchronous work.Gravatar bunnei2020-12-293-0/+90
| | | | | | | | |
| * | | | | | | | hle: kernel: Manage host thread IDs using TLS.Gravatar bunnei2020-12-291-46/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Avoids the need to have a large map of host to guest thread IDs.
| * | | | | | | | hle: kernel: Move ServiceThread ownership to KernelCore.Gravatar bunnei2020-12-294-5/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixes a circular dependency which prevented threads from being released on shutdown.
| * | | | | | | | hle: kernel: service_thread: Add thread name and take weak_ptr of ServerSession.Gravatar bunnei2020-12-293-11/+22
| | | | | | | | |
| * | | | | | | | hle: service: Acquire and release a lock on requests.Gravatar bunnei2020-12-287-40/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This makes it such that we can safely access service members from CoreTiming thread.
| * | | | | | | | audio_core: stream: Ensure buffer is valid before release.Gravatar bunnei2020-12-281-2/+10
| | | | | | | | |
| * | | | | | | | core: Do not reset device_memory on shutdown.Gravatar bunnei2020-12-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This will be reset on initialization.
| * | | | | | | | core: hle: kernel: Clear process list on boot.Gravatar bunnei2020-12-281-2/+2
| | | | | | | | |
| * | | | | | | | gpu: gpu_thread: Ensure MicroProfile is shutdown on exit.Gravatar bunnei2020-12-281-0/+3
| | | | | | | | |
| * | | | | | | | hle: service: vi: Refactor to grab buffer only once.Gravatar bunnei2020-12-281-15/+4
| | | | | | | | |
| * | | | | | | | service: nvflinger: Improve synchronization for BufferQueue.Gravatar bunnei2020-12-285-19/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use proper mechanisms for blocking on DequeueBuffer. - Ensure service thread terminates on emulation Shutdown.
| * | | | | | | | hle: service: Ensure system is powered on before writing IPC result.Gravatar bunnei2020-12-281-1/+5
| | | | | | | | |
| * | | | | | | | core: kernel: Clear process list earlier.Gravatar bunnei2020-12-281-2/+2
| | | | | | | | |
| * | | | | | | | video_core: gpu_thread: Do not wait when system is powered down.Gravatar bunnei2020-12-281-1/+2
| | | | | | | | |
| * | | | | | | | core: settings: Untangle multicore from asynchronous GPU.Gravatar bunnei2020-12-285-21/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Now that GPU is always threaded, we can support multicore with synchronous GPU.
| * | | | | | | | video_core: gpu: Implement synchronous mode using threaded GPU.Gravatar bunnei2020-12-284-12/+34
| | | | | | | | |
| * | | | | | | | video_core: gpu: Refactor out synchronous/asynchronous GPU implementations.Gravatar bunnei2020-12-2810-289/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - We must always use a GPU thread now, even with synchronous GPU.
| * | | | | | | | hle: kernel: hle_ipc: Remove SleepClientThread.Gravatar bunnei2020-12-282-54/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This was kind of hacky, and no longer is necessary with service threads.
| * | | | | | | | hle: service: bsd: Update to work with service threads, removing ↵Gravatar bunnei2020-12-284-250/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SleepClientThread.
| * | | | | | | | hle: service: nvdrv: Revert #4981 to remove usage of SleepClientThread.Gravatar bunnei2020-12-2823-211/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Note, this always processes the ioctl right away, which fixes BotW 1.0.0 issues.
| * | | | | | | | hle: kernel: service_thread: Add parameter for thread pool size.Gravatar bunnei2020-12-283-7/+7
| | | | | | | | |
| * | | | | | | | hle: service: nvflinger: Refactor locking and interfaces.Gravatar bunnei2020-12-283-45/+31
| | | | | | | | |
| * | | | | | | | hle: service: vi: Remove usage of SleepClientThread.Gravatar bunnei2020-12-281-34/+43
| | | | | | | | |