Index: src/core/SkBitmapProcState.h |
diff --git a/src/core/SkBitmapProcState.h b/src/core/SkBitmapProcState.h |
index 73d7e904b30b99d1f6f456e3aa4c90c934f1f95b..a249ed6ce1c282d4747f6d96af219f4ac8abfd49 100644 |
--- a/src/core/SkBitmapProcState.h |
+++ b/src/core/SkBitmapProcState.h |
@@ -13,6 +13,7 @@ |
#include "SkBitmap.h" |
#include "SkBitmapFilter.h" |
#include "SkMatrix.h" |
+#include "SkMipMap.h" |
#include "SkPaint.h" |
#include "SkScaledImageCache.h" |
@@ -36,7 +37,7 @@ class SkPaint; |
struct SkBitmapProcState { |
- SkBitmapProcState(): fScaledCacheID(NULL), fBitmapFilter(NULL) {} |
+ SkBitmapProcState() : fBitmapFilter(NULL) {} |
~SkBitmapProcState(); |
typedef void (*ShaderProc32)(const SkBitmapProcState&, int x, int y, |
@@ -142,7 +143,8 @@ private: |
SkBitmap fOrigBitmap; // CONSTRUCTOR |
SkBitmap fScaledBitmap; // chooseProcs |
- SkScaledImageCache::ID* fScaledCacheID; |
+ SkAutoTUnref<const SkMipMap> fCurrMip; |
+// SkScaledImageCache::ID fScaledCacheID; |
MatrixProc chooseMatrixProc(bool trivial_matrix); |
bool chooseProcs(const SkMatrix& inv, const SkPaint&); |