diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2025-03-25 11:36:05 -0400 |
---|---|---|
committer | Patrick Luby <guibomacdev@gmail.com> | 2025-03-29 14:57:12 +0100 |
commit | 0fabcd369fc2c9a79b86b634b2e048223f9d8697 (patch) | |
tree | e4ad7c1276236ebf24167966c3a22b644c3ce0bd /basic/source/runtime/iosys.cxx | |
parent | 210c89a34bda429fe7e0b8f0e63ce5bb5add9d8b (diff) |
Related: tdf#128186 stop Skia/Metal flicker in full screen mode transitions
Let vcl use the CAMetalLayer's hidden property to skip the fix for
tdf#152703 in external/skia/macosmetal.patch.1 and create a new
CAMetalLayer when the window's frame changes.
When using Skia/Metal, flushing to an NSWindow during transitions
into or out of native full screen mode causes the Skia/Metal surface
to be drawn at the wrong window position which results in a noticeable
flicker.
Also, enable the standard macOS animation by only suppressing
animation when in internal full screen mode. LibreOffice's internal
full screen mode fills the screen with a regular window so skipping
the macOS animation makes sense for that case, but it appears very
abrupt when transitioning to a window that is smaller than the screen.
Lastly, fix several incorrect conversions between window content and
frame rectangles during full screen mode transitions.
Change-Id: I0e620ea2f727977921c0fdb63b9995b4e77eb161
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183307
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
Diffstat (limited to 'basic/source/runtime/iosys.cxx')
0 files changed, 0 insertions, 0 deletions