| Index: tools/SkBitmapRegionDecoderInterface.h
|
| diff --git a/tools/SkBitmapRegionDecoderInterface.h b/tools/SkBitmapRegionDecoderInterface.h
|
| index bc28c2b2af6f2710c8c2d94ef3a64abb45cbe2c2..047f023c808bd4a419befb5d98334e5990140ecd 100644
|
| --- a/tools/SkBitmapRegionDecoderInterface.h
|
| +++ b/tools/SkBitmapRegionDecoderInterface.h
|
| @@ -56,6 +56,11 @@ public:
|
| virtual SkBitmap* decodeRegion(int start_x, int start_y, int width,
|
| int height, int sampleSize,
|
| SkColorType colorType) = 0;
|
| + /*
|
| + * @param Requested destination color type
|
| + * @return true if we support the requested color type and false otherwise
|
| + */
|
| + virtual bool conversionSupported(SkColorType colorType) = 0;
|
|
|
| int width() const { return fWidth; }
|
| int height() const { return fHeight; }
|
|
|