diff options
Diffstat (limited to 'include/gpu/SkGr.h')
-rw-r--r-- | include/gpu/SkGr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h index 7aacea4059..06239e6568 100644 --- a/include/gpu/SkGr.h +++ b/include/gpu/SkGr.h @@ -44,13 +44,13 @@ GR_STATIC_ASSERT((int)kIDA_GrBlendCoeff == (int)SkXfermode::kIDA_Coeff); #include "SkColorPriv.h" -GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType, SkAlphaType); +GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType, SkAlphaType, SkColorProfileType); static inline GrPixelConfig SkImageInfo2GrPixelConfig(const SkImageInfo& info) { - return SkImageInfo2GrPixelConfig(info.colorType(), info.alphaType()); + return SkImageInfo2GrPixelConfig(info.colorType(), info.alphaType(), info.profileType()); } -bool GrPixelConfig2ColorType(GrPixelConfig, SkColorType*); +bool GrPixelConfig2ColorAndProfileType(GrPixelConfig, SkColorType*, SkColorProfileType*); static inline GrColor SkColor2GrColor(SkColor c) { SkPMColor pm = SkPreMultiplyColor(c); |