2019-03-28 10:35:46 +00:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include "VideoCommon/VideoBackendBase.h"
|
|
|
|
|
|
|
|
namespace DX12
|
|
|
|
{
|
|
|
|
class VideoBackend final : public VideoBackendBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
bool Initialize(const WindowSystemInfo& wsi) override;
|
|
|
|
void Shutdown() override;
|
|
|
|
|
|
|
|
std::string GetName() const override;
|
|
|
|
std::string GetDisplayName() const override;
|
|
|
|
void InitBackendInfo() override;
|
|
|
|
|
2020-09-06 10:56:45 +00:00
|
|
|
static constexpr const char* NAME = "D3D12";
|
|
|
|
|
2019-03-28 10:35:46 +00:00
|
|
|
private:
|
|
|
|
void FillBackendInfo();
|
|
|
|
};
|
2019-05-05 23:48:12 +00:00
|
|
|
} // namespace DX12
|