aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-06-13 09:41:19 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-13 18:06:56 +0000
commitda86e2822ab31770e989009716dd4c89966ade45 (patch)
tree66a8fe4ff7e07bd7003f317d0b29a39ebf411790 /include/gpu
parente141548696bd049b0e520391ff64e64e4e02c55f (diff)
Remove unused code that was used for late mip allocations.
This also includes removing code to support changing GrGpuResource's size since we now have to way to ever change the size. Bug: skia: Change-Id: Id27a8bc3cc94f5b954beda528b209727ede10ef6 Reviewed-on: https://skia-review.googlesource.com/134503 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrGpuResource.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h
index 2da8085908..38545dd821 100644
--- a/include/gpu/GrGpuResource.h
+++ b/include/gpu/GrGpuResource.h
@@ -283,12 +283,6 @@ protected:
virtual void onAbandon() { }
/**
- * This entry point should be called whenever gpuMemorySize() should report a different size.
- * The cache will call gpuMemorySize() to update the current size of the resource.
- */
- void didChangeGpuMemorySize() const;
-
- /**
* Allows subclasses to add additional backing information to the SkTraceMemoryDump.
**/
virtual void setMemoryBacking(SkTraceMemoryDump*, const SkString&) const {}