ebiten/internal/restorable
Hajime Hoshi 2bdef2e8c4 restorable: Add an explicit way to detect context-lost
isTexture was used to detect context-lost and called every frame.
This was not good for performance.

This change adds a way to notify context-lost from the WebGL
handlers directly, and the package restorable uses it instead of
calling (*Image).isInvalaidated.

Fixes #1175
2020-05-30 20:29:15 +09:00
..
doc.go restorable: Add comments 2017-09-15 00:24:18 +09:00
image.go restorable: Update comments 2020-05-30 16:06:22 +09:00
images_test.go restorable: Bug fix: Fill didn't invalidate its dependencies 2020-05-25 23:37:25 +09:00
images.go restorable: Add an explicit way to detect context-lost 2020-05-30 20:29:15 +09:00
js.go restorable: Add an explicit way to detect context-lost 2020-05-30 20:29:15 +09:00
notjs.go restorable: Add an explicit way to detect context-lost 2020-05-30 20:29:15 +09:00
rect.go restorable: Merge two 'copy' into one 2019-11-16 02:10:53 +09:00
shader_test.go testing: Bug fix: Image's size should not be in uniform variables 2020-05-30 05:16:50 +09:00
shader.go restorable: Add Shader (WIP) 2020-05-25 00:50:01 +09:00