ebiten/internal/uidriver/glfw
divVerent 923c84a3d6
Split the concept of device scale and screen scale (#1811)
We now set deviceScale to always the mapping from logical window system pixels
to device independent pixels (which is what Ebiten API users expect), and
introduce a new concept of videoModeScale that maps from video mode to logical
window system pixels.

videoModeScale is now only used for computing full-screen resolutions, while
deviceScale is used for any other conversion.

Fixes window sizes on X11, should be a NOP otherwise.

Closes #1774.
2021-09-15 01:03:04 +09:00
..
graphics_darwin.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
graphics_opengl.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
hideconsole_notwindows.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
hideconsole_windows.go Clean up the 'js' build tags 2020-10-07 01:33:10 +09:00
input.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
keys.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
run_notsinglethread.go internal/uidriver/glfw: Bug fix: do not execute loop function if init failed (#1689) 2021-06-29 23:51:25 +09:00
run_singlethread.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
ui_darwin.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
ui_unix.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
ui_windows.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
ui.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
window.go ebiten: Add IsWindowBeingClosed / SetWindowClosingHandled / IsWindowClosingHandled 2021-06-14 02:29:11 +09:00