Index: src/core/SkDeviceLooper.h |
diff --git a/src/core/SkDeviceLooper.h b/src/core/SkDeviceLooper.h |
index dd346d7445594e7a26e3276929cbf365bc9bc13a..a218345ae8b6546bea963457ce69be9882275f70 100644 |
--- a/src/core/SkDeviceLooper.h |
+++ b/src/core/SkDeviceLooper.h |
@@ -30,13 +30,14 @@ |
*/ |
class SkDeviceLooper { |
public: |
- SkDeviceLooper(const SkPixmap& base, const SkRasterClip&, const SkIRect& bounds, bool aa); |
+ SkDeviceLooper(const SkBitmap& base, const SkRasterClip&, |
+ const SkIRect& bounds, bool aa); |
~SkDeviceLooper(); |
- const SkPixmap& getPixmap() const { |
+ const SkBitmap& getBitmap() const { |
SkASSERT(kDone_State != fState); |
- SkASSERT(fCurrDst); |
- return *fCurrDst; |
+ SkASSERT(fCurrBitmap); |
+ return *fCurrBitmap; |
} |
const SkRasterClip& getRC() const { |
@@ -60,7 +61,7 @@ |
bool next(); |
private: |
- const SkPixmap& fBaseDst; |
+ const SkBitmap& fBaseBitmap; |
const SkRasterClip& fBaseRC; |
enum State { |
@@ -70,10 +71,10 @@ |
}; |
// storage for our tiled versions. Perhaps could use SkTLazy |
- SkPixmap fSubsetDst; |
+ SkBitmap fSubsetBitmap; |
SkRasterClip fSubsetRC; |
- const SkPixmap* fCurrDst; |
+ const SkBitmap* fCurrBitmap; |
const SkRasterClip* fCurrRC; |
SkIRect fClippedBounds; |
SkIPoint fCurrOffset; |