ebiten/internal/graphicsdriver
Hajime Hoshi 7418576c16 internal/ui: re-enable skipping to render the final screen when possible
With Metal, nextDrawable could return immediately when a command buffer
is empty. To avoid high CPU usage, this change adds a slight sleep in
this case.

With DirectX, Present waits for a while even though nothing is updated,
then that's fine.

Updates #2341
Updates #2342
Updates #2520
2023-01-03 23:09:28 +09:00
..
directx internal/graphicsdriver/metal: stop using presentsWithTransaction 2022-12-27 19:00:56 +09:00
metal internal/ui: re-enable skipping to render the final screen when possible 2023-01-03 23:09:28 +09:00
opengl internal/graphicsdriver/opengl: record last uniform variables and reset them before swapping buffers 2023-01-03 03:13:46 +09:00
blend.go ebiten: add blend factors 2022-10-18 00:21:13 +09:00
graphics.go internal/graphicsdriver/metal: stop using presentsWithTransaction 2022-12-27 19:00:56 +09:00