Chromium Code Reviews| Index: include/gpu/SkGr.h |
| diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h |
| index 591d3d88a437987cd1cb82b6b8bfbd4125e0d9f0..d407a66e532b18be6658a27d4eaa68edc7918a70 100644 |
| --- a/include/gpu/SkGr.h |
| +++ b/include/gpu/SkGr.h |
| @@ -65,9 +65,9 @@ static inline GrColor SkPMColorToGrColor(SkPMColor c) { |
| } |
| //////////////////////////////////////////////////////////////////////////////// |
| - |
| +/** Returns a texture representing the bitmap that is compatible with the GrTextureParams */ |
|
reed1
2015/10/16 19:23:42
I presume the texture has already been "cached", a
bsalomon
2015/10/16 20:09:45
Yup, will update the comment.
|
| GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams&); |
| - |
| + |
| // TODO: Move SkImageInfo2GrPixelConfig to SkGrPriv.h (requires cleanup to SkWindow its subclasses). |
| GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType, SkAlphaType, SkColorProfileType); |