Open kvark opened 4 years ago
Currently, we are paying CPU costs for looking up and creating descriptor sets on each draw: https://github.com/szeged/webrender/blob/9799daaf86d58ca76777831c5f2cfa798990c47a/webrender/src/device/gfx/device.rs#L1452-L1481
Instead, we should come up with a scheme that allows descriptor sets to be created (and potentially removed) by the render backend, while used by renderer.
Currently, we are paying CPU costs for looking up and creating descriptor sets on each draw: https://github.com/szeged/webrender/blob/9799daaf86d58ca76777831c5f2cfa798990c47a/webrender/src/device/gfx/device.rs#L1452-L1481
Instead, we should come up with a scheme that allows descriptor sets to be created (and potentially removed) by the render backend, while used by renderer.