[Libreoffice-bugs] [Bug 137468] Severe performance degradation on a macOS with a 5K display

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Oct 17 10:38:04 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137468

--- Comment #1 from Leo Wang <ilford at gmail.com> ---
The improved patch:

diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index d26617eb3d15..4647807718ec 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -203,6 +203,9 @@ -(id)initWithSalFrame: (AquaSalFrame*)pFrame
     // Disable window restoration until we support it directly
     [pNSWindow setRestorable: NO];

+    [pNSWindow setDynamicDepthLimit: NO];
+    [pNSWindow setDepthLimit: NSWindowDepthTwentyfourBitRGB];
+
     return static_cast<SalFrameWindow *>(pNSWindow);
 }


There are still large amount of pixel format conversions from agbr32 to rgba32
even under the display is in SRGB color space.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201017/9b7095d3/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list