Commit Graph
17 Commits
Author SHA1 Message Date
Henrik Rydgård 88bfab066c Add size hints for Vulkan surface size, using SDL window size, in case it can't be determined by the driver 2026-08-05 16:37:57 +02:00
Henrik Rydgård 1c0740c4b9 SDL: Simplify graphics context fallback 2026-08-03 14:54:49 +02:00
Henrik Rydgård 054a10d46b Fix imgui being upside down on some backends.
Fixes #21761
2026-06-01 10:53:41 +02:00
Henrik Rydgård 6f0a16a4a4 Fix Y flip 2026-05-18 14:14:25 +02:00
Henrik Rydgård 85de7fdc50 Add new flag that will simplify the GL path 2026-05-14 22:20:35 +02:00
Henrik Rydgård a183420a87 Orientation-specific defaults 2025-11-05 21:46:38 +01:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård 09e067c6e1 Revert "Get rid of remains of support for non-square screen DPIs"
This reverts commit f206ed95eb.
2025-05-21 21:41:50 +02:00
Henrik Rydgård 1a1483478a Fix live resizing, implement setting on all platforms. 2025-02-20 17:14:59 -06:00
Henrik Rydgård 91360fee9b Have Native_UpdateScreenScale use the new g_display.Recalculate() 2025-02-20 15:47:02 -06:00
Henrik Rydgård 0acd2aa517 DPI: Remove g_display.dpi 2025-02-20 15:47:02 -06:00
Henrik Rydgård f206ed95eb Get rid of remains of support for non-square screen DPIs 2025-02-20 11:14:26 -06:00
Henrik Rydgård d37c04079d Change the 2D matrix generation to query the coordinate convention from the draw context 2024-11-04 23:14:23 +01:00
Unknown W. Brackets 38bbd4b8a7 Common: Fix printf format warning. 2023-03-02 06:21:24 +00:00
Henrik Rydgård 3aa0a9e17b Fix blackscreen, better debug print of display parameters 2023-02-27 15:21:58 +01:00
Henrik Rydgård 8b431b39ba Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00