skia2/samplecode
caryclark 5fb6bd4b7e use platform-independent font for gm
Create a custom typeface and scaler to render simple paths the
same on all platforms.

GM tests are modified to explicitly select the custom typeface.

R=reed@google.com, mtklein@google.com, bungeman@google.com
TBR=reed

Author: caryclark@google.com

Review URL: https://codereview.chromium.org/348323003
2014-06-23 11:25:00 -07:00
..
ClockFaceView.cpp Builder class for SkLayerRasterizer. 2014-02-26 13:27:37 +00:00
GMSampleView.h DM: also run benches once. 2014-02-26 23:01:57 +00:00
OverView.cpp
OverView.h
Sample2PtRadial.cpp
SampleAAClip.cpp replace SkBitmap::Config with SkColorType in gms 2014-02-17 21:21:46 +00:00
SampleAARectModes.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
SampleAARects.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleAll.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
SampleAnimatedGradient.cpp
SampleAnimator.cpp
SampleAnimBlur.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleApp.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07:00
SampleApp.h Port SampleApp to SkCommandLineFlags. 2014-06-19 14:18:56 -07:00
SampleArc.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
SampleAvoid.cpp Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SampleBigBlur.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleBigGradient.cpp
SampleBitmapRect.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleBlur.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleBox.cpp
SampleCamera.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
SampleChart.cpp
SampleCircle.cpp add peekPixels to SkCanvas and SkSurface 2014-02-13 17:14:46 +00:00
SampleClamp.cpp
SampleClip.cpp
SampleClock.cpp
SampleCode.h remove SkBounder -- unused and unloved 2014-06-03 10:54:00 -07:00
SampleColorFilter.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
SampleComplexClip.cpp fix more 64bit warnings 2014-01-27 13:42:58 +00:00
SampleConcavePaths.cpp
SampleCull.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
SampleDash.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
SampleDegenerateTwoPtRadials.cpp remove remaining references to Sk64 (obsolete) 2014-01-13 14:53:55 +00:00
SampleDither.cpp add new copyTo version to SkBitmap, which takes SkColorType 2014-02-23 03:59:35 +00:00
SampleDitherBitmap.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
SampleDraw.cpp
SampleEffects.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleEmboss.cpp remove unused Kernel33MaskFilter 2014-05-12 13:35:55 +00:00
SampleEmptyPath.cpp Clean up SkTypes.h. 2013-10-11 18:50:45 +00:00
SampleEncode.cpp hide discardable factory from public imagegenerator api 2014-05-27 14:14:22 +00:00
SampleFatBits.cpp re-land hide get/setLocalMatrix 2014-05-12 20:42:21 +00:00
SampleFillType.cpp
SampleFilter2.cpp hide Config in SkImageDecoder -- use SkColorType instead 2014-06-12 17:40:00 -07:00
SampleFilter.cpp hide SkBitmap::Config entirely (behind a flag) 2014-06-17 08:38:31 -07:00
SampleFilterFuzz.cpp Allow SkPictureImageFilter to be serialized when not run cross-process. 2014-05-30 20:50:56 +00:00
SampleFontCache.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleFontScalerTest.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
SampleFuzz.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleGradients.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
SampleHairCurves.cpp
SampleHairline.cpp Revert "Revert of add colortable support to imagegenerator (https://codereview.chromium.org/304443003/)" 2014-05-29 15:57:20 +00:00
SampleHairModes.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
SampleLayerMask.cpp Reduce internal explicit SaveFlags usage. 2014-04-18 14:19:31 +00:00
SampleLayers.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
SampleLCD.cpp
SampleLines.cpp remove unused Kernel33MaskFilter 2014-05-12 13:35:55 +00:00
SampleLua.cpp
SampleManyRects.cpp
SampleMeasure.cpp
SampleMipMap.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleMovie.cpp
SampleOvalTest.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SamplePatch.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
SamplePath.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SamplePathClip.cpp
SamplePathEffects.cpp Builder class for SkLayerRasterizer. 2014-02-26 13:27:37 +00:00
SamplePathFill.cpp
SamplePathUtils.cpp Factory methods for heap-allocated SkPathEffect and SkXfermode objects. 2014-02-20 20:40:19 +00:00
SamplePdfFileViewer.cpp remove remaining references to Sk64 (obsolete) 2014-01-13 14:53:55 +00:00
SamplePictFile.cpp Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) 2014-06-04 05:40:44 -07:00
SamplePicture.cpp Refactor how we handle resources path in Tests. 2014-06-18 14:32:49 -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
SampleRectanizer.cpp Move GrIPoint16 to SkIPoint16 (and remove GrPoint.h) 2014-06-02 10:20:15 -07:00
SampleRegion.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleRepeatTile.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleRotateCircles.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleShaders.cpp
SampleShaderText.cpp remove unneeded inval 2014-06-02 14:41:24 -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 Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
SampleSpiral.cpp
SampleStringArt.cpp
SampleStrokePath.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleStrokeRect.cpp
SampleSubpixelTranslate.cpp Refactor how we handle resources path in Tests. 2014-06-18 14:32:49 -07:00
SampleText.cpp remove unused Kernel33MaskFilter 2014-05-12 13:35:55 +00:00
SampleTextAlpha.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleTextBox.cpp
SampleTextOnPath.cpp Make sure SkDrawLooper objects can only be allocated on the heap. 2014-04-15 15:48:36 +00:00
SampleTextureDomain.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
SampleTiling.cpp Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) 2014-06-04 05:40:44 -07:00
SampleTinyBitmap.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleUnpremul.cpp Refactor how we handle resources path in Tests. 2014-06-18 14:32:49 -07:00
SampleVertices.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
SampleWarp.cpp
SampleWritePixels.cpp use SkColorType instead of SkBitmap::Config in samplecode 2014-02-17 02:55:57 +00:00
SampleXfermodesBlur.cpp Revert "Revert of add colortable support to imagegenerator (https://codereview.chromium.org/304443003/)" 2014-05-29 15:57:20 +00:00
TransitionView.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
TransitionView.h
vertexdump.cpp remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00