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

Unified Diff: src/core/SkMipMap.h

Issue 2036313002: SkMipMap::ComputeLevelSize to return SkISize (Closed) Base URL: https://skia.googlesource.com/skia.git@pipe-mipmap-levels-to-creation
Patch Set: Created 4 years, 6 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/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 5cb4ea8ce670b30c90eec35455b65befd5c65d0c..a230a23392a831caf5b39baea09d075dc57ca2e1 100644
--- a/src/core/SkMipMap.h
+++ b/src/core/SkMipMap.h
@@ -27,7 +27,7 @@ public:
static int ComputeLevelCount(int baseWidth, int baseHeight);
// Determines the size of a given mipmap level.
- static SkSize ComputeLevelSize(int baseWidth, int baseHeight, int level);
+ static SkISize ComputeLevelSize(int baseWidth, int baseHeight, int level);
struct Level {
SkPixmap fPixmap;
« no previous file with comments | « no previous file | src/core/SkMipMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698