Merge pull request #7779 from lioncash/gpu-iface

gpu: Remove obsoleted CDmaPusher() accessors
This commit is contained in:
Morph 2022-01-25 16:16:04 -05:00 committed by GitHub
commit c93dd45997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,6 @@
#include "video_core/framebuffer_config.h" #include "video_core/framebuffer_config.h"
namespace Core { namespace Core {
namespace Frontend {
class EmuWindow;
}
class System; class System;
} // namespace Core } // namespace Core
@ -25,7 +22,6 @@ class ShaderNotify;
namespace Tegra { namespace Tegra {
class DmaPusher; class DmaPusher;
class CDmaPusher;
struct CommandList; struct CommandList;
enum class RenderTargetFormat : u32 { enum class RenderTargetFormat : u32 {
@ -88,15 +84,9 @@ enum class DepthFormat : u32 {
D32_FLOAT_S8X24_UINT = 0x19, D32_FLOAT_S8X24_UINT = 0x19,
}; };
struct CommandListHeader;
class DebugContext;
namespace Engines { namespace Engines {
class Fermi2D;
class Maxwell3D; class Maxwell3D;
class MaxwellDMA;
class KeplerCompute; class KeplerCompute;
class KeplerMemory;
} // namespace Engines } // namespace Engines
enum class EngineID { enum class EngineID {
@ -190,12 +180,6 @@ public:
/// Returns a const reference to the GPU DMA pusher. /// Returns a const reference to the GPU DMA pusher.
[[nodiscard]] const Tegra::DmaPusher& DmaPusher() const; [[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. /// Returns a reference to the underlying renderer.
[[nodiscard]] VideoCore::RendererBase& Renderer(); [[nodiscard]] VideoCore::RendererBase& Renderer();