aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-07-21 11:38:13 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-21 16:18:53 +0000
commit57aa367aa3c5911cd4a21230799b147e44190282 (patch)
tree63b03042079833f226a26f734cc0229010f1429a /include
parent8825a09fc88f46dcec1d547dfbe7457ea224790b (diff)
Add initial version of GrResourceAllocator's free pool (take 2)
TBR=bsalomon@google.com Change-Id: I252d0d75f9ad3911abf97495f67d5178e924dd78 Reviewed-on: https://skia-review.googlesource.com/25560 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/private/GrSurfaceProxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h
index f899f75abf..71eaf138bf 100644
--- a/include/private/GrSurfaceProxy.h
+++ b/include/private/GrSurfaceProxy.h
@@ -329,7 +329,6 @@ public:
bool isWrapped_ForTesting() const;
- SkDEBUGCODE(bool isInstantiated() const { return SkToBool(fTarget); })
SkDEBUGCODE(void validate(GrContext*) const;)
// Provides access to functions that aren't part of the public API.
@@ -368,6 +367,8 @@ protected:
return this->internalHasPendingWrite();
}
+ void computeScratchKey(GrScratchKey*) const;
+
virtual sk_sp<GrSurface> createSurface(GrResourceProvider*) const = 0;
void assign(sk_sp<GrSurface> surface);