ebiten/internal/graphicsdriver
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
..
metal driver: Use slices for uniform variables instead of maps 2020-05-26 23:50:11 +09:00
opengl restorable: Add an explicit way to detect context-lost 2020-05-30 20:29:15 +09:00