ebiten/internal/restorable
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
..
const_gles.go internal/restorable: Remove needsDisposingWhenRestoring 2021-10-23 23:46:29 +09:00
const_js.go internal/restorable: Remove needsDisposingWhenRestoring 2021-10-23 23:46:29 +09:00
const_others.go internal/restorable: Remove needsDisposingWhenRestoring 2021-10-23 23:46:29 +09:00
doc.go restorable: Add comments 2017-09-15 00:24:18 +09:00
image.go internal/graphicscommand: compile shaders lazily 2022-03-21 21:09:02 +09:00
images_test.go internal/restorable: add a new parameter specifying a mask for ReplacePixels 2022-03-21 03:08:58 +09:00
images.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
rect.go internal/restorable: add a new parameter specifying a mask for ReplacePixels 2022-03-21 03:08:58 +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