summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_thread.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core/core_timing_util: Use std::chrono types for specifying time unitsLioncash2019-06-051-1/+1
| | | | | Makes the interface more type-safe and consistent in terms of return values.
* yuzu: Remove explicit types from locks where applicableLioncash2019-05-141-1/+1
| | | | | With C++17's deduction guides, the type doesn't need to be explicitly specified within locking primitives anymore.
* video_core/gpu_thread: Remove unused local variableLioncash2019-05-101-1/+1
| | | | | | | | | Instead of retrieving the data from the std::variant instance, we can just check if the variant contains that type of data. This is essentially the same behavior, only it returns a bool indicating whether or not the type in the variant is currently active, instead of actually retrieving the data.
* video_core/gpu: Create threads separately from initializationLioncash2019-04-121-6/+11
| | | | | | | | | Like with CPU emulation, we generally don't want to fire off the threads immediately after the relevant classes are initialized, we want to do this after all necessary data is done loading first. This splits the thread creation into its own interface member function to allow controlling when these threads in particular get created.
* video_core/gpu_thread: Silence truncation warning in ThreadManager's constructorLioncash2019-04-061-1/+1
| | | | | | | Since c5d41fd812d7eb1a04f36b76c08fe971cee0868c callback parameters were changed to use an s64 to represent late cycles instead of an int, so this was causing a truncation warning to occur here. Changing it to s64 is sufficient to silence the warning.
* gpu_thread: Improve synchronization by using CoreTiming.bunnei2019-04-021-10/+33
|
* gpu_thread: Remove unused dma_pusher class member variable from ThreadManagerLioncash2019-03-271-2/+2
| | | | | | The pusher instance is only ever used in the constructor of the ThreadManager for creating the thread that the ThreadManager instance contains. Aside from that, the member is unused, so it can be removed.
* gpu: Use host address for caching instead of guest address.bunnei2019-03-151-95/+41
|
* gpu_thread: Fix deadlock with threading idle state check.bunnei2019-03-071-4/+7
|
* gpu_thread: (HACK) Ignore flush on FlushAndInvalidateRegion.bunnei2019-03-071-3/+1
|
* gpu: Always flush.bunnei2019-03-071-8/+5
|
* gpu: Move command processing to another thread.bunnei2019-03-071-0/+154