summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoBackendBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoBackendBase.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp
index af42f3be90..8436f44443 100644
--- a/Source/Core/VideoCommon/VideoBackendBase.cpp
+++ b/Source/Core/VideoCommon/VideoBackendBase.cpp
@@ -22,7 +22,6 @@
#include "Core/CoreTiming.h"
#include "Core/DolphinAnalytics.h"
#include "Core/System.h"
-#include "VideoCommon/Statistics.h"
// TODO: ugly
#ifdef _WIN32
@@ -105,38 +104,6 @@ void VideoBackendBase::Video_OutputXFB(u32 xfb_addr, u32 fb_width, u32 fb_stride
}
}
-void VideoBackendBase::Video_PokeEFBColor(u32 x, u32 y, u32 data)
-{
- AsyncRequests::GetInstance()->PushEvent([x, y, data] {
- INCSTAT(g_stats.this_frame.num_efb_pokes);
- g_efb_interface->PokeColor(x, y, data);
- });
-}
-
-void VideoBackendBase::Video_PokeEFBDepth(u32 x, u32 y, u32 data)
-{
- AsyncRequests::GetInstance()->PushEvent([x, y, data] {
- INCSTAT(g_stats.this_frame.num_efb_pokes);
- g_efb_interface->PokeDepth(x, y, data);
- });
-}
-
-u32 VideoBackendBase::Video_PeekEFBColor(u32 x, u32 y)
-{
- return AsyncRequests::GetInstance()->PushBlockingEvent([&] {
- INCSTAT(g_stats.this_frame.num_efb_peeks);
- return g_efb_interface->PeekColor(x, y);
- });
-}
-
-u32 VideoBackendBase::Video_PeekEFBDepth(u32 x, u32 y)
-{
- return AsyncRequests::GetInstance()->PushBlockingEvent([&] {
- INCSTAT(g_stats.this_frame.num_efb_peeks);
- return g_efb_interface->PeekDepth(x, y);
- });
-}
-
u32 VideoBackendBase::Video_GetQueryResult(PerfQueryType type)
{
if (!g_perf_query->ShouldEmulate())