skia2/samplecode
Matt Sarett 0122af08f6 Revert "Delete copyTo(Allocator), hide copyTo() behind flag"
This reverts commit d4a338f4d0.

Reason for revert: Looks like I missed something I was supposed to delete in Android.

Original change's description:
> Delete copyTo(Allocator), hide copyTo() behind flag
> 
> Replace uses of copyTo() in Skia.
> 
> Bug: skia:6464
> Change-Id: I921dc53a1c29a5176d18f05741f7c0b5a008e548
> Reviewed-on: https://skia-review.googlesource.com/14502
> Commit-Queue: Matt Sarett <msarett@google.com>
> Reviewed-by: Mike Reed <reed@google.com>
> 

TBR=msarett@google.com,reed@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Change-Id: I4d252940cc6a2462b030007055ea6c229471fc6e
Reviewed-on: https://skia-review.googlesource.com/14602
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
2017-04-27 20:08:45 +00:00
..
ClockFaceView.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
DecodeFile.h Make header files idempotent; script to check 2017-02-13 15:52:59 +00:00
GMSampleView.cpp add helpers for using SkData with picture serialization 2016-09-15 07:19:35 -07:00
GMSampleView.h Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
OverView.cpp Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
OverView.h
PerlinPatch.cpp hide most details of SkPatchUtils 2017-04-05 17:24:08 +00:00
Sample2PtRadial.cpp
SampleAAClip.cpp
SampleAAGeometry.cpp simplify bug 2016-12-08 20:29:37 +00:00
SampleAARectModes.cpp Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
SampleAARects.cpp
SampleAll.cpp begin to hide details of SkPathEffect 2017-02-26 18:36:11 +00:00
SampleAndroidShadows.cpp Circular shadow fixes for Flutter. 2017-04-21 15:23:53 +00:00
SampleAnimatedText.cpp Rename GrContext::getFontAtlas to getFontAtlas_ForTesting 2017-01-20 15:54:54 +00:00
SampleAnimator.cpp SkFontData to use smart pointers. 2016-09-16 06:24:20 -07:00
SampleAnimBlur.cpp
SampleApp.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
SampleApp.h Add SkThreadedBMPDevice for Threaded Raster Backend 2017-04-03 15:42:15 +00:00
SampleArc.cpp
SampleAtlas.cpp remove xfermode from public api 2016-10-28 20:06:17 +00:00
SampleBevel.cpp Viewer builds (for Windows) with GN 2016-10-18 18:53:30 +00:00
SampleBigBlur.cpp
SampleBigGradient.cpp impl clipping for GDI raster-handle 2017-01-12 20:21:39 +00:00
SampleBitmapRect.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleBlur.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
SampleCamera.cpp
SampleChart.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
SampleCircle.cpp Factor code to rotate a canvas about a point. 2016-07-12 15:01:19 -07:00
SampleClamp.cpp
SampleClip.cpp stop using SkScalarMul 2017-02-14 19:45:24 +00:00
SampleClipDrawMatch.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
SampleClock.cpp Add samples to Viewer. 2016-06-16 09:52:35 -07:00
SampleCode.cpp Misc batch->op cleanup Part 1 of 2 2016-12-21 16:45:40 +00:00
SampleCode.h Add samples to Viewer. 2016-06-16 09:52:35 -07:00
SampleColorFilter.cpp remove xfermode from public api 2016-10-28 20:06:17 +00:00
SampleComplexClip.cpp change SkClipOp to a class enum 2016-12-12 15:38:31 +00:00
SampleConcavePaths.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleDash.cpp
SampleDegenerateTwoPtRadials.cpp
SampleDither.cpp Revert "Delete copyTo(Allocator), hide copyTo() behind flag" 2017-04-27 20:08:45 +00:00
SampleDitherBitmap.cpp Revert "Delete copyTo(Allocator), hide copyTo() behind flag" 2017-04-27 20:08:45 +00:00
SampleEffects.cpp hide emboss from everyone (except android for now) 2016-12-07 19:13:32 +00:00
SampleEmboss.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleFatBits.cpp change SkClipOp to a class enum 2016-12-12 15:38:31 +00:00
SampleFillType.cpp
SampleFilter2.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleFilter.cpp Revert "Delete copyTo(Allocator), hide copyTo() behind flag" 2017-04-27 20:08:45 +00:00
SampleFilterFuzz.cpp begin to hide details of SkPathEffect 2017-02-26 18:36:11 +00:00
SampleFilterQuality.cpp
SampleFontCache.cpp
SampleFontScalerTest.cpp Factor code to rotate a canvas about a point. 2016-07-12 15:01:19 -07:00
SampleFuzz.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleGradients.cpp
SampleHairCurves.cpp
SampleHairline.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleHairModes.cpp Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
SampleHT.cpp Factor code to rotate a canvas about a point. 2016-07-12 15:01:19 -07:00
SampleIdentityScale.cpp change SkClipOp to a class enum 2016-12-12 15:38:31 +00:00
SampleLayerMask.cpp Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
SampleLayers.cpp change SkClipOp to a class enum 2016-12-12 15:38:31 +00:00
SampleLCD.cpp
SampleLighting.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
SampleLines.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleLitAtlas.cpp bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
SampleLua.cpp Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
SampleManyRects.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
SampleMeasure.cpp
SampleMegaStroke.cpp
SamplePatch.cpp move vertex-mode enum into SkVertices 2017-04-03 15:50:16 +00:00
SamplePath.cpp add fatstroke sample 2016-12-15 16:28:57 +00:00
SamplePathClip.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SamplePathEffects.cpp begin to hide details of SkPathEffect 2017-02-26 18:36:11 +00:00
SamplePathFill.cpp stop using SkScalarMul 2017-02-14 19:45:24 +00:00
SamplePathFinder.cpp Add a simple tool for isolating a path from an SKP 2017-03-27 19:19:19 +00:00
SamplePathFuzz.cpp Revert[2] "Change SkCanvas to *not* inherit from SkRefCnt" 2016-11-13 18:31:13 +00:00
SamplePathOverstroke.cpp Add cubic example and draw original path 2016-06-30 10:04:21 -07:00
SamplePathText.cpp Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
SamplePdfFileViewer.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SamplePictFile.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SamplePoints.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SamplePolyToPoly.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
SampleQuadStroker.cpp Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
SampleRectanizer.cpp
SampleRegion.cpp Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
SampleRepeatTile.cpp
SampleShaders.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
SampleShaderText.cpp
SampleShadowing.cpp made point lights linear attenuation; also fixed point light depth bug 2016-09-09 11:58:19 -07:00
SampleShip.cpp remove xfermode from public api 2016-10-28 20:06:17 +00:00
SampleSlides.cpp move vertex-mode enum into SkVertices 2017-04-03 15:50:16 +00:00
SampleStringArt.cpp
SampleStrokePath.cpp
SampleStrokeRect.cpp
SampleSubpixelTranslate.cpp
SampleSVGFile.cpp Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
SampleSVGPong.cpp [SVGDom] Expose intrinsic size info 2016-09-14 12:04:30 -07:00
SampleText.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleTextAlpha.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleTextBox.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SampleTextOnPath.cpp
SampleTextureDomain.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
SampleTiling.cpp
SampleTinyBitmap.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
SampleUnpremul.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
SampleVertices.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
SampleWritePixels.cpp
SampleXfer.cpp Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
SampleXfermodesBlur.cpp Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
vertexdump.cpp