aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-05-17 15:15:26 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-17 19:50:10 +0000
commit9ac995354428a916df81253e0c0c3f582db18976 (patch)
tree9f09323f6deda4e9e4371de9c7879aff178e7eda /include
parent6e3ce40bd93e5de16b0086cb70320ff3283e72cf (diff)
Remove GrSurface::desc() method.
Change-Id: If158dee90b3b0f80aa9c674180fbe6abd5b27d3f Reviewed-on: https://skia-review.googlesource.com/17268 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrSurface.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h
index b6d1c50e73..6626765d6a 100644
--- a/include/gpu/GrSurface.h
+++ b/include/gpu/GrSurface.h
@@ -50,11 +50,6 @@ public:
GrPixelConfig config() const { return fDesc.fConfig; }
/**
- * Return the descriptor describing the surface.
- */
- const GrSurfaceDesc& desc() const { return fDesc; }
-
- /**
* @return the texture associated with the surface, may be null.
*/
virtual GrTexture* asTexture() { return nullptr; }