aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrRenderTarget.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2016-11-07 08:23:48 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-07 14:34:47 +0000
commitd6214d4f4664ce47861dc690b0ddbea3b7a07855 (patch)
treebf32d321ac4395222b9ce5e878618757513cb217 /include/gpu/GrRenderTarget.h
parent44b36a210462dbc8c62bf705d002dbba591c8e7f (diff)
Further centralize computation of GrSurface VRAM consumption - take 2
This is the same as https://skia-review.googlesource.com/c/4383/ (Further centralize computation of GrSurface VRAM consumption) but with a suppression for Vulkan in the new test and removal of an assert Chromium was triggering. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4450 Change-Id: Ie87d32fd5f0d35c21326b066a0c733cb6f8a5bea Reviewed-on: https://skia-review.googlesource.com/4450 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/gpu/GrRenderTarget.h')
-rw-r--r--include/gpu/GrRenderTarget.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h
index ad96229dc7..dcbe8ea974 100644
--- a/include/gpu/GrRenderTarget.h
+++ b/include/gpu/GrRenderTarget.h
@@ -119,8 +119,6 @@ public:
return (GrRenderTargetOpList*) this->getLastOpList();
}
- static size_t ComputeSize(const GrSurfaceDesc& desc, int colorValuesPerPixel);
-
protected:
enum class Flags {
kNone = 0,