AustinJ235 / basalt

A rust library that provides window creation, input handling, and most importantly a UI.
MIT License
149 stars 5 forks source link

Atlas updates can appear incomplete #1

Closed AustinJ235 closed 5 years ago

AustinJ235 commented 5 years ago

Atlas updates appear not to complete right away causing sub-images to appear blank for short time until odb switches to a new set of draw data.

Image layout transitions with vulkano might be the culprit. https://github.com/vulkano-rs/vulkano/issues/1190

AustinJ235 commented 5 years ago

Although layout transitions may not be perfect with vulkano, the issue seems solvable by treating atlas updates as resizes in the odb. This isn't exactly ideal, but it does seem to work. Further investigation into why this issue occurs should be done. This workaround is implemented in https://github.com/AustinJ235/basalt/commit/97325ca19e1b195482462d63b9b15e985c4a7f60.