Changeset View
Changeset View
Standalone View
Standalone View
source/renderer/backend/gl/Device.h
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | public: | ||||
std::unique_ptr<IShaderProgram> CreateShaderProgram( | std::unique_ptr<IShaderProgram> CreateShaderProgram( | ||||
const CStr& name, const CShaderDefines& defines) override; | const CStr& name, const CShaderDefines& defines) override; | ||||
void Present() override; | void Present() override; | ||||
bool IsTextureFormatSupported(const Format format) const override; | bool IsTextureFormatSupported(const Format format) const override; | ||||
bool IsFramebufferFormatSupported(const Format format) const override; | |||||
const Capabilities& GetCapabilities() const override { return m_Capabilities; } | const Capabilities& GetCapabilities() const override { return m_Capabilities; } | ||||
private: | private: | ||||
CDevice(); | CDevice(); | ||||
SDL_Window* m_Window = nullptr; | SDL_Window* m_Window = nullptr; | ||||
SDL_GLContext m_Context = nullptr; | SDL_GLContext m_Context = nullptr; | ||||
Show All 24 Lines |
Wildfire Games · Phabricator