Fix kernel width calculation in GPU-based Gaussian blur. When converting the
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 18 Jul 2011 21:48:35 +0000 (21:48 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 18 Jul 2011 21:48:35 +0000 (21:48 +0000)
commit4a947d264b2764685e5f82b2e5d328a50e9612ea
tree2e2b1e98a12007bb1d9957621868409c671582be
parentef427d47128ef03c28a4d38d3f91d0d5a11115bb
Fix kernel width calculation in GPU-based Gaussian blur.  When converting the
sigma value to a kernel width, it should be rounded up.  Otherwise, for small
sigmas, the edge pixels of the kernel may be missing.

git-svn-id: http://skia.googlecode.com/svn/trunk@1891 2bbb7eff-a529-9590-31e7-b0007b416f81
samplecode/SampleBigBlur.cpp
src/gpu/SkGpuDevice.cpp