OpenGLHostDisplay: Allow filtering to be toggled for GLES2 path

This commit is contained in:
Connor McLaughlin
2021-02-05 02:28:03 +10:00
parent d455b61d5e
commit 43d1495a63
2 changed files with 38 additions and 25 deletions

View File

@@ -76,6 +76,9 @@ protected:
virtual void DestroyImGuiContext() override;
virtual bool UpdateImGuiFontTexture() override;
void BindDisplayPixelsTexture();
void UpdateDisplayPixelsTextureFilter();
void RenderDisplay();
void RenderImGui();
void RenderSoftwareCursor();
@@ -116,6 +119,7 @@ protected:
std::unique_ptr<GL::StreamBuffer> m_post_processing_ubo;
std::vector<PostProcessingStage> m_post_processing_stages;
bool m_display_texture_is_linear_filtered = false;
bool m_use_gles2_draw_path = false;
std::vector<u8> m_gles2_pixels_repack_buffer;
};