Go to file
senorblanco@chromium.org 92e0f222fb Edge antialiasing for convex shapes in Ganesh
This patch implements edge antialiasing for convex shapes, using the fragment
shader to compare against the edge equations for each triangle.  Currently, it
only works for flat shaded primitives (i.e., it was not integrated into the
"active stages" path).  The skia.gyp changes cause this code to be compiled into
SampleApp, but do not enable the tesselated path by default.

Notes:  the SkOSWindow_Unix.cpp change is to silence a valgrind warning about
memcpy() with overlapping regions.  The GrBinHashKey change is to avoid running
a two-pass hash (GrProgramDesc is now 52 bytes or so, exceeding the 32 byte
default size).

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



git-svn-id: http://skia.googlecode.com/svn/trunk@1314 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-12 15:49:15 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench check for missing filename (needs to be specified when tool is launched) 2011-05-09 21:59:56 +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 PDF Device should report non-transformed size for width and height. 2011-04-29 17:54:16 +00:00
gpu Edge antialiasing for convex shapes in Ganesh 2011-05-12 15:49:15 +00:00
gyp Edge antialiasing for convex shapes in Ganesh 2011-05-12 15:49:15 +00:00
include [PDF] Fix Chrome crash - don't assume that SkDraw.fClipStack != NULL. 2011-05-11 18:46:03 +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 color filters to gpu path. 2011-05-11 14:05:25 +00:00
src Edge antialiasing for convex shapes in Ganesh 2011-05-12 15:49:15 +00:00
tests Fix intentional breakage in previous commit 2011-05-12 13:50:57 +00:00
third_party Add pdf to skia.gyp and checkin a snap of GYP. 2011-03-30 22:04:53 +00:00
tools New 'skdiff' tool to compare two directories full of files, write diff images 2011-04-27 15:39:30 +00:00
unix_test_app Make the unix test app build. 2011-05-04 14:16:36 +00:00
vs Fixup old VS2010 project in case anyone is using it 2011-05-09 18:53:14 +00:00
xcode add include/core to header path for release build 2011-05-11 05:10:16 +00:00
configure.ac Initial automake and autoconf files to build core into libskia.a. 2009-01-06 17:03:16 +00:00
Makefile add typefacecache 2011-05-02 17:33:45 +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