Centralize computation of GrRenderTarget & GrTexture VRAM consumption
authorRobert Phillips <robertphillips@google.com>
Thu, 3 Nov 2016 14:19:14 +0000 (10:19 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 3 Nov 2016 16:44:50 +0000 (16:44 +0000)
commit29e52f13f632c701bd33d802701f5ff29a567eea
tree15678f2a2076a706f5d25dd4f898616676e3f898
parentd851795e7992565c1eb2b9474ee5ad01d1a01fad
Centralize computation of GrRenderTarget & GrTexture VRAM consumption

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4310

Change-Id: I676749ecf1e489f825799b619a15a45fc7dcd219
Reviewed-on: https://skia-review.googlesource.com/4310
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
include/gpu/GrRenderTarget.h
include/gpu/GrTexture.h
include/private/GrSurfaceProxy.h
src/gpu/GrRenderTarget.cpp
src/gpu/GrRenderTargetProxy.cpp
src/gpu/GrTexture.cpp
src/gpu/GrTextureProxy.cpp
src/gpu/gl/GrGLRenderTarget.cpp
src/gpu/gl/GrGLRenderTarget.h
src/gpu/vk/GrVkRenderTarget.cpp
src/gpu/vk/GrVkRenderTarget.h