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

--- Comment #1 from Leo Wang <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to