Go to file
senorblanco@chromium.org ccf225cebb This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples.
In order to preserve the immutability of SkImageFilters, the crop rect is passed as a constructor parameter. If NULL (the default), the bounds of the input image are used, as before.

This also tightens up the boundary handling for SkImageBlurFilter on the GPU backend. Where we were previously using clamping semantics, we now respect decal semantics (so we don't oversaturate the edges). This brings the GPU and raster backends into closer alignment, but will require some new baselines for the GPU tests.

At a minimum, the following tests will need new baselines: imageblur, imagefiltersbase, imagefilterscropped, spritebitmap.

R=reed@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10251 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-22 20:03:22 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench stop using bitmap-filter flags outside of paint itself, as a step towards really changing them into an enum 2013-07-22 17:18:18 +00:00
debugger fix swapped bitmap channels on Mac for debugger 2013-07-10 15:53:36 +00:00
expectations/skimage Add expectations files covering new image files. 2013-07-08 23:17:29 +00:00
experimental move skpdiff into tools 2013-07-22 18:46:45 +00:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-22 20:03:22 +00:00
gyp This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-22 20:03:22 +00:00
include This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-22 20:03:22 +00:00
platform_tools Update android_make to use arrays instead of space delimited strings 2013-07-22 14:18:08 +00:00
resources More general GM for testing bitmap filtering, including checkerboards, images, and text. 2013-05-31 12:50:39 +00:00
samplecode stop using bitmap-filter flags outside of paint itself, as a step towards really changing them into an enum 2013-07-22 17:18:18 +00:00
src This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-22 20:03:22 +00:00
tests stop using bitmap-filter flags outside of paint itself, as a step towards really changing them into an enum 2013-07-22 17:18:18 +00:00
third_party Remove svn:externals and update the README. 2013-06-12 14:57:33 +00:00
tools Last friday I changed this file to un-break the build. 2013-07-22 19:28:40 +00:00
trybots_to_run/chrome Deleting the hardcoded list of compile bots in trybots_to_run. 2013-04-09 11:59:42 +00:00
.gitignore ignore pyc files. 2013-06-26 20:38:39 +00:00
codereview.settings Removing blank lines from codereview.settings. 2013-02-26 16:01:21 +00:00
DEPS remove podofo from deps 2013-07-10 17:11:29 +00:00
Doxyfile Pointing to http://skia-autogen.googlecode.com/svn/docs/html/index.html in Doxyfile 2012-07-03 11:35:07 +00:00
gyp_skia Allow use of SKIA_OUT on Windows 2013-07-10 19:07:56 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Make make.bat and gyp_skia work with VS 2012. 2013-05-07 19:31:20 +00:00
make.py gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
Makefile SkHello for NaCl 2013-06-17 15:39:43 +00:00
Makefile.old Higher resolution timers for bench. 2011-06-07 19:16:02 +00:00
PRESUBMIT.py If the tree is closed then print information about contacting the sheriff. 2013-04-12 19:45:46 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
skia.gyp gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
whitespace.txt Whitespace change to trigger builds. 2013-07-18 11:13:51 +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