Searched refs:GetResourceAsData (Results 1 – 25 of 40) sorted by relevance
12
25 sk_sp<SkData> GetResourceAsData(const char* resource);28 return DecodeDataToBitmap(GetResourceAsData(resource), dst); in GetResourceAsBitmap()32 return SkImage::MakeFromEncoded(GetResourceAsData(resource)); in GetResourceAsImage()
40 auto data = GetResourceAsData(resource); in GetResourceAsStream()45 sk_sp<SkData> GetResourceAsData(const char* resource) { in GetResourceAsData() function
38 auto data = GetResourceAsData(file); in DEF_TEST()64 auto data = GetResourceAsData(file); in DEF_TEST()92 auto data = GetResourceAsData(file); in DEF_TEST()152 auto data = GetResourceAsData(file); in DEF_TEST()224 auto data = GetResourceAsData(file); in DEF_TEST()295 auto data = GetResourceAsData(file); in DEF_TEST()
126 sk_sp<SkData> file = GetResourceAsData(name); in test_partial()159 auto file = GetResourceAsData(path); in DEF_TEST()176 sk_sp<SkData> file = GetResourceAsData(path); in DEF_TEST()227 sk_sp<SkData> file = GetResourceAsData(path); in DEF_TEST()330 sk_sp<SkData> file = GetResourceAsData(name); in test_interleaved()467 sk_sp<SkData> file = GetResourceAsData(name); in DEF_TEST()498 sk_sp<SkData> file = GetResourceAsData(name); in DEF_TEST()
290 auto data = GetResourceAsData("images/test640x479.gif"); in DEF_TEST()315 sk_sp<SkData> data(GetResourceAsData("images/test640x479.gif")); in DEF_TEST()360 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST()434 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST()477 auto data = GetResourceAsData(path); in DEF_TEST()521 auto data = GetResourceAsData(path); in DEF_TEST()614 auto data = GetResourceAsData(path); in DEF_TEST()
59 auto data = GetResourceAsData(file); in DEF_TEST()144 auto data = GetResourceAsData(path); in DEF_TEST()173 auto data = GetResourceAsData(path); in DEF_TEST()
40 sk_sp<SkData> shaderData = GetResourceAsData(testFile); in test_expect_fail()57 sk_sp<SkData> shaderData = GetResourceAsData(testFile); in test_expect_pass()
34 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST()48 sk_sp<SkData> data(GetResourceAsData("images/blendBG.webp")); in DEF_TEST()247 sk_sp<SkData> data(GetResourceAsData(rec.fName)); in DEF_TEST()489 sk_sp<SkData> data(GetResourceAsData(file)); in test_animated_AndroidCodec()593 auto codec = SkCodec::MakeFromData(GetResourceAsData(test.fFile)); in DEF_TEST()
18 if (sk_sp<SkData> profile = GetResourceAsData("icc_profiles/AdobeRGB1998.icc")) { in DEF_TEST()
36 auto data = GetResourceAsData(rec.name); in DEF_TEST()
696 auto data = GetResourceAsData(path); in test_invalid()923 sk_sp<SkData> data(GetResourceAsData(path)); in DEF_TEST()941 auto data = GetResourceAsData(path); in DEF_TEST()1017 sk_sp<SkData> data(GetResourceAsData(path)); in DEF_TEST()1452 auto data = GetResourceAsData(path); in test_invalid_header()1636 sk_sp<SkData> data(GetResourceAsData(path)); in DEF_TEST()1745 auto data = GetResourceAsData(file); in DEF_TEST()1781 auto data = GetResourceAsData(file); in DEF_TEST()1831 auto data = GetResourceAsData(path); in DEF_TEST()1855 auto data = GetResourceAsData(rec.name); in DEF_TEST()
16 auto codec = SkCodec::MakeFromData(GetResourceAsData(path)); in DEF_TEST()
59 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST()
120 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST()153 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST()
29 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider()231 GetResourceAsData("images/flightAnim.gif")); in loadImageAsset()
29 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider()
25 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_256.png");
31 auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(GetResourceAsData("images/ducky.jpg"),
45 auto jsonData = GetResourceAsData(SkStringPrintf("particles/%s.json", fName).c_str()); in onOnceBeforeDraw()
53 sk_sp<SkData> data = GetResourceAsData(resource); in make()
29 void onDelayedSetup() override { fData = GetResourceAsData(fResource); } in onDelayedSetup()
44 auto data = GetResourceAsData(fResource); in onOnceBeforeDraw()
82 sk_sp<SkData> file(GetResourceAsData("images/alphabetAnim.gif")); in onOnceBeforeDraw()
24 fData = GetResourceAsData(fResource); in onDelayedSetup()
28 fData = GetResourceAsData(fSource); in onDelayedSetup()