skia2/include/gpu
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
..
gl Add support for new glShaderSource() signature from Khronos. Disabled by default. 2012-11-19 20:43:10 +00:00
GrAARectRenderer.h Accelerate AA filled rect drawing using drawIndexedInstances 2012-12-18 21:47:47 +00:00
GrBackendEffectFactory.h Fix Android compiler warnings. 2013-01-04 15:29:06 +00:00
GrClipData.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
GrColor.h Add GrColor to RGBA float helper func 2012-09-17 17:23:21 +00:00
GrConfig.h This CL introduces a new path renderer. 2013-01-07 14:26:40 +00:00
GrContext.h Reland 6914 w/ fixes. 2012-12-20 15:13:01 +00:00
GrContextFactory.h Platform/Engine -> Backend 2012-10-25 18:43:28 +00:00
GrEffect.h Allow GrEffects with multiple textures. 2013-01-04 18:34:30 +00:00
GrEffectStage.h Remove default texture coords / texture matrix 2012-11-05 16:36:02 +00:00
GrEffectUnitTest.h Reland r6233 with fix. 2012-11-01 17:02:46 +00:00
GrFontScaler.h plumb SkInstCnt to all subclasses of GrRefCnt 2012-06-26 20:16:17 +00:00
GrGlyph.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
GrKey.h plumb SkInstCnt to all subclasses of GrRefCnt 2012-06-26 20:16:17 +00:00
GrNoncopyable.h Move gpu/include/* to include/gpu and gpu/src/* to src/gpu 2011-10-12 19:53:16 +00:00
GrPaint.h Replace GrMatrix with SkMatrix. 2012-11-01 18:02:54 +00:00
GrPathRendererChain.h Follow up on the previous patch : 2012-12-17 21:16:45 +00:00
GrPoint.h Remove GrScalar, replace with SkScalar. 2012-11-01 17:12:34 +00:00
GrRect.h Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
GrRefCnt.h Move gpu/include/* to include/gpu and gpu/src/* to src/gpu 2011-10-12 19:53:16 +00:00
GrRenderTarget.h Change to BDS license (as we did with all the other files that were Apache) 2012-12-13 19:24:05 +00:00
GrResource.h Rename SkTDLinkedList to SkTInternalLinked list, add some methods useful for forthcoming SkTLList. 2012-12-03 14:54:59 +00:00
GrSurface.h Make the orientation of a texture accessible from and known by GrSurface. 2012-10-26 19:01:17 +00:00
GrTBackendEffectFactory.h Add file accidentally omitted from r6182. 2012-10-29 20:02:06 +00:00
GrTextContext.h Use AutoMatrix in GrTextContext 2012-10-15 14:25:50 +00:00
GrTexture.h Reland 6914 w/ fixes. 2012-12-20 15:13:01 +00:00
GrTextureAccess.h CustomStage Renaming Part 1 2012-10-24 18:28:34 +00:00
GrTypes.h Remove GrInstanceCounter. 2013-01-02 19:57:10 +00:00
GrUserConfig.h Remove GrScalar, replace with SkScalar. 2012-11-01 17:12:34 +00:00
SkGpuDevice.h Reland 6914 w/ fixes. 2012-12-20 15:13:01 +00:00
SkGr.h Reland 6914 w/ fixes. 2012-12-20 15:13:01 +00:00
SkGrPixelRef.h Fix some extract subset bugs. 2012-12-07 19:14:45 +00:00
SkGrTexturePixelRef.h Partially rolled forward the SkGrPixelRef changes 2012-06-29 20:55:14 +00:00