mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Asynchronous texture compression on CPU
This commit is contained in:
parent
58adeb01d1
commit
f0baefb6ff
4 changed files with 1256 additions and 7 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue