Skip to content
  • andreas.kling@nokia.com's avatar
    2010-11-04 Andreas Kling <kling@webkit.org> · e05dd4fe
    andreas.kling@nokia.com authored
            Reviewed by Nikolas Zimmermann.
    
            GraphicsContext: Don't do full save/restore when painting with low quality scaling
            https://bugs.webkit.org/show_bug.cgi?id=48738
    
            Stash the imageInterpolationQuality() in a local and reset it after painting.
    
            * platform/graphics/GraphicsContext.cpp:
            (WebCore::GraphicsContext::drawImage):
            (WebCore::GraphicsContext::drawTiledImage):
            (WebCore::GraphicsContext::drawImageBuffer):
            * platform/graphics/haiku/GraphicsContextHaiku.cpp:
            (WebCore::GraphicsContext::imageInterpolationQuality):
            * platform/graphics/skia/GraphicsContextSkia.cpp:
            (WebCore::GraphicsContext::imageInterpolationQuality):
            * platform/graphics/wince/GraphicsContextWinCE.cpp:
            (WebCore::GraphicsContext::imageInterpolationQuality):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e05dd4fe