Asynchronous texture compression on CPU

This commit is contained in:
Enrico Turri 2019-05-31 15:25:02 +02:00
parent 58adeb01d1
commit f0baefb6ff
4 changed files with 1256 additions and 7 deletions

View file

@ -540,6 +540,10 @@ void Bed3D::render_prusa(const std::string &key, bool bottom) const
}
#endif // !ENABLE_COMPRESSED_TEXTURES
}
#if ENABLE_COMPRESSED_TEXTURES
else if (m_texture.unsent_compressed_data_available())
m_texture.send_compressed_data_to_gpu();
#endif // ENABLE_COMPRESSED_TEXTURES
if (!bottom)
{