diff options
author | 2017-06-13 12:44:56 -0400 | |
---|---|---|
committer | 2017-06-13 17:21:41 +0000 | |
commit | 646e4293f06d9de6d44dbfa3c32cdc15a6f5906e (patch) | |
tree | 282acbcd4dc4204d06ed7d61e1d9884dbd6dd3f1 /src/gpu/gl/GrGLTextureRenderTarget.h | |
parent | 1791a064f1c1256cf29c69a5eef88de66ee6e794 (diff) |
Retract GrTexture*.h & GrRenderTarget*.h from other headers
This does push some additional work (& includes) into the .cpp files.
Change-Id: I27c847e371802270d13594dcc22aae44039990bb
Reviewed-on: https://skia-review.googlesource.com/19660
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLTextureRenderTarget.h')
-rw-r--r-- | src/gpu/gl/GrGLTextureRenderTarget.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gpu/gl/GrGLTextureRenderTarget.h b/src/gpu/gl/GrGLTextureRenderTarget.h index 0d3b19daed..e6eb19512b 100644 --- a/src/gpu/gl/GrGLTextureRenderTarget.h +++ b/src/gpu/gl/GrGLTextureRenderTarget.h @@ -12,7 +12,6 @@ #include "GrGLGpu.h" #include "GrGLTexture.h" #include "GrGLRenderTarget.h" -#include "GrTexturePriv.h" class GrGLGpu; @@ -69,12 +68,7 @@ private: this->registerWithCacheWrapped(); } - size_t onGpuMemorySize() const override { - return GrSurface::ComputeSize(this->config(), this->width(), this->height(), - this->numSamplesOwnedPerPixel(), - this->texturePriv().hasMipMaps()); - } - + size_t onGpuMemorySize() const override; }; #ifdef SK_BUILD_FOR_WIN |