blender/intern/ghost
Campbell Barton cde99075e8 GHOST/Wayland: add fractional-scale interface support
Previously, fractional scaling was detected but set an integer buffer
scale which the compositor would down-scale causing blurry output.

Now the fractional scaling interface is used when available to set the
DPI and set the internal buffers size & viewport transformation to
ensure 1:1 pixels from Blender to the Wayland output.

Tested to work with multiple monitors with mixed
fractional/non-fractional scale.

Note that this change causes a regression for when fractional scaling
is set on a compositor without support for fractional-scale-v1.
Supporting fractional scaling in both cases is possible but overly
complicated. This case already wasn't working so well - with blurry
output due to image scaling, now the DPI wont be accurate in this case
although Blender is still usable.
2023-03-31 13:03:50 +11:00
..
intern GHOST/Wayland: add fractional-scale interface support 2023-03-31 13:03:50 +11:00
test Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
CMakeLists.txt GHOST/Wayland: add fractional-scale interface support 2023-03-31 13:03:50 +11:00
GHOST_C-api.h Cleanup: duplicate words in comments 2023-03-29 14:17:32 +11:00
GHOST_IContext.h Clang-Format: Allow empty functions to be single-line 2023-03-29 16:50:54 +02:00
GHOST_IEvent.h Clang-Format: Allow empty functions to be single-line 2023-03-29 16:50:54 +02:00
GHOST_IEventConsumer.h Clang-Format: Allow empty functions to be single-line 2023-03-29 16:50:54 +02:00
GHOST_ISystem.h Clang-Format: Allow empty functions to be single-line 2023-03-29 16:50:54 +02:00
GHOST_ISystemPaths.h Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
GHOST_ITimerTask.h Clang-Format: Allow empty functions to be single-line 2023-03-29 16:50:54 +02:00
GHOST_IWindow.h Clang-Format: Allow empty functions to be single-line 2023-03-29 16:50:54 +02:00
GHOST_IXrContext.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Path-api.h Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
GHOST_Rect.h Clang-Format: Allow empty functions to be single-line 2023-03-29 16:50:54 +02:00
GHOST_Types.h Cleanup: suppress clang-tidy warnings in GHOST_Types.h 2023-03-27 11:07:27 +11:00