Lines Matching refs:fPath
120 : fPath(path) in BRDSrc()
167 std::unique_ptr<SkBitmapRegionDecoder> brd(create_brd(fPath)); in draw()
169 return Error::Nonfatal(SkStringPrintf("Could not create brd for %s.", fPath.c_str())); in draw()
271 std::unique_ptr<SkBitmapRegionDecoder> brd(create_brd(fPath)); in size()
287 return SkOSPath::Basename(fPath.c_str()); in name()
289 return get_scaled_name(fPath, 1.0f / (float) fSampleSize); in name()
315 : fPath(path) in CodecSrc()
393 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()
395 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
400 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str()); in draw()
444 return SkStringPrintf("%s is not an animated image.", fPath.c_str()); in draw()
504 "Cannot decode frame %i to 565 (%s).", i, fPath.c_str())); in draw()
509 i, fPath.c_str()); in draw()
525 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str()); in draw()
537 if (fPath.endsWith(ext)) { in draw()
545 const bool ico = fPath.endsWith("ico"); in draw()
666 fPath.c_str(), W, H)); in draw()
707 fPath.c_str(), W, H, result); in draw()
728 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()
750 Name name = SkOSPath::Basename(fPath.c_str()); in name()
757 return get_scaled_name(fPath, fScale); in name()
764 : fPath(path) in AndroidCodecSrc()
778 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()
780 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
784 return SkStringPrintf("Couldn't create android codec for %s.", fPath.c_str()); in draw()
825 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str()); in draw()
832 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()
844 return SkOSPath::Basename(fPath.c_str()); in name()
846 return get_scaled_name(fPath, 1.0f / (float) fSampleSize); in name()
852 : fPath(path) in ImageGenSrc()
874 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()
876 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
929 SkStringPrintf("Image generator could not getPixels() for %s\n", fPath.c_str()); in draw()
948 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()
957 return SkOSPath::Basename(fPath.c_str()); in name()
962 ColorCodecSrc::ColorCodecSrc(Path path, bool decode_to_dst) : fPath(path) in ColorCodecSrc()
971 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()
973 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
978 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str()); in draw()
990 fPath.c_str(), info.width(), info.height()); in draw()
1003 return SkStringPrintf("Couldn't getPixels %s. Error code %d", fPath.c_str(), r); in draw()
1008 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()
1017 return SkOSPath::Basename(fPath.c_str()); in name()
1022 SKPSrc::SKPSrc(Path path) : fPath(path) { } in SKPSrc()
1025 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(fPath.c_str()); in draw()
1027 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
1031 return SkStringPrintf("Couldn't parse file %s.", fPath.c_str()); in draw()
1053 SkRect viewport = get_cull_rect_for_skp(fPath.c_str()); in size()
1060 Name SKPSrc::name() const { return SkOSPath::Basename(fPath.c_str()); } in name()
1068 SkPath fPath; in draw() member
1108 canvas->drawPath(path.fPath, path.fPaint); in draw()
1117 SkottieSrc::SkottieSrc(Path path) : fPath(std::move(path)) {} in SkottieSrc()
1122 skottie_utils::FileResourceProvider::Make(SkOSPath::Dirname(fPath.c_str()))) in draw()
1123 .makeFromFile(fPath.c_str()); in draw()
1125 return SkStringPrintf("Unable to parse file: %s", fPath.c_str()); in draw()
1165 Name SkottieSrc::name() const { return SkOSPath::Basename(fPath.c_str()); } in name()
1245 MSKPSrc::MSKPSrc(Path path) : fPath(path) { in MSKPSrc()
1246 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath.c_str()); in MSKPSrc()
1264 return SkStringPrintf("Unable to parse MultiPictureDocument file: %s", fPath.c_str()); in draw()
1271 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath.c_str()); in draw()
1273 return SkStringPrintf("Unable to open file: %s", fPath.c_str()); in draw()
1277 fPath.c_str()); in draw()
1285 Name MSKPSrc::name() const { return SkOSPath::Basename(fPath.c_str()); } in name()