ebiten/internal/graphicscommand
Hajime Hoshi 81b9f91f86 internal/graphicscommand: compile shaders lazily
With DirectX, the graphics driver cannot be determined until the
main loop starts, as a transparent window cannot be treated with
DirectX so far. On the other hand, compiling shaders requires a
graphics driver as it requires information about Y directions of
NDCs and framebuffers.

This change delays compiling shaders until the graphics commands
are actually executed in the main loop.

Updates #1007
Updates #2019
2022-03-21 21:09:02 +09:00
..
command.go internal/graphicscommand: compile shaders lazily 2022-03-21 21:09:02 +09:00
doc.go Rename graphics -> graphicscommand 2018-10-28 20:10:05 +09:00
image_test.go internal/graphicscommand: compile shaders lazily 2022-03-21 21:09:02 +09:00
image.go internal/graphicscommand: compile shaders lazily 2022-03-21 21:09:02 +09:00
shader.go internal/graphicscommand: compile shaders lazily 2022-03-21 21:09:02 +09:00
thread.go internal/graphicscommand: add a comment 2022-02-28 00:15:52 +09:00