ebiten/internal/atlas
Hajime Hoshi 6e5361c328 internal/restorable: use clearImage to avoid allocations
Bytes from a pool in a command queue is now pretty hard to use correctly
as the lifetime of a queue is not clear.

Remove the byte pools once. Let's reconsider pool usages later.

This change also removes imagesWithBuffers as this is no longer needed.
imagesWithBuffers was necessary to ensure all the bytes from the pool
of the command queue was used before the queue flushes the commands,
as the command queue cleared the pool after flushing. The lifetimes
were pretty ticky.
2023-10-09 00:42:58 +09:00
..
export_test.go internal/atlas: refactoring 2023-08-06 16:03:57 +09:00
image_test.go internal/graphicsdriver: replace Region with image.Rectangle (#2791) 2023-09-28 14:29:55 +09:00
image.go internal/restorable: use clearImage to avoid allocations 2023-10-09 00:42:58 +09:00
set.go internal/atlas: bug fix: copy the image slice before iterating it 2023-08-23 16:41:34 +09:00
shader_test.go internal/graphicsdriver: replace Region with image.Rectangle (#2791) 2023-09-28 14:29:55 +09:00
shader.go all: add a compiler directive kage:unit 2023-04-23 22:11:57 +09:00