VideoBackend.h 643 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2011 Dolphin Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <string>
  5. #include "VideoCommon/VideoBackendBase.h"
  6. namespace DX11
  7. {
  8. class VideoBackend : public VideoBackendBase
  9. {
  10. public:
  11. bool Initialize(const WindowSystemInfo& wsi) override;
  12. void Shutdown() override;
  13. std::string GetName() const override;
  14. std::string GetDisplayName() const override;
  15. std::optional<std::string> GetWarningMessage() const override;
  16. void InitBackendInfo(const WindowSystemInfo& wsi) override;
  17. static constexpr const char* NAME = "D3D";
  18. private:
  19. void FillBackendInfo();
  20. };
  21. } // namespace DX11