ebiten/internal/devicescale
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
..
devicescale.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
impl_android.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
impl_desktop.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
impl_ios.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
impl_js.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
impl_notx.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00
impl_x.go Split the concept of device scale and screen scale (#1811) 2021-09-15 01:03:04 +09:00