2010-12-16 Ariya Hidayat <ariya@sencha.com>
authorAriya Hidayat <ariya@webkit.org>
Fri, 17 Dec 2010 01:44:53 +0000 (01:44 +0000)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Mon, 28 Mar 2011 14:33:27 +0000 (11:33 -0300)
commitdcbf037442a531c9da18a879f91bedfe141aaea0
treee159b4ae34fdd2dc30f98feedeedea53dd354860
parent318b799eee638d69247276fa8b9ba48027562bcd
2010-12-16  Ariya Hidayat  <ariya@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] GraphicsContext should respect QWebView render hints
        https://bugs.webkit.org/show_bug.cgi?id=51208

        GraphicsContext does not override SmoothPixmapTransform (see also
        r62762). To keep the same behavior, canvas default image interpolation
        quality is set to medium and QWebView's render hints by default also
        include SmoothPixmapTransform.

        * html/HTMLCanvasElement.h:
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
2010-12-16  Ariya Hidayat  <ariya@sencha.com>

        Reviewed by Andreas Kling.

        [Qt] GraphicsContext should respect QWebView render hints
        https://bugs.webkit.org/show_bug.cgi?id=51208

        Add some checks to ensure that GraphicsContext (via QWebFrame)
        does not clobber the render hints.

        * Api/qwebview.cpp:
        (QWebViewPrivate::QWebViewPrivate):
        * tests/qwebframe/tst_qwebframe.cpp:

QtWebKit 2.1.x notes:
    Minor change in the patch to fit into this branch version of
    GraphicsContextPlatformPrivate constructor.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/HTMLCanvasElement.h
WebCore/platform/graphics/qt/GraphicsContextQt.cpp
WebKit/qt/Api/qwebview.cpp
WebKit/qt/ChangeLog
WebKit/qt/tests/qwebframe/tst_qwebframe.cpp