summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManagerBase.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2019-02-26 04:21:05 +0000
committerGitHub <noreply@github.com>2019-02-26 04:21:05 +0000
commit6ce7f44b8a0bb3b95d3f12ebffbef7a71a443fdd (patch)
tree98380ce3a3284c52597a6fba86589c847219ecd5 /Source/Core/VideoCommon/FramebufferManagerBase.cpp
parent19673ce79af814ca3b77d7f8ea60458e564bfa51 (diff)
parentf039149198657c1891e1c6462ed30c31ed4b8486 (diff)
Merge pull request #7753 from stenzek/videocommon-all-the-things
Move a significant amount of video backend logic to VideoCommon
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManagerBase.cpp')
-rw-r--r--Source/Core/VideoCommon/FramebufferManagerBase.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManagerBase.cpp b/Source/Core/VideoCommon/FramebufferManagerBase.cpp
deleted file mode 100644
index 530aac7584..0000000000
--- a/Source/Core/VideoCommon/FramebufferManagerBase.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2010 Dolphin Emulator Project
-// Licensed under GPLv2+
-// Refer to the license.txt file included.
-
-#include "VideoCommon/FramebufferManagerBase.h"
-
-#include <memory>
-
-#include "VideoCommon/AbstractTexture.h"
-#include "VideoCommon/DriverDetails.h"
-#include "VideoCommon/RenderBase.h"
-
-std::unique_ptr<FramebufferManagerBase> g_framebuffer_manager;
-
-unsigned int FramebufferManagerBase::m_EFBLayers = 1;
-
-FramebufferManagerBase::~FramebufferManagerBase() = default;
-
-AbstractTextureFormat FramebufferManagerBase::GetEFBDepthFormat()
-{
- // 32-bit depth clears are broken in the Adreno Vulkan driver, and have no effect.
- // To work around this, we use a D24_S8 buffer instead, which results in a loss of accuracy.
- // We still resolve this to a R32F texture, as there is no 24-bit format.
- if (DriverDetails::HasBug(DriverDetails::BUG_BROKEN_D32F_CLEAR))
- return AbstractTextureFormat::D24_S8;
- else
- return AbstractTextureFormat::D32F;
-}