Home | History | Annotate | Download | only in gm

Lines Matching full:path

47 static SkString make_filename(const char path[], const SkString& name) {
48 SkString filename(path);
69 static bool write_bitmap(const SkString& path, const SkBitmap& bitmap) {
73 return SkImageEncoder::EncodeFile(path.c_str(), copy,
163 SkString path = make_filename(writePath, name);
164 bool success = write_bitmap(path, bitmap);
166 fprintf(stderr, "FAILED to write %s\n", path.c_str());
169 SkString path = make_filename(readPath, name);
171 bool success = SkImageDecoder::DecodeFile(path.c_str(), &orig,
177 fprintf(stderr, "FAILED to read %s\n", path.c_str());