<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><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> changed
          <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>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>l.lunak@collabora.com
           </td>
         </tr></table>
      <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#c21">Comment # 21</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>The document from <a href="show_bug.cgi?id=138068#c4">comment #4</a> spends its time in DrawTransformedBitmap(). The
problem is that if scaling is involved, it is left to Cairo to do it, and that
is done by the CPU, thus relatively slow, and moreover each redraw needs that
again and again. I don't know why the cache from Armin's change doesn't cache
it, Skia code manages to cache it just fine. Either that cache needs to get
fixed, or at least for the simple "at most translate+scale but no shear or
rotate" case the scaling should be done manually using BitmapEx::Scale(), which
should get cached. Skia's SkiaSalGraphicsImpl::drawTransformedBitmap() can be
used as an inspiration for that case.</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>