ebiten/internal/restorable
Hajime Hoshi 7f3cff5e7c internal/restorable: revive pixelsForRestore
pixelsForRestore was removed at 09e0320309
as the regions for restoring were minimized. However, this caused a
regression and increased allocations on Android.

This fix revives pixelsForRestore, but as a map with region keys and
byte slice values. pixelsForRestore no longer represents a byte slice
for an entire image.

Updates #2375
2023-03-08 14:52:44 +09:00
..
doc.go all: update comments 2023-02-07 12:05:43 +09:00
image.go internal/restorable: revive pixelsForRestore 2023-03-08 14:52:44 +09:00
images_test.go internal/restorable: add TestDrawTrianglesAndExtend 2023-02-28 09:06:41 -08:00
images.go internal/restorable: use a special shader to clear an image 2023-03-01 15:47:03 +09:00
rect.go internal/restorable: use sparate regions instead of a big unified region 2023-02-25 15:40:48 +09:00
shader_test.go all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
shader.go internal/restorable: use a special shader to clear an image 2023-03-01 15:47:03 +09:00