mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
d2312f1450
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. |
||
---|---|---|
.. | ||
shareable_test.go | ||
shareable.go |