ebiten/internal/graphicscommand
Hajime Hoshi b019a3723a internal/ui: optimize GPU usages when the screen doesn't have to be updated
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
2022-10-28 18:51:06 +09:00
..
command.go internal/ui: optimize GPU usages when the screen doesn't have to be updated 2022-10-28 18:51:06 +09:00
doc.go Rename graphics -> graphicscommand 2018-10-28 20:10:05 +09:00
image_js.go add errcheck static analysis (#2293) 2022-09-10 01:52:46 +09:00
image_notjs.go add errcheck static analysis (#2293) 2022-09-10 01:52:46 +09:00
image_test.go internal/graphicsdriver: add Blend struct 2022-10-16 01:08:26 +09:00
image.go all: unify terms for buffers and flushing 2022-10-16 19:47:00 +09:00
shader.go ebiten: compile shaders at NewShader 2022-04-04 02:52:57 +09:00
thread.go internal/graphicscommand: add a comment 2022-02-28 00:15:52 +09:00