ebiten/internal/ui
Hajime Hoshi 6339872da8 internal/graphicscommand: disable asynchronous rendering when vsync is on
Asynchronouse rendering was introduced at #2664, but apparently this
caused a delay between a game's update and its rendering.

Disable this when vsync is on. When vsync is off, we should not have
to care the delay since new renderings keep to come. Rather,
asynchronous renderings improves FPS.

Updates #2664
Updates #2822
2023-10-28 14:59:25 +09:00
..
api_windows.go all: remove unnecessary build tag restrictions 2023-10-01 23:27:57 +09:00
context.go internal/ui: remove unused members 2023-10-27 10:49:45 +09:00
egl_nintendosdk.go all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
graphics.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
hideconsole_windows.go internal/ui: refactoring: reduce global functions and prefer Get() 2023-10-15 03:40:48 +09:00
image.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
init_nintendosdk.cpp internal/ui: bug fix: compile failures with -tags=nintendosdk 2023-01-03 20:12:36 +09:00
init_nintendosdk.h internal/ui: rename ebitengine_Init -> ebitengine_Initialize 2023-01-03 19:23:38 +09:00
input_glfw.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
input_js.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
input_mobile.go internal/ui: refactoring: reduce global functions and prefer Get() 2023-10-15 03:40:48 +09:00
input_nintendosdk.cpp internal/ui: use -overlay to provide the implementation for Nintendo Switch 2023-01-01 01:35:05 +09:00
input_nintendosdk.go internal/ui: refactoring: reduce global functions and prefer Get() 2023-10-15 03:40:48 +09:00
input_nintendosdk.h internal/ui: bug fix: compile error on the testing CI 2023-01-01 18:01:14 +09:00
input_playstation5.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
input.go internal/ui: use float64 for cursor positions internally 2023-09-17 03:43:18 +09:00
keys_glfw.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
keys_js.go ebiten: add KeyF13 to KeyF24 2023-10-04 00:45:49 +09:00
keys_mobile.go ebiten: add KeyF13 to KeyF24 2023-10-04 00:45:49 +09:00
keys.go ebiten: add KeyF13 to KeyF24 2023-10-04 00:45:49 +09:00
monitor_glfw.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
notprofile_nintendosdk.go internal/ui: use -overlay to provide the implementation for Nintendo Switch 2023-01-03 19:10:15 +09:00
profile_nintendosdk.go internal/ui: use -overlay to provide the implementation for Nintendo Switch 2023-01-03 19:10:15 +09:00
run_glfw_notsinglethread.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
run_glfw_singlethread.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
shader.go internal/buffer, internal/mipmap: remove Shader 2023-10-19 00:52:32 +09:00
ui_android.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
ui_darwin.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
ui_glfw.go internal/graphicscommand: disable asynchronous rendering when vsync is on 2023-10-28 14:59:25 +09:00
ui_ios.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
ui_js.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
ui_linbsd.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
ui_mobile.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
ui_nintendosdk.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
ui_playstation5.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
ui_windows.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
ui.go Revert "internal/ui: bug fix: panic at ReadPixels before running" 2023-10-27 14:29:41 +09:00
window_glfw.go all: add files for PlayStation 5 2023-10-16 00:54:08 +09:00
window.go ebiten: add SetWindowMousePassthrough and IsWindowMousePassthrough 2023-09-18 18:31:22 +09:00