<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - very slow render"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64892#c32">Comment # 32</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - very slow render"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64892">bug 64892</a>
              from <span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=64892#c29">comment #29</a>)
<span class="quote">> Thomas "quick" question: are the 

> -    if (scaledHeight < srcHeight) {
> -      if (scaledWidth < srcWidth) {
> +    if (scaledHeight <= srcHeight) {
> +      if (scaledWidth <= srcWidth) {
>         scaleImageYdXd(src, srcData, srcMode, nComps, srcAlpha,
>                       srcWidth, srcHeight, scaledWidth, scaledHeight, dest);
>        } else {
> @@ -4077,11 +4077,11 @@ SplashBitmap *Splash::scaleImage(SplashImageSource
> src, void *srcData,
>                       srcWidth, srcHeight, scaledWidth, scaledHeight, dest);
>        }
>      } else {
> -      if (scaledWidth < srcWidth) {
> +      if (scaledWidth <= srcWidth) {


> changes needed?

> If i remove them I still get the speedup and the delta with the old version
> renders is reduced a lot, for example, bug114741.pdf has no changes instead
> of changing for every page.</span >


Just remove it: When I tried to find the reason for the slow rendering I
thought that downscaling is faster than upscaling (at least there is definitely
no bilinear interpolation), and the most pattern had the same width. But after
I figured out that it didn't help really I forgot to revert it.</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>