OpenGLDevice: Cache intermediate state

This commit is contained in:
Stenzek
2023-10-08 01:47:29 +10:00
parent eb080834ad
commit ce7f6128e9
5 changed files with 75 additions and 36 deletions

View File

@ -160,6 +160,10 @@ private:
bool DiscardPipelineCache();
void ClosePipelineCache();
void ApplyRasterizationState(GPUPipeline::RasterizationState rs);
void ApplyDepthState(GPUPipeline::DepthState ds);
void ApplyBlendState(GPUPipeline::BlendState bs);
std::unique_ptr<GL::Context> m_gl_context;
std::unique_ptr<OpenGLFramebuffer> m_window_framebuffer;