2019-03-28 10:35:46 +00:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2019-03-28 10:35:46 +00:00
|
|
|
|
|
|
|
#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
|