aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-03-16 08:32:56 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-16 13:36:06 +0000
commitb64bcbdc3a5aa7b9e3ff216e4617ddc1db9260b5 (patch)
treefe99f9fe4f379226b3593989aa6c46cb2969650d /src/core
parent755a2c6b4229c86d22cd7dbd399abc97fefab4cb (diff)
Remove budgeted parameter from SkSurface::makeImageSnapshot
This unused feature complicates MDB. Chrome compiles locally for me with this CL. Change-Id: I611e464885fb984030eace43ead42cf39d0e7f72 Reviewed-on: https://skia-review.googlesource.com/9734 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkImagePriv.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/SkImagePriv.h b/src/core/SkImagePriv.h
index ea44770d78..921fdc85c8 100644
--- a/src/core/SkImagePriv.h
+++ b/src/core/SkImagePriv.h
@@ -50,12 +50,6 @@ extern sk_sp<SkImage> SkMakeImageFromRasterBitmap(const SkBitmap&, SkCopyPixelsM
// in which case the surface may need to perform a copy-on-write.
extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage);
-// 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
-// budget or not.
-extern void SkTextureImageApplyBudgetedDecision(SkImage* textureImage);
-
// Update the texture wrapped by an image created with NewTexture. This
// is called when a surface and image share the same GrTexture and the
// surface needs to perform a copy-on-write