Bug 41774 - [Qt] Enable smooth pixmap transforms by default
Summary: [Qt] Enable smooth pixmap transforms by default
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: QtWebKit Unassigned
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-07-07 09:53 PDT by Andreas Kling
Modified: 2011-12-15 04:33 PST (History)
6 users (show)

See Also:


Attachments
Proposed patch (1.79 KB, patch)
2010-07-07 09:55 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2010-07-07 09:53:24 PDT
Drawing scaled pixmaps currently looks a bit horrible with QtWebKit, see for instance this simple demo:
http://chaos.troll.no/~kling/canvas/photos/

The solution is to enable smooth pixmaps transformations by default (which also appears to be what other ports are doing.)
Comment 1 Andreas Kling 2010-07-07 09:55:16 PDT
Created attachment 60746 [details]
Proposed patch
Comment 2 Tor Arne Vestbø 2010-07-07 10:06:10 PDT
Comment on attachment 60746 [details]
Proposed patch

LGTM
Comment 3 Kenneth Rohde Christiansen 2010-07-07 11:37:43 PDT
I would love that! Currently to use the same DPI as Android and the iPhone, we have to scale everything with 1.5 on the N900, which looks terrible.
Comment 4 WebKit Commit Bot 2010-07-07 23:10:01 PDT
Comment on attachment 60746 [details]
Proposed patch

Clearing flags on attachment: 60746

Committed r62762: <http://trac.webkit.org/changeset/62762>
Comment 5 WebKit Commit Bot 2010-07-07 23:10:06 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 WebKit Review Bot 2010-07-07 23:35:08 PDT
http://trac.webkit.org/changeset/62762 might have broken GTK Linux 64-bit Debug
Comment 7 Magnesus 2011-12-15 04:33:22 PST
Looks like it's broken in QtWebKit 2.2.1 - https://bugs.webkit.org/show_bug.cgi?id=74600