summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_asynch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/gpu_asynch.h')
-rw-r--r--src/video_core/gpu_asynch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/gpu_asynch.h b/src/video_core/gpu_asynch.h
index f89c855a5..0c0872e73 100644
--- a/src/video_core/gpu_asynch.h
+++ b/src/video_core/gpu_asynch.h
@@ -20,13 +20,14 @@ namespace VideoCommon {
20/// Implementation of GPU interface that runs the GPU asynchronously 20/// Implementation of GPU interface that runs the GPU asynchronously
21class GPUAsynch final : public Tegra::GPU { 21class GPUAsynch final : public Tegra::GPU {
22public: 22public:
23 explicit GPUAsynch(Core::System& system); 23 explicit GPUAsynch(Core::System& system, bool use_nvdec);
24 ~GPUAsynch() override; 24 ~GPUAsynch() override;
25 25
26 void Start() override; 26 void Start() override;
27 void ObtainContext() override; 27 void ObtainContext() override;
28 void ReleaseContext() override; 28 void ReleaseContext() override;
29 void PushGPUEntries(Tegra::CommandList&& entries) override; 29 void PushGPUEntries(Tegra::CommandList&& entries) override;
30 void PushCommandBuffer(Tegra::ChCommandHeaderList& entries) override;
30 void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) override; 31 void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) override;
31 void FlushRegion(VAddr addr, u64 size) override; 32 void FlushRegion(VAddr addr, u64 size) override;
32 void InvalidateRegion(VAddr addr, u64 size) override; 33 void InvalidateRegion(VAddr addr, u64 size) override;