Changeset 65097 in webkit


Ignore:
Timestamp:
Aug 10, 2010 3:02:26 PM (14 years ago)
Author:
senorblanco@chromium.org
Message:

2010-08-09 Stephen White <senorblanco@chromium.org>

Reviewed by David Levin.

Prefer the medium-quality (bilinear) image resampling for 2D canvas on
Chromium.
https://bugs.webkit.org/show_bug.cgi?id=43646


This is what the accelerated path is going to do,
so do it in the software path as well.

  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::createImageBuffer):
  • platform/graphics/GraphicsContext.h:

2010-08-09 Stephen White <senorblanco@chromium.org>

Reviewed by David Levin.

Temporarily mark html/canvas/image-object-in-canvas.html as failing.
https://bugs.webkit.org/show_bug.cgi?id=43646

  • platform/chromium/test_expectations.txt:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r65095 r65097  
     12010-08-09  Stephen White  <senorblanco@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        Temporarily mark html/canvas/image-object-in-canvas.html as failing.
     6        https://bugs.webkit.org/show_bug.cgi?id=43646
     7
     8        * platform/chromium/test_expectations.txt:
     9
    1102010-08-10  Chris Fleizach  <cfleizach@apple.com>
    211
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r65054 r65097  
    31863186BUG51416 : fast/dom/DeviceMotion/window-property.html = TEXT
    31873187
     3188// Will need rebaseline.
     3189BUG_SENORBLANCO : fast/canvas/image-object-in-canvas.html = IMAGE
     3190
    31883191// Slow test introduced in r64817
    31893192BUG51571 : http/tests/misc/bad-charset-alias.html = TIMEOUT
  • trunk/WebCore/ChangeLog

    r65095 r65097  
     12010-08-09  Stephen White  <senorblanco@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        Prefer the medium-quality (bilinear) image resampling for 2D canvas on
     6        Chromium.
     7        https://bugs.webkit.org/show_bug.cgi?id=43646
     8       
     9        This is what the accelerated path is going to do,
     10        so do it in the software path as well.
     11
     12        * html/HTMLCanvasElement.cpp:
     13        (WebCore::HTMLCanvasElement::createImageBuffer):
     14        * platform/graphics/GraphicsContext.h:
     15
    1162010-08-10  Chris Fleizach  <cfleizach@apple.com>
    217
  • trunk/WebCore/html/HTMLCanvasElement.cpp

    r64881 r65097  
    406406    m_imageBuffer->context()->scale(FloatSize(size.width() / unscaledSize.width(), size.height() / unscaledSize.height()));
    407407    m_imageBuffer->context()->setShadowsIgnoreTransforms(true);
     408    m_imageBuffer->context()->setImageInterpolationQuality(CanvasInterpolationQuality);
    408409}
    409410
  • trunk/WebCore/platform/graphics/GraphicsContext.h

    r64881 r65097  
    9797#endif
    9898
     99#if PLATFORM(CHROMIUM)
     100#define CanvasInterpolationQuality InterpolationMedium
     101#else
     102#define CanvasInterpolationQuality InterpolationDefault
     103#endif
     104
    99105#if PLATFORM(QT) && defined(Q_WS_WIN)
    100106#include <windows.h>
Note: See TracChangeset for help on using the changeset viewer.