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

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: feedback Created 4 years, 8 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 | include/core/SkFilterQuality.h » ('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 c15aeccf82dc52786b6899cfcdbfabc885fe9e36..3a6d6ea5fcdb19a06d7dc4ca3a24347e668ed963 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -387,6 +387,9 @@ protected:
virtual void drawSpriteWithFilter(const SkDraw&, const SkBitmap&,
int x, int y, const SkPaint&);
+ // A helper function used by derived classes to log the scale factor of a bitmap or image draw.
+ static void LogDrawScaleFactor(const SkMatrix&, SkFilterQuality);
+
private:
friend class SkCanvas;
friend struct DeviceCM; //for setMatrixClip
« no previous file with comments | « no previous file | include/core/SkFilterQuality.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698