aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp')
-rw-r--r--tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp b/tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp
index f2a02c1c18..b3f5d2d7e0 100644
--- a/tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp
+++ b/tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp
@@ -47,6 +47,10 @@ const char* SkDifferentPixelsMetric::getName() {
return "different_pixels";
}
+bool SkDifferentPixelsMetric::enablePOIAlphaMask() {
+ return false;
+}
+
int SkDifferentPixelsMetric::queueDiff(SkBitmap* baseline, SkBitmap* test) {
int diffID = fQueuedDiffs.count();
double startTime = get_seconds();