From 9b38c8ef08cc6f7496308ca84fc81669a8b09044 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 25 Jan 2022 12:53:53 -0500 Subject: gpu: Remove obsoleted CDMAPusher() accessors These were obsoleted in 2c47f8aa1886522898b5b3a73185b5662be3e9f3 but were accidentally overlooked. --- src/video_core/gpu.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 3188b83ed..42e301bb2 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -190,12 +190,6 @@ public: /// Returns a const reference to the GPU DMA pusher. [[nodiscard]] const Tegra::DmaPusher& DmaPusher() const; - /// Returns a reference to the GPU CDMA pusher. - [[nodiscard]] Tegra::CDmaPusher& CDmaPusher(); - - /// Returns a const reference to the GPU CDMA pusher. - [[nodiscard]] const Tegra::CDmaPusher& CDmaPusher() const; - /// Returns a reference to the underlying renderer. [[nodiscard]] VideoCore::RendererBase& Renderer(); -- cgit v1.2.3 From d8486a99687ffcda9a9b7e3fc5691d322b3bfeab Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 25 Jan 2022 13:05:37 -0500 Subject: gpu: Tidy up forward declarations Over time a few forward declarations became unnecessary, so we can remove these to tidy up the header a little bit. --- src/video_core/gpu.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 42e301bb2..26b8ea233 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -12,9 +12,6 @@ #include "video_core/framebuffer_config.h" namespace Core { -namespace Frontend { -class EmuWindow; -} class System; } // namespace Core @@ -25,7 +22,6 @@ class ShaderNotify; namespace Tegra { class DmaPusher; -class CDmaPusher; struct CommandList; enum class RenderTargetFormat : u32 { @@ -88,15 +84,9 @@ enum class DepthFormat : u32 { D32_FLOAT_S8X24_UINT = 0x19, }; -struct CommandListHeader; -class DebugContext; - namespace Engines { -class Fermi2D; class Maxwell3D; -class MaxwellDMA; class KeplerCompute; -class KeplerMemory; } // namespace Engines enum class EngineID { -- cgit v1.2.3