mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-04 23:14:28 +01:00
Updated Performance Tips (markdown)
parent
b7f6cf265c
commit
204d7155b2
@ -12,7 +12,7 @@ One drawing function like `DrawImage` or `Fill` is treated as one (internal) dra
|
|||||||
|
|
||||||
examples/sprites is a good example to draw > 10000 sprites with one draw commands.
|
examples/sprites is a good example to draw > 10000 sprites with one draw commands.
|
||||||
|
|
||||||
# Avoid changing render sources too often
|
# Avoid changing render sources' pixels
|
||||||
|
|
||||||
Ebiten records almost all draw functions in order to restore when context lost happens. When a render source's pixel is changed after it is used as a render source, Ebiten tries a complicated calculation for restoring.
|
Ebiten records almost all draw functions in order to restore when context lost happens. When a render source's pixel is changed after it is used as a render source, Ebiten tries a complicated calculation for restoring.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user