ebiten/internal/ui
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
..
context.go internal/ui: remove the call of graphicsDriver() from the context 2022-03-21 16:48:33 +09:00
graphics_darwin.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
graphics_ios_amd64.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
graphics_ios_arm64.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
graphics_opengl.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
graphics.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
hideconsole_notwindows.go internal/uidriver/*: integrate the packages into internal/ui 2022-02-06 17:23:04 +09:00
hideconsole_windows.go internal/uidriver/*: integrate the packages into internal/ui 2022-02-06 17:23:04 +09:00
image.go internal/graphicscommand: compile shaders lazily 2022-03-21 21:09:02 +09:00
input_cbackend.go internal/ui: refactoring: add ui.SetError 2022-02-13 17:17:08 +09:00
input_glfw.go internal/ui: rename ResetForFrame -> ResetForTick 2022-02-13 19:54:40 +09:00
input_js.go internal/ui: rename ResetForFrame -> ResetForTick 2022-02-13 19:54:40 +09:00
input_mobile.go internal/ui: rename ResetForFrame -> ResetForTick 2022-02-13 19:54:40 +09:00
keys_glfw.go all: reorder build tags in an alphabetical order 2022-02-08 15:49:15 +09:00
keys_js.go internal/driver: move the key definitions to internal/ui 2022-02-06 19:14:18 +09:00
keys_mobile.go internal/driver: move the key definitions to internal/ui 2022-02-06 19:14:18 +09:00
keys.go internal/driver: move the key definitions to internal/ui 2022-02-06 19:14:18 +09:00
run_notsinglethread.go internal/ui: refactoring: remove an error value from runOnAnotherThreadFromMainThread 2022-02-14 00:55:58 +09:00
run_singlethread.go internal/ui: refactoring: remove an error value from runOnAnotherThreadFromMainThread 2022-02-14 00:55:58 +09:00
shader.go internal/graphicscommand: compile shaders lazily 2022-03-21 21:09:02 +09:00
ui_cbackend.go internal/ui: bug fix: compile error with the cbackend tag 2022-03-21 16:59:53 +09:00
ui_glfw_darwin.go internal/graphicscommand: move the choice of graphics drivers to internal/ui 2022-03-20 02:51:31 +09:00
ui_glfw_unix.go ebiten: add WindowResizingModeType and its constants and functions 2022-02-11 04:59:04 +09:00
ui_glfw_windows.go ebiten: add WindowResizingModeType and its constants and functions 2022-02-11 04:59:04 +09:00
ui_glfw.go internal/ui: remove the call of graphicsDriver() from the context 2022-03-21 16:48:33 +09:00
ui_js.go internal/ui: remove the call of graphicsDriver() from the context 2022-03-21 16:48:33 +09:00
ui_mobile.go internal/ui: remove the call of graphicsDriver() from the context 2022-03-21 16:48:33 +09:00
ui.go internal/testing: bug fix: considering the case when Y is inverted 2022-02-27 22:14:32 +09:00
window_glfw.go ebiten: add WindowResizingModeType and its constants and functions 2022-02-11 04:59:04 +09:00
window_null.go ebiten: add WindowResizingModeType and its constants and functions 2022-02-11 04:59:04 +09:00