[Committed on behalf of junov@chromium.org]
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 18 Feb 2011 19:03:01 +0000 (19:03 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 18 Feb 2011 19:03:01 +0000 (19:03 +0000)
commit4868e6b221a4a98e40f977851af5fcf09631ea15
tree7cab2de730dc1ef1ed247ed869c088b057e75a49
parent7a5af8b7dc946ccb94fdc22491623a8bfafc88fa
[Committed on behalf of junov@chromium.org]

Fixed rendering of shadows under bitmaps.
Added an option to SkBlurMask to produce higher quality blurs.
The HQ blur option is propagated through SkBlurDrawLooper so that it can be invoked by WebKit for drawing shadows.
Added a shadow rendering test to gm.

Bugs fixed: 146, 150
Related Chromium bugs: 11153, 42654
Code review: http://codereview.appspot.com/4174049

git-svn-id: http://skia.googlecode.com/svn/trunk@818 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/gm_files.mk
gm/shadows.cpp [new file with mode: 0644]
include/effects/SkBlurDrawLooper.h
include/effects/SkBlurMaskFilter.h
src/effects/SkBlurDrawLooper.cpp
src/effects/SkBlurMask.cpp
src/effects/SkBlurMask.h
src/effects/SkBlurMaskFilter.cpp
src/effects/SkEmbossMaskFilter.cpp
src/images/SkImageDecoder_libpng.cpp