skia2/samplecode
Hal Canary 41248071ac tools: separate TimeUtils from AnimTimer
gm, slides, and samples no longer need to know about the implementation
details of AnimTimer.

This
    virtual bool onAnimate(const AnimTimer&);
becomes this:
    virtual bool onAnimate(double /*nanoseconds*/);
which is much easier to reason about.

AnimTimer itself is now part of viewer.

Change-Id: Ib70bf7a0798b1991f25204ae84f70463cdbeb358
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/226838
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2019-07-12 15:05:01 +00:00
..
DecodeFile.h Sample/Filter2View: make it work without /skimages 2019-07-08 17:05:23 +00:00
PerlinPatch.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
Sample2PtRadial.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
Sample.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
Sample.h tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleAAClip.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleAAGeometry.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleAARectModes.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleAARects.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleAndroidShadows.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleAnimatedImage.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleAnimatedText.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleAnimBlur.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleArc.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleAtlas.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleBitmapRect.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleCamera.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleCCPRGeometry.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleChart.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleChineseFling.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleCircle.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleClip.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleClipDrawMatch.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleClock.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleColorFilter.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleComplexClip.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleCowboy.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleCusp.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleDegenerateQuads.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleDegenerateTwoPtRadials.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleEffects.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleEmboss.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleFatBits.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleFillType.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleFilter2.cpp Sample/Filter2View: make it work without /skimages 2019-07-08 17:05:23 +00:00
SampleFilterQuality.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleFlutterAnimate.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleFontCache.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleGlyphTransform.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleGradients.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleHairCurves.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleHairline.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleHairModes.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleHT.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleIdentityScale.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleLayerMask.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleLayers.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleLCD.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleLighting.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleLitAtlas.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleLua.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleManyRects.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleMegaStroke.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleMixer.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleParagraph.cpp Adding locale 2019-07-09 20:55:51 +00:00
SamplePatch.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SamplePath.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SamplePathClip.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SamplePathEffects.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SamplePathOverstroke.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SamplePathText.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SamplePolyToPoly.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleQuadStroker.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleRectanizer.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleRegion.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleRepeatTile.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleSG.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleShaders.cpp Sample/Shaders: use resources; cleanup code 2019-07-08 19:31:42 +00:00
SampleShadowColor.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleShadowReference.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleShadowUtils.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleShip.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleSlides.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleStringArt.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleStrokePath.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleStrokeRect.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleSubpixelTranslate.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleSVGFile.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleTextBox.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleTextEffects.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleTextureDomain.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleThinAA.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleTiling.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleUnpremul.cpp Samples: simplify Sample::Event 2019-07-08 19:09:42 +00:00
SampleVertices.cpp ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
SampleWritePixels.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
SampleXfer.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
SampleXfermodesBlur.cpp Samples: add name() virtual 2019-07-03 17:41:16 +00:00
vertexdump.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00