| Index: include/core/SkBitmapDevice.h
|
| diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h
|
| index f8ce93a9272e1cdaf2967cd01a077fef12bb98f5..7ec14f84ec5bb6026c237cded6226e909146b9d3 100644
|
| --- a/include/core/SkBitmapDevice.h
|
| +++ b/include/core/SkBitmapDevice.h
|
| @@ -21,7 +21,7 @@ public:
|
| * valid for the bitmap to have no pixels associated with it. In that case,
|
| * any drawing to this device will have no effect.
|
| */
|
| - SkBitmapDevice(const SkBitmap& bitmap);
|
| + SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps* = NULL);
|
|
|
| /**
|
| * Construct a new device with the specified bitmap as its backend. It is
|
| @@ -32,7 +32,9 @@ public:
|
|
|
| static SkBitmapDevice* Create(const SkImageInfo&,
|
| const SkDeviceProperties* = NULL);
|
| -
|
| +
|
| + static SkBitmapDevice* Create(const SkBitmap&, const SkSurfaceProps* = NULL);
|
| +
|
| virtual SkImageInfo imageInfo() const SK_OVERRIDE;
|
|
|
| protected:
|
| @@ -158,7 +160,8 @@ private:
|
|
|
| virtual SkImageFilter::Cache* getImageFilterCache() SK_OVERRIDE;
|
|
|
| - SkBitmap fBitmap;
|
| + SkBitmap fBitmap;
|
| + const SkSurfaceProps fProps;
|
|
|
| typedef SkBaseDevice INHERITED;
|
| };
|
|
|