2010-09-23 Matthew Delaney <mdelaney@apple.com>
authorcommit-queue <commit-queue@webkit.org>
Fri, 24 Sep 2010 00:29:35 +0000 (00:29 +0000)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Mon, 28 Mar 2011 13:51:15 +0000 (10:51 -0300)
commit318b799eee638d69247276fa8b9ba48027562bcd
tree30855ee47d04ec35666260cfa77264813117a55b
parentd161174f3a93ecbbed8454a2ec345c25f42a522b
2010-09-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Oliver Hunt.

        Lower the default canvas interpolation quality for platforms that use CG
        https://bugs.webkit.org/show_bug.cgi?id=45722

        Lowered the default image interpolation quality for platforms that
        use CG down to low since this is as good as if not better than
        other graphics platforms defaults (being bilinear interpolation).

        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::createImageBuffer):
        * html/HTMLCanvasElement.h: Moved in macros for default canvas interp quality.
        * platform/graphics/GraphicsContext.h: Moved out macros for default canvas interp quality. It makes more sense for them to be housed where they're used.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/HTMLCanvasElement.cpp
WebCore/html/HTMLCanvasElement.h