skia2/tools/viewer
Florin Malita 40c37426b3 [skottie] Plumb external SkFontMgr
Allow embedders to pass a font manager.

In order to avoid excessive factory API clutter, introduce an
Animation::Builder helper to wrap factory options.

Also clean up various bits:

  * hoist scene parsing out of the Animation ctor
  * store the animation duration explicitly (instead of unused fps)
  * plumb const SkFontMgr& internally (instead of a ref)

Change-Id: I3e180dfa85ba18c8462cfeb5a7385bef985ed6c4
Reviewed-on: https://skia-review.googlesource.com/148800
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2018-08-23 13:13:30 +00:00
..
BisectSlide.cpp Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
BisectSlide.h Resurrect pathfinder in viewer and rename to "bisect" 2018-02-20 20:44:33 +00:00
GMSlide.cpp Allow slides/gms to extend the UI 2018-05-15 14:29:43 +00:00
GMSlide.h Allow slides/gms to extend the UI 2018-05-15 14:29:43 +00:00
ImageSlide.cpp Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
ImageSlide.h Simplify viewer's handling of backbuffer surface and color space 2017-02-08 17:34:05 +00:00
ImGuiLayer.cpp migrating SkTDArray towards std::vector api 2018-08-08 15:51:44 +00:00
ImGuiLayer.h Update ImGui to v1.62 (June 22, 2018) 2018-06-29 18:58:57 +00:00
NIMASlide.cpp added optimizations to speed up skinning 2018-08-15 15:52:29 +00:00
NIMASlide.h added options to enable caching and draw bounds in NIMA slide 2018-07-20 18:47:26 +00:00
SampleSlide.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
SampleSlide.h Viewer to resize Samples with window resize. 2018-08-09 21:03:11 +00:00
SkottieSlide.cpp [skottie] Plumb external SkFontMgr 2018-08-23 13:13:30 +00:00
SkottieSlide.h [skottie] Plumb external SkFontMgr 2018-08-23 13:13:30 +00:00
SKPSlide.cpp SkFontData to use smart pointers. 2016-09-16 06:24:20 -07:00
SKPSlide.h Add samples to Viewer. 2016-06-16 09:52:35 -07:00
Slide.h Viewer to resize Samples with window resize. 2018-08-09 21:03:11 +00:00
SlideDir.cpp [skottie] Optimize opacity layerization 2018-08-09 14:48:02 +00:00
SlideDir.h SlideDir focus w/ animation 2018-02-19 18:43:44 +00:00
StatsLayer.cpp Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00
StatsLayer.h Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00
SvgSlide.cpp Fix !defined(SK_XML) builds 2018-08-01 14:28:56 +00:00
SvgSlide.h Viewer SVG support 2018-04-05 16:34:22 +00:00
TouchGesture.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
TouchGesture.h Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
Viewer.cpp Fix viewer assert in onResize 2018-08-13 15:52:09 +00:00
Viewer.h Viewer to resize Samples with window resize. 2018-08-09 21:03:11 +00:00