summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/JavaScriptCorePrefix.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2013-08-09 11:14:36 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-09 17:36:15 +0200
commiteab5d78ef51a9a36414960714853341087bb8e99 (patch)
treeb40544dfcecf99d82fe28a406847e851651d98f8 /Source/JavaScriptCore/JavaScriptCorePrefix.h
parent6ba7d28706c770b0921de5a56cb24be85d8f179a (diff)
downloadqtwebkit-eab5d78ef51a9a36414960714853341087bb8e99.tar.gz
[Qt] Images are down-scaled badly
https://bugs.webkit.org/show_bug.cgi?id=119263 Reviewed by Jocelyn Turcotte. QPainter only does bilinear filtering, which means it will downscaling beyond 0.5x will start skipping pixel and start to degrade the end result. Scaling in QImage and QPixmap however uses a better but much more expensive sampling that counts all pixels. To get the high quality downscaling we must therefore prescale the images before painting them. To avoid a performance impact on repeated paints the prescaled image are saved in the QPixmapCache. * platform/graphics/qt/ImageQt.cpp: (WebCore::BitmapImage::draw): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153522 268f45cc-cd09-0410-ab3c-d52691b4dbfc Task-number: QTBUG-30155 Change-Id: I8b07de1d7415bc4e2dea565df92739e3ff2014b4 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/JavaScriptCorePrefix.h')
0 files changed, 0 insertions, 0 deletions