Lines Matching refs:path
158 static SkString get_scaled_name(const Path& path, float scale) {
159 return SkStringPrintf("%s_%.3f", SkOSPath::Basename(path.c_str()).c_str(), scale);
163 BRDSrc::BRDSrc(Path path, Mode mode, CodecSrc::DstColorType dstColorType, uint32_t sampleSize)
164 : fPath(path)
176 static std::unique_ptr<android::skia::BitmapRegionDecoder> create_brd(Path path) {
177 sk_sp<SkData> encoded(SkData::MakeFromFileName(path.c_str()));
335 static bool serial_from_path_name(const SkString& path) {
341 const char* actualExt = strrchr(path.c_str(), '.');
354 CodecSrc::CodecSrc(Path path, Mode mode, DstColorType dstColorType, SkAlphaType dstAlphaType,
356 : fPath(path)
361 , fRunSerially(serial_from_path_name(path))
824 AndroidCodecSrc::AndroidCodecSrc(Path path, CodecSrc::DstColorType dstColorType,
826 : fPath(path)
830 , fRunSerially(serial_from_path_name(path))
913 ImageGenSrc::ImageGenSrc(Path path, Mode mode, SkAlphaType alphaType, bool isGpu)
914 : fPath(path)
918 , fRunSerially(serial_from_path_name(path))
975 // Test deferred decoding path on GPU
1023 ColorCodecSrc::ColorCodecSrc(Path path, bool decode_to_dst) : fPath(path)
1089 SKPSrc::SKPSrc(Path path) : fPath(path) { }
1106 static SkRect get_cull_rect_for_skp(const char* path) {
1107 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path);
1131 BisectSrc::BisectSrc(Path path, const char* trail) : INHERITED(path), fTrail(trail) {}
1147 void onDrawPath(const SkPath& path, const SkPaint& paint) override {
1148 fFoundPaths.push_back() = {path, paint, this->getTotalMatrix()};
1172 const FoundPath& path = pathFinder.foundPaths()[i];
1174 canvas->concat(path.fViewMatrix);
1175 canvas->drawPath(path.fPath, path.fPaint);
1187 SkottieSrc::SkottieSrc(Path path) : fPath(std::move(path)) {}
1263 SkRiveSrc::SkRiveSrc(Path path) : fPath(std::move(path)) {}
1324 SVGSrc::SVGSrc(Path path)
1325 : fName(SkOSPath::Basename(path.c_str()))
1328 auto stream = SkStream::MakeFromFile(path.c_str());
1334 skresources::FileResourceProvider::Make(SkOSPath::Dirname(path.c_str()),
1389 MSKPSrc::MSKPSrc(Path path) : fPath(path) {
1612 // Also, force us to only use the software path renderer, so we really stress-test the threaded