mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
b019a3723a
This change skips rendering when 1) the screen is not cleared every frame (`SetScreenClearedEveryFrame(false)`) and 2) Draw doesn't draw anything onto the screen. The GPU usages decreased on some machines (e.g. GPU usage was 10% with an empty Ebitengine project and became 2-3 % on a Windows machine). Updates #2341 |
||
---|---|---|
.. | ||
command.go | ||
doc.go | ||
image_js.go | ||
image_notjs.go | ||
image_test.go | ||
image.go | ||
shader.go | ||
thread.go |