ebiten/internal
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
..
affine internal/affine: refactoring: use slices instead of array pointers 2022-09-30 22:20:32 +09:00
atlas internal/restorable: use clearImage to avoid allocations 2023-10-09 00:42:58 +09:00
buffered internal/graphicsdriver: replace Region with image.Rectangle (#2791) 2023-09-28 14:29:55 +09:00
builtinshader all: rename arguments in Fragment 2023-09-21 01:35:57 +09:00
clock all: update URLs in comments 2022-11-21 01:46:50 +09:00
cocoa all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
debug internal/debug: bug fix: add SwitchLogger to dump logs for each frame correctly 2023-08-26 03:38:37 +09:00
file ebiten: implement DroppedFiles to replace AppendDroppedFiles 2023-01-25 14:27:11 +09:00
gamepad all: remove unnecessary build tag restrictions 2023-10-01 23:27:57 +09:00
gamepaddb internal/gamepaddb: update the database 2023-09-18 21:20:10 +09:00
glfw internal/glfw: merge internal/cglfw into internal/glfw 2023-10-07 23:59:55 +09:00
graphics internal/graphics: fix wrong comments 2023-09-21 01:59:20 +09:00
graphicscommand internal/restorable: use clearImage to avoid allocations 2023-10-09 00:42:58 +09:00
graphicsdriver internal/glfw: merge internal/goglfw into internal/glfw 2023-10-05 03:09:51 +09:00
hook internal/hook: rename hooks -> hook 2023-10-06 13:58:00 +09:00
jsutil all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
microsoftgdk internal/microsoftgdk: improve forward compatibility 2022-12-25 22:00:22 +09:00
mipmap internal/graphicsdriver: replace Region with image.Rectangle (#2791) 2023-09-28 14:29:55 +09:00
packing internal/packing: refactoring: use image.Rectangle 2023-04-27 23:45:57 +09:00
png go generate 2023-03-15 03:18:28 +09:00
processtest all: rename arguments in Kage 2023-09-24 16:46:36 +09:00
restorable internal/restorable: remove unnecessary copying 2023-10-09 01:17:43 +09:00
shader all: rename arguments in Kage 2023-09-24 16:46:36 +09:00
shaderir internal/shaderir: performance optimization by reducing slices 2023-09-28 01:56:51 +09:00
testing all: rename arguments in Kage 2023-09-24 16:46:36 +09:00
thread internal/thread: add comments 2023-10-02 00:06:41 +09:00
ui internal/glfw: merge internal/cglfw into internal/glfw 2023-10-07 23:59:55 +09:00
vettools internal/vettools: bug fix: vettool itself failed with vettool check 2023-10-04 12:56:14 +09:00
vibrate all: remove unnecessary build tag restrictions 2023-10-01 23:27:57 +09:00
winver internal/winver: fix a panic message 2023-10-05 01:25:09 +09:00