OpenGLHostDisplay: Don't use PBOs for software upload on GLES

This commit is contained in:
Connor McLaughlin
2021-02-06 15:02:28 +10:00
parent 701edb335a
commit c6ed19cc7b
2 changed files with 49 additions and 28 deletions

View File

@@ -113,6 +113,7 @@ protected:
std::unique_ptr<GL::StreamBuffer> m_display_pixels_texture_pbo;
u32 m_display_pixels_texture_pbo_map_offset = 0;
u32 m_display_pixels_texture_pbo_map_size = 0;
std::vector<u8> m_gles_pixels_repack_buffer;
PostProcessingChain m_post_processing_chain;
GL::Texture m_post_processing_input_texture;
@@ -121,7 +122,6 @@ protected:
bool m_display_texture_is_linear_filtered = false;
bool m_use_gles2_draw_path = false;
std::vector<u8> m_gles2_pixels_repack_buffer;
};
} // namespace FrontendCommon