ebiten/internal/graphicsdriver
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
..
directx internal/graphicsdriver/directx: resize the swap buffer chain at the end of a frame 2022-10-25 00:35:09 +09:00
metal internal/ui: optimize GPU usages when the screen doesn't have to be updated 2022-10-28 18:51:06 +09:00
opengl internal/graphicsdriver/opengl: move OpenGL constants to seperate package (#2408) 2022-10-24 23:22:14 +09:00
blend.go ebiten: add blend factors 2022-10-18 00:21:13 +09:00
graphics.go internal/graphicsdriver: add Blend struct 2022-10-16 01:08:26 +09:00