8#ifndef skdiff_utils_DEFINED
9#define skdiff_utils_DEFINED
29 bool ignoreColorSpace);
49 const int colorThreshold,
static SkString resource(SkPDFResourceType type, int index)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
SkPMColor(* DiffMetricProc)(SkPMColor, SkPMColor)
Parameterized routine to compute the color of a pixel in a difference image.
SkString filename_to_white_filename(const SkString &filename)
bool are_buffers_equal(SkData *skdata1, SkData *skdata2)
void create_and_write_diff_image(DiffRecord *drp, DiffMetricProc dmp, const int colorThreshold, const SkString &outputDir, const SkString &filename)
SkString filename_to_diff_filename(const SkString &filename)
sk_sp< SkData > read_file(const char *file_path)
bool write_bitmap(const SkString &path, const SkBitmap &bitmap)
bool get_bitmap(sk_sp< SkData > fileBits, DiffResource &resource, bool sizeOnly, bool ignoreColorSpace)