ebiten/internal/restorable
Hajime Hoshi 2405b7e825 internal/restorable: remove unnecessary copying
After 6e5361c328, WritePixels can
expect that the given pixel byte slice is always new, and now can
be assumed immutable. Do not copy the slice for restoring.

Actually, these copying were introduced at 38ce46328a
in order to reuse the same slice regions.
2023-10-09 01:17:43 +09:00
..
doc.go all: update comments 2023-02-07 12:05:43 +09:00
export_test.go internal/ui: refactoring: integrate the render thread usages into internal/graphicscommand 2023-07-30 03:50:49 +09:00
image.go internal/restorable: remove unnecessary copying 2023-10-09 01:17:43 +09:00
images_test.go internal/restorable: remove unnecessary copying 2023-10-09 01:17:43 +09:00
images.go internal/restorable: use clearImage to clear a region 2023-08-31 23:32:54 +09:00
pixelrecords.go internal/restorable: use clearImage to avoid allocations 2023-10-08 23:59:31 +09:00
rect_test.go internal/restorable: optimize removeDuplicatedRegions from O((n+m)^2) to O(n*m + m^2) (#2631) 2023-04-09 02:31:22 +09:00
shader_test.go internal/graphicsdriver: replace Region with image.Rectangle (#2791) 2023-09-28 14:29:55 +09:00
shader.go all: rename arguments in Fragment 2023-09-21 01:35:57 +09:00