<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When there are a lot of pictures, typing the text is very slow (macOS/GTK3/GDI)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138068#c32">Comment # 32</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When there are a lot of pictures, typing the text is very slow (macOS/GTK3/GDI)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138068">bug 138068</a>
              from <span class="vcard"><a class="email" href="mailto:l.lunak@collabora.com" title="Luboš Luňák <l.lunak@collabora.com>"> <span class="fn">Luboš Luňák</span></a>
</span></b>
        <pre>(In reply to Armin Le Grand from <a href="show_bug.cgi?id=138068#c30">comment #30</a>)
<span class="quote">> Main problem seems to be that I preferred DrawTransformBitmapExDirect in 
> vcl/source/outdev/bitmap.cxx cmpared to ther versions, that is the only
> thing that can influence stuff besides cairo.</span >

I confirm, it's really just this part that causes the performance problem. So
<a href="https://gerrit.libreoffice.org/c/core/+/110716">https://gerrit.libreoffice.org/c/core/+/110716</a> should be enough for this
bugreport.

(In reply to Noel Grandin from <a href="show_bug.cgi?id=138068#c31">comment #31</a>)
<span class="quote">> For reference, the Caolan caching I was talking about was commit
> 9f3926df5c2828ad3e8cfce2b4444b1c84352cf4, <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - Slow typing in document with pictures (gtk3 under X)"
   href="show_bug.cgi?id=123165">tdf#123165</a>, which is pretty much
> the same bug as this one</span >

That's not a Writer cache though, that's a cache for the best quality
BitmapEx::Scale() algorithm. So I assume what's happened was that Armin's patch
made DrawTransformBitmapExDirect() preferred to DrawBitmapEx() that does
BitmapEx::Scale() internally, but all backend implementations for
DrawTransformBitmapExDirect() except the Skia one use uncached and possibly
slow platform API for the scaling, hence the slowdown.</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>