Closed kvark closed 4 years ago
With the new swapchain API we can't directly access the frame images. Steps needs to be done before we can move to the new API:
You are right that we can't have this new swapchain model for as long as we need to blit back from the screen :/ And I think it's only the MixBlend mode (with Readback task) that actually needs to blit from the screen. There are two ways to solve this that I could see:
More stuff to read about (1) - https://github.com/gpuweb/gpuweb/issues/437
Fixed in #331
See https://gfx-rs.github.io/2019/10/01/update.html
Quad example update - https://github.com/gfx-rs/gfx/commit/40a905ff0ccd583f18ced4250c27b7765716a16f#diff-3396f7c6f19ad0882c9d181e08c8c702