/third_party/skia/tools/ |
D | Resources.h | 25 sk_sp<SkData> GetResourceAsData(const char* resource); 28 return DecodeDataToBitmap(GetResourceAsData(resource), dst); in GetResourceAsBitmap() 32 return SkImage::MakeFromEncoded(GetResourceAsData(resource)); in GetResourceAsImage()
|
D | Resources.cpp | 40 auto data = GetResourceAsData(resource); in GetResourceAsStream() 45 sk_sp<SkData> GetResourceAsData(const char* resource) { in GetResourceAsData() function
|
/third_party/flutter/skia/tools/ |
D | Resources.h | 25 sk_sp<SkData> GetResourceAsData(const char* resource); 28 return DecodeDataToBitmap(GetResourceAsData(resource), dst); in GetResourceAsBitmap() 32 return SkImage::MakeFromEncoded(GetResourceAsData(resource)); in GetResourceAsImage()
|
D | Resources.cpp | 40 auto data = GetResourceAsData(resource); in GetResourceAsStream() 45 sk_sp<SkData> GetResourceAsData(const char* resource) { in GetResourceAsData() function
|
/third_party/flutter/skia/tests/ |
D | AndroidCodecTest.cpp | 59 auto data = GetResourceAsData(file); in DEF_TEST() 144 auto data = GetResourceAsData(path); in DEF_TEST() 173 auto data = GetResourceAsData(path); in DEF_TEST() 214 auto data = GetResourceAsData(path.c_str()); in DEF_TEST() 279 auto data = GetResourceAsData(path); in DEF_TEST()
|
D | CodecPartialTest.cpp | 127 sk_sp<SkData> file = GetResourceAsData(name); in test_partial() 160 auto file = GetResourceAsData(path); in DEF_TEST() 177 sk_sp<SkData> file = GetResourceAsData(path); in DEF_TEST() 228 sk_sp<SkData> file = GetResourceAsData(path); in DEF_TEST() 331 sk_sp<SkData> file = GetResourceAsData(name); in test_interleaved() 468 sk_sp<SkData> file = GetResourceAsData(name); in DEF_TEST() 499 sk_sp<SkData> file = GetResourceAsData(name); in DEF_TEST()
|
D | GifTest.cpp | 244 auto data = GetResourceAsData("images/test640x479.gif"); in DEF_TEST() 269 sk_sp<SkData> data(GetResourceAsData("images/test640x479.gif")); in DEF_TEST() 314 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST() 388 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST() 431 auto data = GetResourceAsData(path); in DEF_TEST()
|
D | CodecAnimTest.cpp | 35 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST() 49 sk_sp<SkData> data(GetResourceAsData("images/blendBG.webp")); in DEF_TEST() 169 sk_sp<SkData> data(GetResourceAsData(rec.fName)); in DEF_TEST() 402 sk_sp<SkData> data(GetResourceAsData(file)); in DEF_TEST() 472 auto codec = SkCodec::MakeFromData(GetResourceAsData(test.fFile)); in DEF_TEST()
|
D | AnimatedImageTest.cpp | 38 auto data = GetResourceAsData(file); in DEF_TEST() 110 auto data = GetResourceAsData(file); in DEF_TEST() 181 auto data = GetResourceAsData(file); in DEF_TEST()
|
D | ICCTest.cpp | 18 if (sk_sp<SkData> profile = GetResourceAsData("icc_profiles/AdobeRGB1998.icc")) { in DEF_TEST()
|
/third_party/skia/tests/ |
D | AnimatedImageTest.cpp | 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()
|
D | CodecPartialTest.cpp | 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()
|
D | GifTest.cpp | 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()
|
D | AndroidCodecTest.cpp | 59 auto data = GetResourceAsData(file); in DEF_TEST() 144 auto data = GetResourceAsData(path); in DEF_TEST() 173 auto data = GetResourceAsData(path); in DEF_TEST()
|
D | SkSLES2ConformanceTest.cpp | 40 sk_sp<SkData> shaderData = GetResourceAsData(testFile); in test_expect_fail() 57 sk_sp<SkData> shaderData = GetResourceAsData(testFile); in test_expect_pass()
|
D | CodecAnimTest.cpp | 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()
|
D | ICCTest.cpp | 18 if (sk_sp<SkData> profile = GetResourceAsData("icc_profiles/AdobeRGB1998.icc")) { in DEF_TEST()
|
D | CodecTest.cpp | 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()
|
D | BRDTest.cpp | 36 auto data = GetResourceAsData(rec.name); in DEF_TEST()
|
/third_party/flutter/skia/samplecode/ |
D | SampleFilter2.cpp | 31 (void)decode_file(GetResourceAsData(name), &bitmap); in onOnceBeforeDraw() 36 (void)decode_file(GetResourceAsData(name), &bitmap, kRGB_565_SkColorType); in onOnceBeforeDraw()
|
D | SampleIdentityScale.cpp | 27 if (!DecodeDataToBitmap(GetResourceAsData(imageFilename), &fBM)) { in IdentityScaleView()
|
/third_party/flutter/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 30 FakeWebFontProvider() : fFontData(GetResourceAsData(kWebFontResource)) {} in FakeWebFontProvider() 215 GetResourceAsData("images/flightAnim.gif")); in loadImageAsset()
|
/third_party/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 29 : fTypeface(SkTypeface::MakeFromData(GetResourceAsData(kWebFontResource))) {} in FakeWebFontProvider() 231 GetResourceAsData("images/flightAnim.gif")); in loadImageAsset()
|
/third_party/flutter/skia/gm/ |
D | crosscontextimage.cpp | 27 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_256.png");
|
/third_party/skia/gm/ |
D | crosscontextimage.cpp | 25 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_256.png");
|