VideoBackend.h 610 B

12345678910111213141516171819202122232425
  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 SW
  7. {
  8. class VideoSoftware : public VideoBackendBase
  9. {
  10. bool Initialize(const WindowSystemInfo& wsi) override;
  11. void Shutdown() override;
  12. std::string GetName() const override;
  13. std::string GetDisplayName() const override;
  14. std::optional<std::string> GetWarningMessage() const override;
  15. void InitBackendInfo(const WindowSystemInfo& wsi) override;
  16. static constexpr const char* NAME = "Software Renderer";
  17. };
  18. } // namespace SW