ebiten/internal/shareable
Hajime Hoshi d2312f1450 shareable: Lock before BeginFrame
This make package shareable more consistent. The mutex is lock
after EndFrame and before BeginFrame, and the similar rule will be
applied at launching (BeginFrame unlocks the lock in any cases).

Instead, package ebiten queues image operations if BeginFrame and
doesn't create provisional non-shared images. This should improve
performance at launching since this reduces the number of draw
calls, especifally for creating new images.

Updates #879.
Updates #921.
2019-08-25 18:12:04 +09:00
..
shareable_test.go restorable: Split pixel records into regions 2019-07-19 10:59:48 +09:00
shareable.go shareable: Lock before BeginFrame 2019-08-25 18:12:04 +09:00