ebiten/internal/shareable
Hajime Hoshi df3e74533b internal/shareable: Use an exponential way to determine the image sharing
When an image was used in both ways source and destination, Ebiten
worked ineffectively since Ebiten tried to make the image on a texture
atlas after the image was used as a source for a while, which tried to
create a new internal texture every time.

This fix mitigates this issue by using an exponential way to determine
whether the image should be on a texture atlas again or not, so that
an image often used as a destination will require much longer time to
become on a texture atlas again.

Updates #1464
2021-03-10 02:30:33 +09:00
..
export_test.go internal/shareable: Use an exponential way to determine the image sharing 2021-03-10 02:30:33 +09:00
image_test.go internal/shareable: Use an exponential way to determine the image sharing 2021-03-10 02:30:33 +09:00
image.go internal/shareable: Use an exponential way to determine the image sharing 2021-03-10 02:30:33 +09:00
shader.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00