Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: include/core/SkDevice.h

Issue 1686203002: Skia Filter Quality and Scaling Metrics (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index 65ec56f902fb87ea9926957db6b099438f90ecba..277682d685be0d9804c8f61ca6f18ac23349112d 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -376,6 +376,9 @@ protected:
return NULL;
}
+ // A helper function used by derived classes to log the scale factor of a bitmap or image draw.
+ void logDrawScaleFactor(const SkMatrix&, SkFilterQuality) const;
bsalomon 2016/02/16 14:52:42 Maybe this should just be a static helper in SkGpu
ericrk 2016/02/16 22:05:33 I'm using this in SkBitmapDevice as well - happy t
bsalomon 2016/02/24 18:24:59 Gotcha.. didn't catch that. Need it be a class mem
ericrk 2016/02/25 00:22:10 made it static, good point.
+
private:
friend class SkCanvas;
friend struct DeviceCM; //for setMatrixClip
« no previous file with comments | « no previous file | src/core/SkBitmapDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698