Go to file
senorblanco@chromium.org 194d775edc 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

Committed: https://code.google.com/p/skia/source/detail?r=10251

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

git-svn-id: http://skia.googlecode.com/svn/trunk@10338 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-24 22:19:24 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench refactor duplication (shouldSkip and skip_name) into a utility function 2013-07-24 17:24:23 +00:00
debugger fix swapped bitmap channels on Mac for debugger 2013-07-10 15:53:36 +00:00
expectations Rollback Nexus10, ANGLE, and Win7 expectations after r10251 revert. 2013-07-24 15:48:25 +00:00
experimental pdfviewer: fix path shortcuts in python script, use os.path.join() 2013-07-24 19:42:11 +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-24 22:19:24 +00:00
gyp This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-24 22:19:24 +00:00
include This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-24 22:19:24 +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 fix warning of implicit cast to float 2013-07-24 17:10:05 +00:00
src This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-24 22:19:24 +00:00
tests This patch implements a crop rect for SkImageFilter. It has been implemented for SkColorFilterImageFilter and SkBlurImageFilter as examples. 2013-07-24 22:19:24 +00:00
third_party Update freetype to version 2.5.0.1 when building it from source. 2013-07-23 15:51:12 +00:00
tools Start from scratch on a faster SkFlatDictionary. 2013-07-24 20:37:30 +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 Update freetype to version 2.5.0.1 when building it from source. 2013-07-23 15:51:12 +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 Use SKIA_OUT variable in make.py 2013-07-23 15:45:50 +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 Accidentally skipped buildbot runs on r10257 2013-07-23 12:20:28 +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