summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D12/PerfQuery.cpp
diff options
context:
space:
mode:
authorhdcmeta <hdcmeta@gmail.com>2016-01-07 19:40:35 -0800
committerhdcmeta <hdcmeta@gmail.com>2016-02-15 09:48:25 -0800
commit8cc686b3606deb1a3638281da9c12180a481e899 (patch)
tree6adae584fcc27911bf4464deb8a62d468472c98c /Source/Core/VideoBackends/D3D12/PerfQuery.cpp
parenta2e2e36745717135d42df2d17965aa709480e3e3 (diff)
D3D12: Initial commit for D3D12 backend implementation.
Diffstat (limited to 'Source/Core/VideoBackends/D3D12/PerfQuery.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D12/PerfQuery.cpp69
1 files changed, 69 insertions, 0 deletions
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