Searched refs:MakeFromFile (Results 1 – 25 of 65) sorted by relevance
123
71 if (auto stream = SkStream::MakeFromFile(kBenchFile)) { in onPerCanvasPreDraw()123 if (auto stream = SkStream::MakeFromFile(kBenchFile)) { in onPerCanvasPreDraw()
24 if (const auto svgStream = SkStream::MakeFromFile(fPath.c_str())) { in load()
38 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in read_picture()
30 if (!fDecoder.loadStream(SkStream::MakeFromFile("/skia/ice.mp4"))) { in onOnceBeforeDraw()
69 auto stream = SkStream::MakeFromFile(path.c_str());
25 auto stream = SkStream::MakeFromFile(fPath.c_str()); in load()
15 : SKPSlide(name, SkStream::MakeFromFile(path.c_str())) { in SKPSlide()
63 auto stream = SkStream::MakeFromFile(path.c_str());
48 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(FLAGS_skps[i]); in main()
27 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw()
62 SkFont font(SkTypeface::MakeFromFile("/skimages/samplefont.ttf")); in onDrawContent()
32 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw()
71 SkFont font(SkTypeface::MakeFromFile("/skimages/samplefont.ttf")); in onDrawContent()
97 return SkStream::MakeFromFile(fPath.c_str()).release(); in onOpenStream()272 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
54 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(filename.c_str()); in load_directory_fonts()
83 return SkStream::MakeFromFile(fPathName.c_str()); in makeStream()190 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Android()454 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
98 return SkStream::MakeFromFile(fPath.c_str()); in onOpenStream()269 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
82 return SkStream::MakeFromFile(fPathName.c_str()); in makeStream()188 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Android()439 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
28 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(filename); in load()
168 static std::unique_ptr<MultiFrameSkp> MakeFromFile(const SkString& path) { in MakeFromFile() function in MultiFrameSkp170 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path.c_str()); in MakeFromFile()523 std::unique_ptr<SkStream> srcstream(SkStream::MakeFromFile(srcfile.c_str())); in main()530 mskp = MultiFrameSkp::MakeFromFile(srcfile); in main()
189 static sk_sp<Animation> MakeFromFile(const char path[]);
42 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in load_picture()