Go to file
vandebo@chromium.org da912d61ed [PDF] Add support for Shaders.
- Shaders, or as they are referred to in PDF, patterns, are drawn in the coordinate system of the initial page, so when we canonicalize them, we have to consider the current transform and where they are constructed.

- Image shaders are tiled by default, this makes repeat and mirror modes easy, but means we have to draw a pattern as large as the current clip to support clamp mode.

- Gradient shaders are implemented with type 4 functions, which are basically small snippets of post script code.  I've tried to make the code generation modular and heavily commented to make it easy to understand or expand.

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

git-svn-id: http://skia.googlecode.com/svn/trunk@905 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-03-08 18:31:02 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench add black, opaque, blend variants for text blits, to exercise different 2011-01-17 19:45:43 +00:00
experimental convert matrix <--> matrix44 2010-03-01 14:54:05 +00:00
forth more unittests (already found/fixed some bugs) 2009-09-02 02:07:32 +00:00
gm use new high-quality blur in samples 2011-02-18 20:20:51 +00:00
gpu Add filters to organize the VS project. Remove unused Gr files. 2011-03-08 18:19:05 +00:00
include [PDF] Add support for Shaders. 2011-03-08 18:31:02 +00:00
obsolete move old (unmaintained) gl backend out of src. src/gpu superceeds this now. 2011-02-22 20:50:57 +00:00
samplecode add setXYWH to rects 2011-03-03 13:23:35 +00:00
src [PDF] Add support for Shaders. 2011-03-08 18:31:02 +00:00
tests remove unused methods from SkRefPtr, as a check-point for better understanding 2011-03-08 16:06:06 +00:00
third_party/harfbuzz add 2010-04-08 18:48:12 +00:00
tools add png to makefile for linux 2010-04-15 14:28:24 +00:00
vs Add filters to organize the VS project. Remove unused Gr files. 2011-03-08 18:19:05 +00:00
xcode Add support for clipstack to Gr. GrClip is now a list of rects and paths with set operations to combine them. The stencil buffer is used to perform the set operations to put the clip into the stencil buffer. Building Gr's clip from Skia's clipStack is currently disabled due to the fact that Skia's clipStack is relative to the root layer not the current layer. This will be fixed in a subsequent CL. 2011-03-03 13:54:13 +00:00
configure.ac Initial automake and autoconf files to build core into libskia.a. 2009-01-06 17:03:16 +00:00
Makefile [PDF] Add support for Shaders. 2011-03-08 18:31:02 +00:00
Makefile.am Initial automake and autoconf files to build core into libskia.a. 2009-01-06 17:03:16 +00:00
README Add a basic README file. 2009-01-13 22:01:54 +00:00

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

- 3x3 matrices w/ perspective
- antialiasing, transparency, filters
- shaders, xfermodes, maskfilters, patheffects