Index: include/gpu/SkGr.h |
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h |
index 5e5ca4b72c30f898bb9c07d829f3824f8ef652be..db08548f5d544a66e39d5de3c97c5fd9155643ee 100644 |
--- a/include/gpu/SkGr.h |
+++ b/include/gpu/SkGr.h |
@@ -50,6 +50,7 @@ GR_STATIC_ASSERT((int)kIDA_GrBlendCoeff == (int)SkXfermode::kIDA_Coeff); |
* kUnknown_PixelConfig if the conversion cannot be done. |
*/ |
GrPixelConfig SkBitmapConfig2GrPixelConfig(SkBitmap::Config); |
+bool GrPixelConfig2ColorType(GrPixelConfig, SkColorType*); |
static inline GrColor SkColor2GrColor(SkColor c) { |
SkPMColor pm = SkPreMultiplyColor(c); |