Commit 70298a02 authored by Thomas Freitag's avatar Thomas Freitag Committed by Albert Astals Cid

Don't copy not needed bitmap

Speeds up rendering of fixes from bug 67105
As example one file is down from 130s to 6.5s
parent fc783300
......@@ -3802,7 +3802,7 @@ void SplashOutputDev::beginTransparencyGroup(GfxState *state, double *bbox,
transpGroup->ty = ty;
transpGroup->blendingColorSpace = blendingColorSpace;
transpGroup->isolated = isolated;
transpGroup->shape = (knockout) ? SplashBitmap::copy(bitmap) : NULL;
transpGroup->shape = (knockout && !isolated) ? SplashBitmap::copy(bitmap) : NULL;
transpGroup->knockout = gFalse;
transpGroup->knockoutOpacity = 1.0;
transpGroup->next = transpGroupStack;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment