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