Use rounding to 8888 in lighting filters, raster path.
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 19 Mar 2014 19:44:41 +0000 (19:44 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 19 Mar 2014 19:44:41 +0000 (19:44 +0000)
commitb9c95978c614e8f6bc00bdf565cff57388d8c659
tree5006a3da2497603b27184a08eef7c5b27f90657b
parent8e13a159f3a54f761ab80b16377015e5a9077411
Use rounding to 8888 in lighting filters, raster path.

when converting float -> 8-bit BGRA in lighting filters, use rounding
rather than floor(). This makes the GPU and raster paths match more
closely (as tested by Blink test
feDiffuseLighting-linearrgb-lighting-color.svg).

Will affect the LSB of lighting, imagefiltersscaled GMs.

R=junov@chromium.org
BUG=skia:

Review URL: https://codereview.chromium.org/205073002

git-svn-id: http://skia.googlecode.com/svn/trunk@13863 2bbb7eff-a529-9590-31e7-b0007b416f81
expectations/gm/ignored-tests.txt
src/effects/SkLightingImageFilter.cpp