ebiten/internal/shareable
Hajime Hoshi 0c578f1670 shareable: Rename notUpdatedCount -> usedAsSourceCount and modify implementation
Before this change, the image automatically becomes on a shareable
texture again when the image is not modified for a while. This was
problematic when an offscreen is not updated for a while, but used
as a render target again, as an independent image for the image is
created every time when the image is used as a render target.

After this change, the count is updated only when the image is used
as a rendering source.

Closes #1465
2021-01-17 19:00:16 +09:00
..
export_test.go shareable: Bug fix: Crash when syncing pixels of a disposed image 2020-11-12 23:37:51 +09:00
image_test.go shareable: Rename notUpdatedCount -> usedAsSourceCount and modify implementation 2021-01-17 19:00:16 +09:00
image.go shareable: Rename notUpdatedCount -> usedAsSourceCount and modify implementation 2021-01-17 19:00:16 +09:00
shader.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00