diff options
author | Thomas Freitag <Thomas.Freitag@alfa.de> | 2012-04-25 18:51:23 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2012-04-25 18:51:23 +0200 |
commit | cf7a20adbd15f901d414ce06825459c33eeef3f5 (patch) | |
tree | 7c706a321923ae8da964fff37716f99efa9b0c1d /poppler/OutputDev.h | |
parent | 26fd142a3608283fd41e07b54067a51a9db76e93 (diff) |
Fix slow rendering of pdf with a lot of image masks in pattern colorspace
Makes it around 8 times faster
Diffstat (limited to 'poppler/OutputDev.h')
-rw-r--r-- | poppler/OutputDev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/poppler/OutputDev.h b/poppler/OutputDev.h index d7396255..803d9220 100644 --- a/poppler/OutputDev.h +++ b/poppler/OutputDev.h @@ -17,7 +17,7 @@ // Copyright (C) 2006 Thorkild Stray <thorkild@ifi.uio.no> // Copyright (C) 2007 Jeff Muizelaar <jeff@infidigm.net> // Copyright (C) 2007, 2011 Adrian Johnson <ajohnson@redneon.com> -// Copyright (C) 2009-2011 Thomas Freitag <Thomas.Freitag@alfa.de> +// Copyright (C) 2009-2012 Thomas Freitag <Thomas.Freitag@alfa.de> // Copyright (C) 2009, 2011 Carlos Garcia Campos <carlosgc@gnome.org> // Copyright (C) 2009 Albert Astals Cid <aacid@kde.org> // Copyright (C) 2010 Christian Feuersänger <cfeuersaenger@googlemail.com> @@ -251,8 +251,8 @@ public: virtual void setSoftMaskFromImageMask(GfxState *state, Object *ref, Stream *str, int width, int height, GBool invert, - GBool inlineImg); - virtual void unsetSoftMaskFromImageMask(GfxState *state); + GBool inlineImg, double *baseMatrix); + virtual void unsetSoftMaskFromImageMask(GfxState *state, double *baseMatrix); virtual void drawImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, int *maskColors, GBool inlineImg); |