aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkImage_Gpu.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-06-13 12:44:56 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-13 17:21:41 +0000
commit646e4293f06d9de6d44dbfa3c32cdc15a6f5906e (patch)
tree282acbcd4dc4204d06ed7d61e1d9884dbd6dd3f1 /src/image/SkImage_Gpu.h
parent1791a064f1c1256cf29c69a5eef88de66ee6e794 (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/image/SkImage_Gpu.h')
-rw-r--r--src/image/SkImage_Gpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h
index fbe29d8650..32a6647a73 100644
--- a/src/image/SkImage_Gpu.h
+++ b/src/image/SkImage_Gpu.h
@@ -12,7 +12,6 @@
#include "GrContext.h"
#include "GrGpuResourcePriv.h"
#include "GrSurfaceProxyPriv.h"
-#include "GrTexture.h"
#include "SkAtomics.h"
#include "SkBitmap.h"
#include "SkGr.h"
@@ -20,6 +19,8 @@
#include "SkImage_Base.h"
#include "SkSurface.h"
+class GrTexture;
+
class SkImage_Gpu : public SkImage_Base {
public:
SkImage_Gpu(GrContext*, uint32_t uniqueID, SkAlphaType, sk_sp<GrTextureProxy>,