Go to file
senorblanco@chromium.org 68c4d1288a Clip GPU blur against clip bounds. Clip the size of the FBOs used for blurs
to the bounds of the clipping region, inflated by the blur radius.  This is a
little tricky, since we want the rect we use for downsampling to be an integer
multiple of the scale factor, so we scale down the clip rect to downsampled
space, inflate by the (scaled) kernel width, and intersect the rects there.

Also check the blur radius against 0 and abort early, to prevent the fuzzer
blowing up on a missing uniform.

Review URL:  http://codereview.appspot.com/4841043/



git-svn-id: http://skia.googlecode.com/svn/trunk@2020 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 21:20:31 +00:00
android_sample/SampleApp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
experimental Cocoa SampleApp files 2011-08-01 17:07:12 +00:00
forth Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
gm Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
gpu Fix comment alignment 2011-08-01 17:35:01 +00:00
gyp Cocoa SampleApp files 2011-08-01 17:07:12 +00:00
include add roundOut() 2011-08-01 20:53:19 +00:00
obsolete Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
samplecode cleanup GrGLTexture / GrGLRenderTarget cons. Make GrRenderTarget aware of its msaa sample count. 2011-07-29 20:29:05 +00:00
src Clip GPU blur against clip bounds. Clip the size of the FBOs used for blurs 2011-08-01 21:20:31 +00:00
tests Fix initialization of variables; eliminates warnings on Linux. 2011-07-28 21:10:29 +00:00
third_party remove libpng and zlib from third_party 2011-06-16 12:27:14 +00:00
tools Script to automatically update copyright notices in C/C++ source code. 2011-07-28 14:29:58 +00:00
unix_test_app Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
DEPS enable "make XXX" command-line builds on Windows 2011-07-13 21:30:14 +00:00
gyp_skia Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.py Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
Makefile re-enable "core" build target lost in r1968 2011-07-27 14:17:35 +00:00
Makefile.old Higher resolution timers for bench. 2011-06-07 19:16:02 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
skia.gyp Some final cleanups leading up to The Official Switch to Gyp 2011-06-07 14:48:41 +00:00
whitespace.txt whitespace commit to trigger buildbot 2011-08-01 15:38:07 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot