<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Severe performance degradation on a macOS with a 5K display"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137468#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Severe performance degradation on a macOS with a 5K display"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137468">bug 137468</a>
              from <span class="vcard"><a class="email" href="mailto:ilford@gmail.com" title="Leo Wang <ilford@gmail.com>"> <span class="fn">Leo Wang</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>