diff options
author | 2017-07-20 15:09:23 -0400 | |
---|---|---|
committer | 2017-07-21 11:37:23 +0000 | |
commit | 6ec9a4ffe43910551d15ddc95150472aabbc8b74 (patch) | |
tree | eb7322a0bda17d800ec0df84f9df9b560ef52aea /include/private | |
parent | 8b8b2244c3056cb4ee4f2ea30ff7876f0b4d2b99 (diff) |
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>
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/GrSurfaceProxy.h | 3 |
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); |