Index: include/gpu/SkGr.h |
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h |
index 68b93a1f8a7e15fcc775c95ead7016325d0ae59c..cddec790e19099d57acb3bc4d2206c12ffc7560e 100644 |
--- a/include/gpu/SkGr.h |
+++ b/include/gpu/SkGr.h |
@@ -20,10 +20,11 @@ |
// skia headers |
#include "SkBitmap.h" |
+#include "SkClipStack.h" |
+#include "SkMipMapLevel.h" |
#include "SkPath.h" |
#include "SkPoint.h" |
#include "SkRegion.h" |
-#include "SkClipStack.h" |
//////////////////////////////////////////////////////////////////////////////// |
// Sk to Gr Type conversions |
@@ -89,6 +90,8 @@ bool GrIsImageInCache(const GrContext* ctx, uint32_t imageID, const SkIRect& sub |
GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTextureParams*); |
GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, SkImageUsageType); |
+GrTexture* GrMipMapTexture(GrContext&, const SkBitmap&, SkDiscardableFactoryProc); |
+ |
GrTexture* GrCreateTextureForPixels(GrContext*, const GrUniqueKey& optionalKey, GrSurfaceDesc, |
SkPixelRef* pixelRefForInvalidationNotificationOrNull, |
const void* pixels, size_t rowBytesOrZero); |