Lines Matching refs:skiagm
146 static void init(Source* source, std::shared_ptr<skiagm::GM> gm) { in init()
154 case skiagm::DrawResult::kOk : break; in init()
155 case skiagm::DrawResult::kSkip: return skip; in init()
156 case skiagm::DrawResult::kFail: return fail(err.c_str()); in init()
160 case skiagm::DrawResult::kOk: break; in init()
161 case skiagm::DrawResult::kSkip: return skip; in init()
162 case skiagm::DrawResult::kFail: return fail(err.c_str()); in init()
408 SkTHashMap<SkString, skiagm::GMFactory> gm_factories; in main()
409 for (skiagm::GMFactory factory : skiagm::GMRegistry::Range()) { in main()
410 std::unique_ptr<skiagm::GM> gm{factory()}; in main()
446 if (skiagm::GMFactory* factory = gm_factories.find(name)) { in main()
447 std::shared_ptr<skiagm::GM> gm{(*factory)()}; in main()