skia2/samplecode
benjaminwagner f6bfccd562 Cleanups related to SkFixed.
This CL relands https://codereview.chromium.org/1683743005/ with two fixes:
  - Removing the test for vertical text. Vertical text doesn't work on Windows and breakText isn't supported for non-trivial text.
  - Omit PaintBreakTextTest in Google3 because we don't have the correct font setup yet.

Remove SK_FixedNaN. It does not seem to be supported or used anywhere in Skia, Chromium, Android, or Google3, (except accidentally by TwoPtRadial::kDontDrawT). I think supporting it would erase any benefit of SkFixed over float.

Remove SkBitmapFilter::lookup. It does not appear to be used anywhere in Skia, Chromium, Android, or Google3.

Fix a bug in SkPaint::breakText that limited it to ~5kB of text. Now it can handle more than 1GB.

BUG=skia:4632
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1683743005

Committed: https://skia.googlesource.com/skia/+/7ea5cb18389db11a94175de95c9db2b44972630c

patch from issue 1683743005 at patchset 120001 (http://crrev.com/1683743005#ps120001)

Review URL: https://codereview.chromium.org/1739453002
2016-02-25 10:28:11 -08:00
..
ClockFaceView.cpp Forward declare SkStrokeRec in SkPathEffect 2015-09-15 12:53:07 -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 Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
OverView.h Add a header for OverView.cpp as well. 2012-09-18 01:52:20 +00:00
PerlinPatch.cpp make SkComposeShader.h private 2016-02-15 08:27:14 -08:00
Sample2PtRadial.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleAAClip.cpp IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
SampleAARectModes.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleAARects.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleAll.cpp make SkComposeShader.h private 2016-02-15 08:27:14 -08: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 Implement support for using GL ES 3.0 with command buffer 2016-02-25 02:03:43 -08:00
SampleApp.h Implement support for using GL ES 3.0 with command buffer 2016-02-25 02:03:43 -08:00
SampleArc.cpp make SkComposeShader.h private 2016-02-15 08:27:14 -08:00
SampleAtlas.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleBigBlur.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleBigGradient.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleBitmapRect.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleBlur.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleCamera.cpp Fix up -Winconsistent-missing-override 2015-07-13 06:18:39 -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 Style Change: NULL->nullptr 2015-08-27 07:41:16 -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 s/sk_tools::DrawCheckerboard/sk_tool_utils::draw_checkerboard/ 2015-01-26 12:49:00 -08:00
SampleComplexClip.cpp fix more 64bit warnings 2014-01-27 13:42:58 +00:00
SampleConcavePaths.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleDash.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleDegenerateTwoPtRadials.cpp C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
SampleDither.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleDitherBitmap.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleDraw.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleEffects.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleEmboss.cpp remove unused Kernel33MaskFilter 2014-05-12 13:35:55 +00:00
SampleFatBits.cpp add caps option 'k' to FatBits 2015-11-16 18:57:19 -08:00
SampleFillType.cpp remove unused SkCullPoints 2015-12-21 18:37:16 -08:00
SampleFilter2.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleFilter.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleFilterFuzz.cpp fix misc asserts and checks found by fuzzer 2016-02-22 12:50:26 -08:00
SampleFilterQuality.cpp Missing resources crash SampleFilterQuality. 2015-11-10 13:29:44 -08: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 Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleHairCurves.cpp Change old PRG to be SkLCGRandom; change new one to SkRandom 2013-09-09 20:09:12 +00:00
SampleHairline.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleHairModes.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleHT.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleIdentityScale.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleLayerMask.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleLayers.cpp Revert[2] of "add backdrop option to SaveLayerRec" 2016-01-07 11:28:08 -08:00
SampleLCD.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SampleLighting.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleLines.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -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 change factory to method, to parallel pattern in imagefilters. no functionality change. 2015-12-30 13:39:41 -08:00
SamplePath.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SamplePathClip.cpp EdgeClip demo to show scan-converter clipping behavior 2015-09-28 06:16:07 -07:00
SamplePathEffects.cpp Remove SkLerpXfermode 2016-01-25 14:19:56 -08: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 Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SamplePictFile.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SamplePoints.cpp remove unused Kernel33MaskFilter 2014-05-12 13:35:55 +00:00
SamplePolyToPoly.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
SampleQuadStroker.cpp replace arcto quads with a conic 2016-01-20 11:55:11 -08:00
SampleRectanizer.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleRegion.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleRepeatTile.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleShaders.cpp make SkComposeShader.h private 2016-02-15 08:27:14 -08:00
SampleShaderText.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleShip.cpp Add text animation sample; tweak DrawShip sample 2015-11-08 08:07:24 -08: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 Style Change: NULL->nullptr 2015-08-27 07:41: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 Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleText.cpp Cleanups related to SkFixed. 2016-02-25 10:28:11 -08:00
SampleTextAlpha.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleTextBox.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SampleTextOnPath.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleTextureDomain.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleTiling.cpp Reland of change all factories to return their base-class (patchset #1 id:1 of https://codereview.chromium.org/1540203002/ ) 2015-12-21 08:52:45 -08:00
SampleTinyBitmap.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleUnpremul.cpp Reland of change all factories to return their base-class (patchset #1 id:1 of https://codereview.chromium.org/1540203002/ ) 2015-12-21 08:52:45 -08:00
SampleVertices.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SampleWritePixels.cpp remove unused SkCullPoints 2015-12-21 18:37:16 -08:00
SampleXfer.cpp add interactive xfer sample 2015-09-02 19:05:10 -07:00
SampleXfermodesBlur.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
vertexdump.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00