2019-03-28 11:35:46 +01:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2019-03-28 11:35:46 +01: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 12:56:45 +02:00
|
|
|
static constexpr const char* NAME = "D3D12";
|
|
|
|
|
2019-03-28 11:35:46 +01:00
|
|
|
private:
|
|
|
|
void FillBackendInfo();
|
|
|
|
};
|
2019-05-06 01:48:12 +02:00
|
|
|
} // namespace DX12
|