Chromium Code Reviews| Index: include/gpu/SkGr.h |
| diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h |
| index db318b0b4cef14438b45f5e85622bdb47967bf2d..8b28a89663695ee416163473de50f31da2342434 100644 |
| --- a/include/gpu/SkGr.h |
| +++ b/include/gpu/SkGr.h |
| @@ -69,11 +69,19 @@ static inline GrColor SkColor2GrColorJustAlpha(SkColor c) { |
| //////////////////////////////////////////////////////////////////////////////// |
|
robertphillips
2015/09/08 13:34:35
// Returns 'kUnknown_GrPixelConfig' if 'data' does
reed1
2015/09/08 14:57:21
Done.
|
| +GrPixelConfig GrIsCompressedTextureDataSupported(GrContext* ctx, SkData* data, |
| + int expectedW, int expectedH, |
| + const void** outStartOfDataToUpload); |
| + |
| bool GrIsBitmapInCache(const GrContext*, const SkBitmap&, const GrTextureParams*); |
| GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams*); |
| GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, SkImageUsageType); |
| +GrTexture* GrCreateTextureForPixels(GrContext*, const GrUniqueKey& optionalKey, GrSurfaceDesc, |
| + SkPixelRef* pixelRefForInvalidationNotificationOrNull, |
| + const void* pixels, size_t rowBytesOrZero); |
| + |
| //////////////////////////////////////////////////////////////////////////////// |
| // Converts a SkPaint to a GrPaint, ignoring the SkPaint's shader. |