2015-05-24 06:32:32 +02:00
|
|
|
// Copyright 2011 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2015-05-24 06:32:32 +02:00
|
|
|
|
2014-02-10 19:54:46 +01:00
|
|
|
#pragma once
|
2011-01-31 02:28:32 +01:00
|
|
|
|
2014-03-12 20:33:41 +01:00
|
|
|
#include <string>
|
2014-02-17 11:18:15 +01:00
|
|
|
#include "VideoCommon/VideoBackendBase.h"
|
2011-01-31 02:28:32 +01:00
|
|
|
|
|
|
|
namespace DX11
|
|
|
|
{
|
2016-01-12 09:35:24 +01:00
|
|
|
class VideoBackend : public VideoBackendBase
|
2011-01-31 02:28:32 +01:00
|
|
|
{
|
2019-03-09 14:31:36 +01:00
|
|
|
public:
|
2018-10-03 15:03:22 +02:00
|
|
|
bool Initialize(const WindowSystemInfo& wsi) override;
|
2014-03-11 06:55:00 +01:00
|
|
|
void Shutdown() override;
|
2011-01-31 02:28:32 +01:00
|
|
|
|
2014-03-11 06:55:00 +01:00
|
|
|
std::string GetName() const override;
|
|
|
|
std::string GetDisplayName() const override;
|
2019-07-21 17:29:08 +02:00
|
|
|
std::optional<std::string> GetWarningMessage() const override;
|
2011-01-31 02:28:32 +01:00
|
|
|
|
2016-01-13 21:38:11 +01:00
|
|
|
void InitBackendInfo() override;
|
2019-03-09 14:31:36 +01:00
|
|
|
|
2020-09-06 12:56:45 +02:00
|
|
|
static constexpr const char* NAME = "D3D";
|
|
|
|
|
2019-03-09 14:31:36 +01:00
|
|
|
private:
|
|
|
|
void FillBackendInfo();
|
2011-01-31 02:28:32 +01:00
|
|
|
};
|
2018-10-03 15:03:13 +02:00
|
|
|
} // namespace DX11
|