diff options
author | 2013-12-11 21:15:58 +0000 | |
---|---|---|
committer | 2013-12-11 21:15:58 +0000 | |
commit | a0d183d89160e31962e99475abe8a77c30626a40 (patch) | |
tree | c557c0b40852c2c924c517a4d09f2a8a885cda08 /include/gpu/GrSurface.h | |
parent | ff9c6c92e5f962b34f7421e67ac112f81a018bd3 (diff) |
Revert "Revert of https://codereview.chromium.org/108773003/"
This reverts commit 947e6a3142af66b750f1247ef933b11ed8455dd4.
BUG=
Review URL: https://codereview.chromium.org/112963003
git-svn-id: http://skia.googlecode.com/svn/trunk@12630 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrSurface.h')
-rw-r--r-- | include/gpu/GrSurface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h index c401a905ff..15e44ab593 100644 --- a/include/gpu/GrSurface.h +++ b/include/gpu/GrSurface.h @@ -15,6 +15,7 @@ class GrTexture; class GrRenderTarget; +struct SkImageInfo; class GrSurface : public GrResource { public: @@ -58,6 +59,8 @@ public: */ const GrTextureDesc& desc() const { return fDesc; } + void asImageInfo(SkImageInfo*) const; + /** * @return the texture associated with the surface, may be NULL. */ |