aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-05-18 10:02:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-18 16:20:55 +0000
commitd1eaf49e0b8b2776b1558ffd3ee1d3d9f9592b6b (patch)
treef59e23ba0ded7b764d7cee753ea9c16d6a3bdb2f /include
parent9d2d7bfc920772b5e8ec31eae8e3ec88704e943f (diff)
Revert "Revert "Remove GrSurface::desc() method.""
This reverts commit c96da1e51e1ca72d54dda49f32891bd41530ad31. Bug: skia: Change-Id: I8242400a137413c01c7ef614b4fa733be7dcf939 Reviewed-on: https://skia-review.googlesource.com/17311 Reviewed-by: Brian Salomon <bsalomon@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; }