From da86e2822ab31770e989009716dd4c89966ade45 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Wed, 13 Jun 2018 09:41:19 -0400 Subject: 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 Reviewed-by: Brian Salomon --- include/gpu/GrGpuResource.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/gpu') 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 @@ -282,12 +282,6 @@ protected: backend API calls should be made. */ 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. **/ -- cgit v1.2.3