aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSurfaceProxyPriv.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-07-21 12:15:05 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-21 12:15:14 +0000
commit39f1a9589bf4e0818aaeaa9c2fc4ecbe1e2ec23e (patch)
tree6bdef7dba2a0a741ce767274554c54327d7ca0e1 /src/gpu/GrSurfaceProxyPriv.h
parent650ced07d9660e74eb34ddff79293583f7b70837 (diff)
Revert "Add initial version of GrResourceAllocator's free pool"
This reverts commit 6ec9a4ffe43910551d15ddc95150472aabbc8b74. Reason for revert: Maybe breaking iOS bots Original change's description: > Add initial version of GrResourceAllocator's free pool > > Change-Id: Ibd60303ffb1d3ea814dad0cee3a521f94da63ca8 > Reviewed-on: https://skia-review.googlesource.com/24262 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> TBR=bsalomon@google.com,robertphillips@google.com Change-Id: I0195f64503a6f2f7b416f75b57fb9141e5b9f796 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/25540 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrSurfaceProxyPriv.h')
-rw-r--r--src/gpu/GrSurfaceProxyPriv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrSurfaceProxyPriv.h b/src/gpu/GrSurfaceProxyPriv.h
index f88c5cdfd9..ca8fffd873 100644
--- a/src/gpu/GrSurfaceProxyPriv.h
+++ b/src/gpu/GrSurfaceProxyPriv.h
@@ -15,8 +15,6 @@
data members or virtual methods. */
class GrSurfaceProxyPriv {
public:
- bool isInstantiated() const { return SkToBool(fProxy->fTarget); }
-
// This should only be called after a successful call to instantiate
GrSurface* peekSurface() const {
SkASSERT(fProxy->fTarget);
@@ -45,8 +43,6 @@ public:
// future when the proxy is actually used/instantiated.
bool hasPendingWrite() const { return fProxy->hasPendingWrite(); }
- void computeScratchKey(GrScratchKey* key) const { return fProxy->computeScratchKey(key); }
-
// Create a GrSurface-derived class that meets the requirements (i.e, desc, renderability)
// of the GrSurfaceProxy.
sk_sp<GrSurface> createSurface(GrResourceProvider* resourceProvider) const {