9e73a8417f
Queue::write_texture creates a new staging buffer for every call, a kernel call each on Metal. Animated sprites write every changed frame's mip levels once per tick, so tick frames spent about 1.3 ms in buffer creation. The copies now go through one wgpu StagingBelt recorded into the frame's encoder; a GPU readback test checks they write the same texels as write_texture on every mip level. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>