mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-06 04:18:36 -06:00
OpenGL State Caching.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace ghoul {
|
||||
class SharedMemory;
|
||||
} // ghoul
|
||||
namespace ghoul::fontrendering { class Font; }
|
||||
namespace ghoul::opengl { class ProgramObject; }
|
||||
namespace ghoul::opengl { class ProgramObject; class OpenGLStateCache; }
|
||||
|
||||
namespace openspace {
|
||||
|
||||
@@ -77,6 +77,8 @@ public:
|
||||
const Renderer& renderer() const;
|
||||
RendererImplementation rendererImplementation() const;
|
||||
|
||||
ghoul::opengl::OpenGLStateCache& openglStateCache();
|
||||
|
||||
void updateShaderPrograms();
|
||||
void updateRenderer();
|
||||
void updateScreenSpaceRenderables();
|
||||
@@ -187,6 +189,8 @@ private:
|
||||
ghoul::Dictionary _resolveData;
|
||||
ScreenLog* _log = nullptr;
|
||||
|
||||
ghoul::opengl::OpenGLStateCache* _openglStateCache;
|
||||
|
||||
properties::BoolProperty _showOverlayOnSlaves;
|
||||
properties::BoolProperty _showLog;
|
||||
properties::FloatProperty _verticalLogOffset;
|
||||
|
||||
Reference in New Issue
Block a user