From fc043dcd552d293fc4d0da61562e3a7b755a640a Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Sun, 31 Dec 2017 11:08:42 -0500 Subject: [skotty] Add Json DM source Generates a filmstrip with evenly distributed frames for a Skotty animation. TBR= Change-Id: Ia89e0d65d59fd5ab4ef221a231e9b3e0c033828a Reviewed-on: https://skia-review.googlesource.com/90025 Reviewed-by: Florin Malita Commit-Queue: Florin Malita --- tools/flags/SkCommonFlags.cpp | 2 ++ tools/flags/SkCommonFlags.h | 1 + 2 files changed, 3 insertions(+) (limited to 'tools/flags') diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp index cd1e47fb77..dd3a855d3f 100644 --- a/tools/flags/SkCommonFlags.cpp +++ b/tools/flags/SkCommonFlags.cpp @@ -52,6 +52,8 @@ DEFINE_bool(releaseAndAbandonGpuContext, false, DEFINE_string(skps, "skps", "Directory to read skps from."); +DEFINE_string(jsons, "", "Directory to read Bodymovin JSONs from, or a single JSON file."); + DEFINE_string(svgs, "", "Directory to read SVGs from, or a single SVG file."); DEFINE_int32_2(threads, j, -1, "Run threadsafe tests on a threadpool with this many extra threads, " diff --git a/tools/flags/SkCommonFlags.h b/tools/flags/SkCommonFlags.h index 62d0477292..a3eb001100 100644 --- a/tools/flags/SkCommonFlags.h +++ b/tools/flags/SkCommonFlags.h @@ -25,6 +25,7 @@ DECLARE_bool(abandonGpuContext); DECLARE_bool(releaseAndAbandonGpuContext); DECLARE_string(skps); DECLARE_bool(ddl); +DECLARE_string(jsons); DECLARE_string(svgs); DECLARE_int32(threads); DECLARE_string(resourcePath); -- cgit v1.2.3