skia2/samplecode
reed d053ce9c54 Reland of [2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.o… (patchset #1 id:1 of https://codereview.chromium.org/1821103004/ )
Reason for revert:
guard has now landed in chrome

Original issue's description:
> Revert of Revert[2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.o… (patchset #3 id:40001 of https://codereview.chromium.org/1825073002/ )
>
> Reason for revert:
> CreateModeFilter not compiling
>
> Original issue's description:
> > Revert[2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.org/1822623002/ )"
> >
> > Fixed legacy withColorFilter to call new(er) make method
> >
> > This reverts commit 1eb81db650.
> >
> > BUG=skia:
> > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1825073002
> >
> > TBR=
> >
> > Committed: https://skia.googlesource.com/skia/+/4c9776b046dd5e9e46e2d1ce35154855c8fcb381
>
> TBR=
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/d6889293dd0942f27f9593f679722c956831f2c4

TBR=
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=skia:

Review URL: https://codereview.chromium.org/1827433002
2016-03-22 10:17:23 -07:00
..
ClockFaceView.cpp guard rasterizer and drawlooper setters 2016-03-21 13:25:16 -07:00
DecodeFile.h Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
GMSampleView.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
GMSampleView.h C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
OverView.cpp Ignore backspace when appending to the filter string in SampleApp. Fixes a bug on Windows where the initial Backspace gets appended, causing no slides to match. 2016-03-04 11:59:27 -08:00
OverView.h Add a header for OverView.cpp as well. 2012-09-18 01:52:20 +00:00
PerlinPatch.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
Sample2PtRadial.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleAAClip.cpp IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
SampleAARectModes.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleAARects.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleAll.cpp Reland of [2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.o… (patchset #1 id:1 of https://codereview.chromium.org/1821103004/ ) 2016-03-22 10:17:23 -07:00
SampleAnimatedText.cpp Move texture drawing utility method to SkGpuDevice 2015-12-08 18:53:44 -08:00
SampleAnimator.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleAnimBlur.cpp C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
SampleApp.cpp sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
SampleApp.h Force tiles in SampleApp to integer boundaries. 2016-03-03 13:32:38 -08:00
SampleArc.cpp return pictures as sk_sp 2016-03-18 07:25:55 -07:00
SampleAtlas.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
SampleBigBlur.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleBigGradient.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleBitmapRect.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleBlur.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleCamera.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleChart.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleCircle.cpp IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
SampleClamp.cpp Reland of "Finish conversion to sk_sp<SkShader> (patchset #2 id:20001 of https://codereview.chromium.org/1803763002/ )" 2016-03-14 12:22:10 -07:00
SampleClip.cpp IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
SampleClipDrawMatch.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleClock.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleCode.h remove SkGPipe 2016-01-08 06:30:14 -08:00
SampleColorFilter.cpp Reland of [2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.o… (patchset #1 id:1 of https://codereview.chromium.org/1821103004/ ) 2016-03-22 10:17:23 -07:00
SampleComplexClip.cpp fix more 64bit warnings 2014-01-27 13:42:58 +00:00
SampleConcavePaths.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleDash.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleDegenerateTwoPtRadials.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleDither.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleDitherBitmap.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleDraw.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleEffects.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleEmboss.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleFatBits.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleFillType.cpp remove unused SkCullPoints 2015-12-21 18:37:16 -08:00
SampleFilter2.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleFilter.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleFilterFuzz.cpp Reland of [2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.o… (patchset #1 id:1 of https://codereview.chromium.org/1821103004/ ) 2016-03-22 10:17:23 -07:00
SampleFilterQuality.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
SampleFontCache.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleFontScalerTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleFuzz.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleGradients.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleHairCurves.cpp Change old PRG to be SkLCGRandom; change new one to SkRandom 2013-09-09 20:09:12 +00:00
SampleHairline.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleHairModes.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleHT.cpp return pictures as sk_sp 2016-03-18 07:25:55 -07:00
SampleIdentityScale.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleLayerMask.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleLayers.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleLCD.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SampleLighting.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleLines.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleLua.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleManyRects.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleMeasure.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleMegaStroke.cpp add new tests 2016-01-30 10:11:21 -08:00
SamplePatch.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SamplePath.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SamplePathClip.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SamplePathEffects.cpp guard rasterizer and drawlooper setters 2016-03-21 13:25:16 -07:00
SamplePathFill.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SamplePathFuzz.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
SamplePdfFileViewer.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SamplePictFile.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SamplePoints.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SamplePolyToPoly.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
SampleQuadStroker.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleRectanizer.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleRegion.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleRepeatTile.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleShaders.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleShaderText.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleShip.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
SampleSkLayer.cpp deprecate SkScalarRound (and its ilk), use SkScalarRound[ToInt,ToScalar]. #define SK_SUPPORT_DEPRECATED_SCALARROUND for legacy clients 2013-12-17 19:22:07 +00:00
SampleSlides.cpp guard rasterizer and drawlooper setters 2016-03-21 13:25:16 -07:00
SampleStringArt.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleStrokePath.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleStrokeRect.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SampleSubpixelTranslate.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleText.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleTextAlpha.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleTextBox.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleTextOnPath.cpp guard rasterizer and drawlooper setters 2016-03-21 13:25:16 -07:00
SampleTextureDomain.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
SampleTiling.cpp guard rasterizer and drawlooper setters 2016-03-21 13:25:16 -07:00
SampleTinyBitmap.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleUnpremul.cpp guard rasterizer and drawlooper setters 2016-03-21 13:25:16 -07:00
SampleVertices.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
SampleWritePixels.cpp remove unused SkCullPoints 2015-12-21 18:37:16 -08:00
SampleXfer.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
SampleXfermodesBlur.cpp Remove uses of SkImageDecoder from samplecode 2016-03-18 15:48:49 -07:00
vertexdump.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00