Index: src/core/SkBitmapProcState.h |
diff --git a/src/core/SkBitmapProcState.h b/src/core/SkBitmapProcState.h |
index 814c79a92cdb68a01f5a1c39bac8b0ff05030434..b66299cbff469159987f55e061d7e6e0e66544aa 100644 |
--- a/src/core/SkBitmapProcState.h |
+++ b/src/core/SkBitmapProcState.h |
@@ -25,7 +25,8 @@ typedef SkFixed3232 SkFractionalInt; |
class SkPaint; |
struct SkBitmapProcState { |
- SkBitmapProcState(); |
+ SkBitmapProcState(const SkBitmapProvider&, SkShader::TileMode tmx, SkShader::TileMode tmy); |
+ SkBitmapProcState(const SkBitmap&, SkShader::TileMode tmx, SkShader::TileMode tmy); |
~SkBitmapProcState(); |
typedef void (*ShaderProc32)(const SkBitmapProcState&, int x, int y, |
@@ -128,7 +129,7 @@ private: |
SampleProc32 fSampleProc32; // chooseProcs |
SampleProc16 fSampleProc16; // chooseProcs |
- SkBitmap fOrigBitmap; // CONSTRUCTOR |
+ const SkBitmapProvider fProvider; |
enum { |
kBMStateSize = 136 // found by inspection. if too small, we will call new/delete |