aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrResourceAllocator.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-09-14 12:45:25 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-14 18:42:51 +0000
commitd375dbf1557de71ce8e348e6002463f076cc3967 (patch)
tree7987175183702bb5e8839c272bc4fca37932af02 /src/gpu/GrResourceAllocator.h
parentd27392f8a43c5efe2fdb40387aa5c03e611dbea4 (diff)
Land scaffolding for explicit MDB resource allocation
Change-Id: I1cb30b50068e99181788181683e82e2421d0038a Reviewed-on: https://skia-review.googlesource.com/46701 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrResourceAllocator.h')
-rw-r--r--src/gpu/GrResourceAllocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrResourceAllocator.h b/src/gpu/GrResourceAllocator.h
index bd0c690a58..966359c85e 100644
--- a/src/gpu/GrResourceAllocator.h
+++ b/src/gpu/GrResourceAllocator.h
@@ -62,7 +62,7 @@ private:
// These two methods wrap the interactions with the free pool
void freeUpSurface(GrSurface* surface);
- sk_sp<GrSurface> findSurfaceFor(GrSurfaceProxy* proxy);
+ sk_sp<GrSurface> findSurfaceFor(const GrSurfaceProxy* proxy);
struct FreePoolTraits {
static const GrScratchKey& GetKey(const GrSurface& s) {