diff options
Diffstat (limited to 'src/video_core/gpu_synch.h')
| -rw-r--r-- | src/video_core/gpu_synch.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/video_core/gpu_synch.h b/src/video_core/gpu_synch.h deleted file mode 100644 index c5904b8db..000000000 --- a/src/video_core/gpu_synch.h +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | // Copyright 2019 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "video_core/gpu.h" | ||
| 8 | |||
| 9 | namespace Core::Frontend { | ||
| 10 | class GraphicsContext; | ||
| 11 | } | ||
| 12 | |||
| 13 | namespace VideoCore { | ||
| 14 | class RendererBase; | ||
| 15 | } // namespace VideoCore | ||
| 16 | |||
| 17 | namespace VideoCommon { | ||
| 18 | |||
| 19 | /// Implementation of GPU interface that runs the GPU synchronously | ||
| 20 | class GPUSynch final : public Tegra::GPU { | ||
| 21 | public: | ||
| 22 | explicit GPUSynch(Core::System& system_, bool use_nvdec_); | ||
| 23 | ~GPUSynch() override; | ||
| 24 | |||
| 25 | void Start() override; | ||
| 26 | void ObtainContext() override; | ||
| 27 | void ReleaseContext() override; | ||
| 28 | void PushGPUEntries(Tegra::CommandList&& entries) override; | ||
| 29 | void PushCommandBuffer(Tegra::ChCommandHeaderList& entries) override; | ||
| 30 | void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) override; | ||
| 31 | void FlushRegion(VAddr addr, u64 size) override; | ||
| 32 | void InvalidateRegion(VAddr addr, u64 size) override; | ||
| 33 | void FlushAndInvalidateRegion(VAddr addr, u64 size) override; | ||
| 34 | void WaitIdle() const override {} | ||
| 35 | |||
| 36 | protected: | ||
| 37 | void TriggerCpuInterrupt([[maybe_unused]] u32 syncpoint_id, | ||
| 38 | [[maybe_unused]] u32 value) const override {} | ||
| 39 | }; | ||
| 40 | |||
| 41 | } // namespace VideoCommon | ||