ebiten/internal/atlas
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
..
export_test.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
image_test.go internal/atlas: add a new parameter specifying a mask for ReplacePixels 2022-03-21 03:56:04 +09:00
image.go internal/graphicscommand: compile shaders lazily 2022-03-21 21:09:02 +09:00
shader_test.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