[poppler] poppler/SplashOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Mar 22 15:18:56 PDT 2011
poppler/SplashOutputDev.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit b3971ee6bca6b14b75f046c831a31ac1e5e3241e
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Mar 22 22:08:27 2011 +0000
kill this TODO, n is too small
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 3a56a78..fd4c8a7 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -2622,7 +2622,7 @@ GBool SplashOutputDev::tilingBitmapSrc(void *data, SplashColorPtr colorLine,
SplashColorPtr p;
for (int m = 0; m < imgData->repeatX; m++) {
p = imgData->bitmap->getDataPtr() + imgData->y * imgData->bitmap->getRowSize();
- for (int x = 0; x < n; ++x) { // TODO memcopy?
+ for (int x = 0; x < n; ++x) {
*q++ = *p++;
}
}
@@ -2633,7 +2633,7 @@ GBool SplashOutputDev::tilingBitmapSrc(void *data, SplashColorPtr colorLine,
const int n = imgData->bitmap->getWidth() - 1;
for (int m = 0; m < imgData->repeatX; m++) {
p = imgData->bitmap->getAlphaPtr() + imgData->y * imgData->bitmap->getWidth();
- for (int x = 0; x < n; ++x) { // TODO memcopy?
+ for (int x = 0; x < n; ++x) {
*aq++ = *p++;
}
// This is a hack, because of how Splash antialias works if we overwrite the
@@ -2666,7 +2666,7 @@ GBool SplashOutputDev::tilingBitmapSrc(void *data, SplashColorPtr colorLine,
const int n = imgData->bitmap->getWidth();
for (int m = 0; m < imgData->repeatX; m++) {
p = imgData->bitmap->getAlphaPtr() + y * imgData->bitmap->getWidth();
- for (int x = 0; x < n; ++x) { // TODO memcopy?
+ for (int x = 0; x < n; ++x) {
*aq++ = *p++;
}
}
More information about the poppler
mailing list