HostDisplay: Add virtual method for getting resolutions

This commit is contained in:
Connor McLaughlin
2021-02-14 00:33:35 +10:00
parent e7fc904cf4
commit 5a66639d78
8 changed files with 50 additions and 31 deletions

View File

@ -43,6 +43,7 @@ public:
virtual bool SupportsFullscreen() const override;
virtual bool IsFullscreen() override;
virtual bool SetFullscreen(bool fullscreen, u32 width, u32 height, float refresh_rate) override;
virtual AdapterAndModeList GetAdapterAndModeList() override;
virtual void DestroyRenderSurface() override;
virtual bool SetPostProcessingChain(const std::string_view& config) override;
@ -64,7 +65,7 @@ public:
virtual bool Render() override;
static std::vector<std::string> EnumerateAdapterNames();
static AdapterAndModeList StaticGetAdapterAndModeList();
protected:
struct PushConstants