ebiten/internal/restorable
Hajime Hoshi c6dd0a75d9 graphicscommand: Optimize replace-image calls
Now ReplacePixels command is called only when necessary.

This also ensures that DrawImage must be called after ReplacePixels
is called since there is a potential problem that rendering images
on a texture without initializing by replacing pixels might cause
problems (escpecially on Metal. Perhaps #593 might be related).
2018-12-01 21:36:47 +01:00
..
doc.go restorable: Add comments 2017-09-15 00:24:18 +09:00
enabled_desktop.go restorable: Disable restoring on desktops and mobile browsers (#380) 2017-07-02 15:58:00 +09:00
enabled_js.go audio: Adjust the buffer size 2017-07-13 23:48:03 +09:00
image.go graphicscommand: Optimize replace-image calls 2018-12-01 21:36:47 +01:00
images_test.go restorable: Avoid memory allocating when an entire image is cleared 2018-10-30 11:08:38 +09:00
images.go opengl: Rename ResetGLState -> Reset and other functions 2018-11-01 03:02:08 +09:00