diff options
| author | Techjar <tecknojar@gmail.com> | 2021-05-29 01:44:22 -0400 |
|---|---|---|
| committer | Techjar <tecknojar@gmail.com> | 2021-05-29 01:45:21 -0400 |
| commit | a24e78b3cf07e8d169d97a2e4c3635b9efbdba35 (patch) | |
| tree | e2f72810be575b59227f238761b9a6f07b3a7176 /Source/Core/VideoCommon | |
| parent | e4aef0a85b6cfc1e881c09c374a2d35823585870 (diff) | |
VideoCommon: Remove BBox* forwarding functions
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 15 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.h | 10 |
2 files changed, 3 insertions, 22 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index f93d498fc6..93f8fa2279 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -185,21 +185,6 @@ void Renderer::ReinterpretPixelData(EFBReinterpretType convtype) g_framebuffer_manager->ReinterpretPixelData(convtype); } -u16 Renderer::BBoxRead(int index) -{ - return BBoxReadImpl(index); -} - -void Renderer::BBoxWrite(int index, u16 value) -{ - BBoxWriteImpl(index, value); -} - -void Renderer::BBoxFlush() -{ - BBoxFlushImpl(); -} - u32 Renderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data) { if (type == EFBAccessType::PeekColor) diff --git a/Source/Core/VideoCommon/RenderBase.h b/Source/Core/VideoCommon/RenderBase.h index 1deedd4f76..48cef0bdad 100644 --- a/Source/Core/VideoCommon/RenderBase.h +++ b/Source/Core/VideoCommon/RenderBase.h @@ -211,9 +211,9 @@ public: virtual u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data); virtual void PokeEFB(EFBAccessType type, const EfbPokeData* points, size_t num_points); - u16 BBoxRead(int index); - void BBoxWrite(int index, u16 value); - void BBoxFlush(); + virtual u16 BBoxRead(int index) = 0; + virtual void BBoxWrite(int index, u16 value) = 0; + virtual void BBoxFlush() {} virtual void Flush() {} virtual void WaitForGPUIdle() {} @@ -301,10 +301,6 @@ protected: // Should be called with the ImGui lock held. void DrawImGui(); - virtual u16 BBoxReadImpl(int index) = 0; - virtual void BBoxWriteImpl(int index, u16 value) = 0; - virtual void BBoxFlushImpl() {} - AbstractFramebuffer* m_current_framebuffer = nullptr; const AbstractPipeline* m_current_pipeline = nullptr; |
