skia2/experimental
sugoi@google.com e3453cbd20 This CL introduces a new path renderer.
Here are the characteristics :
- It uses the original path, before stroking
- It supports traight lines only (no curves)
- It supports butt or square caps only
- It supports miter or bevel joins only
- No AA support
Support for these will be added step by step later on.

A first pass at the benchmarks on my linux machine gave me these approximate speed improvements (running all bench with the option '--forceAA 0') :
path_stroke_small_long_line 4X
path_stroke_small_sawtooth 4X
path_stroke_big_rect 4X
path_stroke_small_rect 6X
path_stroke_big_triangle 4X
path_stroke_small_triangle 10X
lines_1_BW 1.5X
dashline_2_square 1.5X
dashline_1_square 1.5X

Also note that I can't submit this code until GrDrawTarget::isOpaque() is implemented, unless I just disable my renderer completely for now.

BUG=chromium:135111
TEST=The following gms are affected and may require rebaselining : lineclosepath, linepath, strokes_poly
Review URL: https://codereview.appspot.com/7026049

git-svn-id: http://skia.googlecode.com/svn/trunk@7047 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-07 14:26:40 +00:00
..
AndroidPathRenderer Fix compile error on Windows -- remove unsupported branch hint. 2012-12-18 14:41:18 +00:00
Debugger Adding a silent playback option to SkGPipeRead 2012-09-20 19:35:43 +00:00
DrawingBoard Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
FileReaderApp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
Intersection shape ops work in progress 2013-01-07 13:17:18 +00:00
iOSSampleApp build iOS with 'make all' 2012-10-02 18:33:14 +00:00
LightSymbolsUtil Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-22 02:02:33 +00:00
Networking Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
pixman Sanitizing source files in Skia_Periodic_House_Keeping 2012-10-17 02:01:13 +00:00
SimpleCocoaApp Fixing source files that do not have newlines at the end. 2012-08-14 20:27:54 +00:00
SimpleiOSApp build iOS with 'make all' 2012-10-02 18:33:14 +00:00
StrokePathRenderer This CL introduces a new path renderer. 2013-01-07 14:26:40 +00:00
SkSetPoly3To3_A.cpp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
SkSetPoly3To3_D.cpp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
SkSetPoly3To3.cpp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00