/external/skqp/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
|
/external/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
|
/external/skia/tests/ |
D | ICCTest.cpp | 42 sk_sp<SkData> data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 51 data = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 55 data = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 59 data = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST() 84 sk_sp<SkData> data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 88 data = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 92 data = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 96 data = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST() 104 sk_sp<SkData> data = GetResourceAsData("icc_profiles/AdobeRGB1998.icc"); in DEF_TEST()
|
D | ColorSpaceTest.cpp | 199 sk_sp<SkData> monitorData = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 201 monitorData = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 203 monitorData = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 205 monitorData = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST() 222 sk_sp<SkData> data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 224 data = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 226 data = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 228 data = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST() 373 sk_sp<SkData> data = GetResourceAsData("icc_profiles/SM2333SW.icc"); in DEF_TEST() 381 data = GetResourceAsData("icc_profiles/invalid_color_lut.icc"); in DEF_TEST()
|
D | ImageIsOpaqueTest.cpp | 42 sk_sp<SkData> data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 44 data = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 46 data = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 48 data = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST()
|
D | CodecPartialTest.cpp | 54 sk_sp<SkData> file = GetResourceAsData(name); in test_partial() 148 sk_sp<SkData> file = GetResourceAsData(path); in DEF_TEST() 193 sk_sp<SkData> file = GetResourceAsData(path); in DEF_TEST() 289 sk_sp<SkData> file = GetResourceAsData(name); in test_interleaved() 405 sk_sp<SkData> file = GetResourceAsData(name); in DEF_TEST() 436 sk_sp<SkData> file = GetResourceAsData(name); in DEF_TEST()
|
D | CodecAnimTest.cpp | 22 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST() 33 sk_sp<SkData> data(GetResourceAsData("images/blendBG.webp")); in DEF_TEST() 154 sk_sp<SkData> data(GetResourceAsData(rec.fName)); in DEF_TEST() 386 sk_sp<SkData> data(GetResourceAsData(file)); in DEF_TEST()
|
D | GifTest.cpp | 228 auto data = GetResourceAsData("images/test640x479.gif"); in DEF_TEST() 253 sk_sp<SkData> data(GetResourceAsData("images/test640x479.gif")); in DEF_TEST() 265 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST()
|
D | AnimatedImageTest.cpp | 37 auto data = GetResourceAsData(file); in DEF_TEST() 109 auto data = GetResourceAsData(file); in DEF_TEST() 180 auto data = GetResourceAsData(file); in DEF_TEST()
|
D | AndroidCodecTest.cpp | 55 auto data = GetResourceAsData(file); in DEF_TEST() 142 auto data = GetResourceAsData(path.c_str()); in DEF_TEST()
|
D | CodecExactReadTest.cpp | 55 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST()
|
/external/skqp/tests/ |
D | ICCTest.cpp | 42 sk_sp<SkData> data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 51 data = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 55 data = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 59 data = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST() 84 sk_sp<SkData> data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 88 data = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 92 data = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 96 data = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST() 104 sk_sp<SkData> data = GetResourceAsData("icc_profiles/AdobeRGB1998.icc"); in DEF_TEST()
|
D | ColorSpaceTest.cpp | 199 sk_sp<SkData> monitorData = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 201 monitorData = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 203 monitorData = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 205 monitorData = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST() 222 sk_sp<SkData> data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 224 data = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 226 data = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 228 data = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST() 373 sk_sp<SkData> data = GetResourceAsData("icc_profiles/SM2333SW.icc"); in DEF_TEST() 381 data = GetResourceAsData("icc_profiles/invalid_color_lut.icc"); in DEF_TEST()
|
D | ImageIsOpaqueTest.cpp | 42 sk_sp<SkData> data = GetResourceAsData("icc_profiles/HP_ZR30w.icc"); in DEF_TEST() 44 data = GetResourceAsData("icc_profiles/HP_Z32x.icc"); in DEF_TEST() 46 data = GetResourceAsData("icc_profiles/upperLeft.icc"); in DEF_TEST() 48 data = GetResourceAsData("icc_profiles/upperRight.icc"); in DEF_TEST()
|
D | CodecPartialTest.cpp | 54 sk_sp<SkData> file = GetResourceAsData(name); in test_partial() 148 sk_sp<SkData> file = GetResourceAsData(path); in DEF_TEST() 193 sk_sp<SkData> file = GetResourceAsData(path); in DEF_TEST() 289 sk_sp<SkData> file = GetResourceAsData(name); in test_interleaved() 405 sk_sp<SkData> file = GetResourceAsData(name); in DEF_TEST() 436 sk_sp<SkData> file = GetResourceAsData(name); in DEF_TEST()
|
D | CodecAnimTest.cpp | 22 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST() 33 sk_sp<SkData> data(GetResourceAsData("images/blendBG.webp")); in DEF_TEST() 154 sk_sp<SkData> data(GetResourceAsData(rec.fName)); in DEF_TEST() 386 sk_sp<SkData> data(GetResourceAsData(file)); in DEF_TEST()
|
D | GifTest.cpp | 228 auto data = GetResourceAsData("images/test640x479.gif"); in DEF_TEST() 253 sk_sp<SkData> data(GetResourceAsData("images/test640x479.gif")); in DEF_TEST() 265 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST()
|
D | AndroidCodecTest.cpp | 44 auto data = GetResourceAsData(file); in DEF_TEST() 131 auto data = GetResourceAsData(path.c_str()); in DEF_TEST()
|
D | CodecExactReadTest.cpp | 55 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST()
|
/external/skia/samplecode/ |
D | SampleIdentityScale.cpp | 28 if (!DecodeDataToBitmap(GetResourceAsData(imageFilename), &fBM)) { in IdentityScaleView()
|
/external/skqp/samplecode/ |
D | SampleIdentityScale.cpp | 28 if (!DecodeDataToBitmap(GetResourceAsData(imageFilename), &fBM)) { in IdentityScaleView()
|
/external/skia/gm/ |
D | crosscontextimage.cpp | 22 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_512.png");
|
/external/skqp/gm/ |
D | crosscontextimage.cpp | 22 sk_sp<SkData> encodedData = GetResourceAsData("images/mandrill_512.png");
|