| Index: src/image/SkImagePriv.h
|
| diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h
|
| index 1b2ae4f2845d3159e29f90c82d2dda5b1c1e67af..3a5c59a13e5b71b6a89cf9d0db61c764c43af1bb 100644
|
| --- a/src/image/SkImagePriv.h
|
| +++ b/src/image/SkImagePriv.h
|
| @@ -38,11 +38,6 @@ static inline size_t SkImageMinRowBytes(const SkImageInfo& info) {
|
| // in which case the surface may need to perform a copy-on-write.
|
| extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage);
|
|
|
| -// Given an image created with NewTexture, return its GrTexture. This
|
| -// may be called to see if the surface and the image share the same GrTexture,
|
| -// in which case the surface may need to perform a copy-on-write.
|
| -extern GrTexture* SkTextureImageGetTexture(SkImage* textureImage);
|
| -
|
| // When a texture is shared by a surface and an image its budgeted status is that of the
|
| // surface. This function is used when the surface makes a new texture for itself in order
|
| // for the orphaned image to determine whether the original texture counts against the
|
| @@ -54,7 +49,4 @@ extern void SkTextureImageApplyBudgetedDecision(SkImage* textureImage);
|
| // surface needs to perform a copy-on-write
|
| extern void SkTextureImageSetTexture(SkImage* image, GrTexture* texture);
|
|
|
| -extern SkImage* SkNewImageFromBitmapTexture(const SkBitmap&, int sampleCountForNewSurfaces,
|
| - SkSurface::Budgeted);
|
| -
|
| #endif
|
|
|