From 8cc686b3606deb1a3638281da9c12180a481e899 Mon Sep 17 00:00:00 2001 From: hdcmeta Date: Thu, 7 Jan 2016 19:40:35 -0800 Subject: D3D12: Initial commit for D3D12 backend implementation. --- Source/Core/VideoBackends/D3D12/PerfQuery.cpp | 69 +++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Source/Core/VideoBackends/D3D12/PerfQuery.cpp (limited to 'Source/Core/VideoBackends/D3D12/PerfQuery.cpp') diff --git a/Source/Core/VideoBackends/D3D12/PerfQuery.cpp b/Source/Core/VideoBackends/D3D12/PerfQuery.cpp new file mode 100644 index 0000000000..f5821ca1b7 --- /dev/null +++ b/Source/Core/VideoBackends/D3D12/PerfQuery.cpp @@ -0,0 +1,69 @@ +// Copyright 2012 Dolphin Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + +#include "Common/CommonFuncs.h" +#include "Common/CommonTypes.h" +#include "Common/Logging/Log.h" +#include "VideoBackends/D3D12/D3DBase.h" +#include "VideoBackends/D3D12/PerfQuery.h" +#include "VideoCommon/RenderBase.h" + +//D3D12TODO: Implement PerfQuery class. + +namespace DX12 +{ + +PerfQuery::PerfQuery() +{ + //D3D12TODO: Add implementation +} + +PerfQuery::~PerfQuery() +{ + //D3D12TODO: Add implementation +} + +void PerfQuery::EnableQuery(PerfQueryGroup type) +{ + //D3D12TODO: Add implementation +} + +void PerfQuery::DisableQuery(PerfQueryGroup type) +{ + //D3D12TODO: Add implementation +} + +void PerfQuery::ResetQuery() +{ + //D3D12TODO: Add implementation +} + +u32 PerfQuery::GetQueryResult(PerfQueryType type) +{ + //D3D12TODO: Add implementation + return 0; +} + +void PerfQuery::FlushOne() +{ + //D3D12TODO: Add implementation +} + +void PerfQuery::FlushResults() +{ + //D3D12TODO: Add implementation +} + +void PerfQuery::WeakFlush() +{ + //D3D12TODO: Add implementation +} + +bool PerfQuery::IsFlushed() const +{ + //D3D12TODO: Add implementation + return true; +} + +} // namespace -- cgit v1.2.3