aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSurfaceProxyPriv.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-03-20 08:38:50 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-20 13:50:35 +0000
commitac6b1fa2c8507bfd5f790bccaebab8e4018cb2cd (patch)
tree3e6e2707f3526193e81169ab084592bbf812404c /src/gpu/GrSurfaceProxyPriv.h
parent6405e71279e99731f89db69325c6763ec62a98e1 (diff)
Remove budgeted parameter from SkSurface::makeImageSnapshot (take 2)
This unused feature complicates MDB. Chrome compiles locally for me with this CL. frameworks/base/libs/hwui compiles locally for me with this CL. Change-Id: Id3ad64dac72eace52855896df0d7ce3679f15884 Reviewed-on: https://skia-review.googlesource.com/9882 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrSurfaceProxyPriv.h')
-rw-r--r--src/gpu/GrSurfaceProxyPriv.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpu/GrSurfaceProxyPriv.h b/src/gpu/GrSurfaceProxyPriv.h
index 0d10ef6504..e5a628c1e7 100644
--- a/src/gpu/GrSurfaceProxyPriv.h
+++ b/src/gpu/GrSurfaceProxyPriv.h
@@ -23,18 +23,6 @@ public:
// Don't abuse these two!!!!!!!
bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; }
- // These next two are very specialized and wacky - don't use them!
-
- // In the case where an unbudgeted, deferred SkSurface_Gpu has snapped a budgeted, deferred
- // SkImage_Gpu, this serves to propagate the budgeting forward in time. For now, and
- // presumably forever, this will not change any flushing decisions but may make Ganesh
- // appear to have gone over budget. In the case of non-deferred proxies this will immediately
- // propagate the budget decision to the resource, which in itself is dubious.
- void makeBudgeted();
- // In the case where a budgeted, deferred SkSurface_Gpu has snapped an unbudgeted, deferred
- // SkImage_Gpu, this serves to propagate the lack of budgeting forward in time.
- void makeUnbudgeted();
-
private:
explicit GrSurfaceProxyPriv(GrSurfaceProxy* proxy) : fProxy(proxy) {}
GrSurfaceProxyPriv(const GrSurfaceProxyPriv&) {} // unimpl