diff options
| author | 2020-10-26 23:02:42 -0700 | |
|---|---|---|
| committer | 2020-10-26 23:02:42 -0700 | |
| commit | d33399e1f46a10490b586196c6d0db0f04be4206 (patch) | |
| tree | 8b2e1d98bf832049936ab931fc3a120e70bc36c2 /src/video_core/gpu_synch.h | |
| parent | Merge pull request #4832 from bunnei/cpu-manager-microprofile-fix (diff) | |
| parent | video_core: NVDEC Implementation (diff) | |
| download | yuzu-d33399e1f46a10490b586196c6d0db0f04be4206.tar.gz yuzu-d33399e1f46a10490b586196c6d0db0f04be4206.tar.xz yuzu-d33399e1f46a10490b586196c6d0db0f04be4206.zip | |
Merge pull request #4729 from ameerj/nvdec-prod
video_core: NVDEC Implementation
Diffstat (limited to 'src/video_core/gpu_synch.h')
| -rw-r--r-- | src/video_core/gpu_synch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/gpu_synch.h b/src/video_core/gpu_synch.h index 297258cb1..9d778c71a 100644 --- a/src/video_core/gpu_synch.h +++ b/src/video_core/gpu_synch.h | |||
| @@ -19,13 +19,14 @@ namespace VideoCommon { | |||
| 19 | /// Implementation of GPU interface that runs the GPU synchronously | 19 | /// Implementation of GPU interface that runs the GPU synchronously |
| 20 | class GPUSynch final : public Tegra::GPU { | 20 | class GPUSynch final : public Tegra::GPU { |
| 21 | public: | 21 | public: |
| 22 | explicit GPUSynch(Core::System& system); | 22 | explicit GPUSynch(Core::System& system, bool use_nvdec); |
| 23 | ~GPUSynch() override; | 23 | ~GPUSynch() override; |
| 24 | 24 | ||
| 25 | void Start() override; | 25 | void Start() override; |
| 26 | void ObtainContext() override; | 26 | void ObtainContext() override; |
| 27 | void ReleaseContext() override; | 27 | void ReleaseContext() override; |
| 28 | void PushGPUEntries(Tegra::CommandList&& entries) override; | 28 | void PushGPUEntries(Tegra::CommandList&& entries) override; |
| 29 | void PushCommandBuffer(Tegra::ChCommandHeaderList& entries) override; | ||
| 29 | void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) override; | 30 | void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) override; |
| 30 | void FlushRegion(VAddr addr, u64 size) override; | 31 | void FlushRegion(VAddr addr, u64 size) override; |
| 31 | void InvalidateRegion(VAddr addr, u64 size) override; | 32 | void InvalidateRegion(VAddr addr, u64 size) override; |