gfx-rs itself doesn't use any allocations on a call-by-call basis, and it would be great if gfx_text didn't impose this overhead either. The allocations come from the constructed meshes and batches, even if implicit. What can be done:
have an OwnedBatch created once on init
update its Slice with updating the vertex/index buffers that the batch uses
gfx-rs
itself doesn't use any allocations on a call-by-call basis, and it would be great ifgfx_text
didn't impose this overhead either. The allocations come from the constructed meshes and batches, even if implicit. What can be done:OwnedBatch
created once on initSlice
with updating the vertex/index buffers that the batch uses