skia2/samplecode
Chris Dalton 09a7bb2221 Reland "ccpr: Implement stroking with fine triangle strips"
This is a reland of 2f2757fa6b

Original change's description:
> ccpr: Implement stroking with fine triangle strips
>
> Implements strokes by linearizing the curve into fine triangle strips
> and interpolating a coverage ramp for edge AA. Each triangle in the
> strip emits either positive or negative coverage, depending on its
> winding direction. Joins and caps are drawn with the existing CCPR
> shaders for triangles and conics.
>
> Conic strokes and non-rigid-body transforms are not yet supported.
>
> Bug: skia:
> Change-Id: I45a819abd64e91c2b62e992587eb85c703e09e77
> Reviewed-on: https://skia-review.googlesource.com/148243
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Reviewed-by: Allan MacKinnon <allanmac@google.com>

TBR=robertphillips@google.com

Bug: skia:
Change-Id: I3f0065e80975ee8334300bc5e934231b66b49178
Reviewed-on: https://skia-review.googlesource.com/151188
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
2018-09-03 10:16:28 +00:00
..
DecodeFile.h use unique_ptr for codec factories 2017-07-25 15:35:23 +00:00
PerlinPatch.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
Sample2PtRadial.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
Sample.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
Sample.h Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleAAClip.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleAAGeometry.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleAARectModes.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleAARects.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleAll.cpp textonpath no longer in canvas 2018-08-29 14:04:45 +00:00
SampleAndroidShadows.cpp Simplify perspective shadows to match future MD specs. 2018-08-31 18:15:19 +00:00
SampleAnimatedImage.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleAnimatedText.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleAnimBlur.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleArc.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleAtlas.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleBigBlur.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleBigGradient.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleBitmapRect.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleBlur.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleCamera.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleCCPRGeometry.cpp Reland "ccpr: Implement stroking with fine triangle strips" 2018-09-03 10:16:28 +00:00
SampleChart.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleChineseFling.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleCircle.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleClamp.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleClip.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleClipDrawMatch.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleClock.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleColorFilter.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleComplexClip.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleConcavePaths.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleCowboy.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleCusp.cpp add circles to stroked cubics with cusps 2018-08-31 19:55:44 +00:00
SampleDash.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleDegenerateTwoPtRadials.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleDither.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleEffects.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleEmboss.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleFatBits.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleFillType.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleFilter2.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleFilterFuzz.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleFilterQuality.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleFlutterAnimate.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleFontCache.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleFontScalerTest.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleFuzz.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleGlyphTransform.cpp Beautify GlyphTransform sample. 2018-08-16 14:17:46 +00:00
SampleGradients.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleHairCurves.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleHairline.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleHairModes.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleHT.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleIdentityScale.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleLayerMask.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleLayers.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleLCD.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleLighting.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleLines.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleLitAtlas.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleLua.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleManyRects.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleMeasure.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleMegaStroke.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleNima.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleNimaActor.cpp renamed samplecode/Nima to samplecode/SampleNimaActor 2018-06-22 20:36:17 +00:00
SampleNimaActor.h renamed samplecode/Nima to samplecode/SampleNimaActor 2018-06-22 20:36:17 +00:00
SamplePatch.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SamplePath.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SamplePathClip.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SamplePathEffects.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SamplePathFill.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SamplePathFuzz.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SamplePathOverstroke.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SamplePathText.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SamplePdfFileViewer.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SamplePoints.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SamplePolyToPoly.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleQuadStroker.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleRectanizer.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleRegion.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleRepeatTile.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleShaders.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleShadowColor.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleShadowReference.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleShadowUtils.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleShip.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleSlides.cpp textonpath no longer in canvas 2018-08-29 14:04:45 +00:00
SampleStringArt.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleStrokePath.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleStrokeRect.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleSubpixelTranslate.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleSVGFile.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleText.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleTextAlpha.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleTextBox.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleTextEffects.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleTextureDomain.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleTiling.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleUnpremul.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleVertices.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleWritePixels.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
SampleXfer.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleXfermodesBlur.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
vertexdump.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00