Index: tools/sk_tool_utils.h |
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h |
index 48fd716342b549dab6ad429119f9b151e6e88cc4..ac1cdabf15186deaa9eb847458e7ee4491ba4fdd 100644 |
--- a/tools/sk_tool_utils.h |
+++ b/tools/sk_tool_utils.h |
@@ -16,6 +16,11 @@ namespace sk_tool_utils { |
const char* colortype_name(SkColorType); |
/** |
+ * Return the colorType and alphaType that correspond to the specified Config8888 |
+ */ |
+ void config8888_to_imagetypes(SkCanvas::Config8888, SkColorType*, SkAlphaType*); |
+ |
+ /** |
* Call canvas->writePixels() by using the pixels from bitmap, but with an info that claims |
* the pixels are colorType + alphaType |
*/ |