mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
df3e74533b
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 |
||
---|---|---|
.. | ||
export_test.go | ||
image_test.go | ||
image.go | ||
shader.go |