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

Unified Diff: src/core/SkMipMap.h

Issue 1617183004: Anisotropic mipmap fixes (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: SkIntToScalar Created 4 years, 11 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 | « src/core/SkBitmapController.cpp ('k') | src/core/SkMipMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkMipMap.h
diff --git a/src/core/SkMipMap.h b/src/core/SkMipMap.h
index b3e958d63c6f7e921ed7ee758283cc6d2e596fd9..bc6d154939a44c58cd4f0d3b8aa625f18ccfc5b8 100644
--- a/src/core/SkMipMap.h
+++ b/src/core/SkMipMap.h
@@ -11,6 +11,7 @@
#include "SkCachedData.h"
#include "SkPixmap.h"
#include "SkScalar.h"
+#include "SkSize.h"
class SkBitmap;
class SkDiscardableMemory;
@@ -24,7 +25,7 @@ public:
struct Level {
SkPixmap fPixmap;
- float fScale; // < 1.0
+ SkSize fScale; // < 1.0
};
bool extractLevel(SkScalar scale, Level*) const;
« no previous file with comments | « src/core/SkBitmapController.cpp ('k') | src/core/SkMipMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698