WebCore:
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jun 2009 17:09:03 +0000 (17:09 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jun 2009 17:09:03 +0000 (17:09 +0000)
commit9ef2fde0554dc011717583a50523efdd60df3baf
treed68c94aebdf7a31ed77954c180ef66592f0b370e
parentfc56e08dcf82254d7ff091da883226d6cde799c4
WebCore:

2009-06-09  Anand K. Mistry  <amistry@google.com>

        Reviewed by Dimitri Glazkov.

        Paint bitmaps with the alpha channel in Skia.
        https://bugs.webkit.org/show_bug.cgi?id=26037

        Test: fast/canvas/drawImage-with-globalAlpha.html

        * platform/graphics/skia/ImageSkia.cpp:
        (WebCore::paintSkBitmap):
        * platform/graphics/skia/PlatformContextSkia.cpp:
        (PlatformContextSkia::getAlpha):
        * platform/graphics/skia/PlatformContextSkia.h:

LayoutTests:

2009-06-09  Anand K. Mistry  <amistry@google.com>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=26037
        Test the globalAlpha property of canvas contexts.

        * fast/canvas/drawImage-with-globalAlpha.html: Added.
        * platform/mac/fast/canvas/drawImage-with-globalAlpha-expected.checksum: Added.
        * platform/mac/fast/canvas/drawImage-with-globalAlpha-expected.png: Added.
        * platform/mac/fast/canvas/drawImage-with-globalAlpha-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@44537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/canvas/drawImage-with-globalAlpha.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/canvas/drawImage-with-globalAlpha-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/canvas/drawImage-with-globalAlpha-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/canvas/drawImage-with-globalAlpha-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/graphics/skia/ImageSkia.cpp
WebCore/platform/graphics/skia/PlatformContextSkia.cpp
WebCore/platform/graphics/skia/PlatformContextSkia.h