blender/intern
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
..
atomic Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
audaspace CMake: fix AUDASPACE disabling WITH_PYTHON for Blender 2022-05-20 11:18:49 +10:00
clog File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
cycles Cycles: Exploit non-uniform threadgroup sizes on Metal 2023-03-29 21:46:11 +02:00
dualcon Clang-Format: Allow empty functions to be single-line 2023-03-29 16:50:54 +02:00
eigen Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
ffmpeg Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
ghost GHOST/Wayland: add fractional-scale interface support 2023-03-31 13:03:50 +11:00
guardedalloc Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
iksolver Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
itasc Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
libc_compat Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
libmv Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
locale Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
mantaflow Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
memutil Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
mikktspace Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
opencolorio Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
opensubdiv Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
openvdb Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
quadriflow Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
renderdoc_dynload Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
rigidbody Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
sky Cleanup: use C-style code comments, format 2023-03-03 16:29:22 +11:00
utfconv Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
wayland_dynload GHOST/Wayland: improve workaround for libdecor setting the window state 2022-11-16 12:31:29 +11:00
CMakeLists.txt Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00