Move clip off of draw target
BUG=skia:
Review URL: https://codereview.chromium.org/947443003
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index cd2dcdc..a6cc4ef 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -133,15 +133,17 @@
const SkMatrix*, const SkPaint*) SK_OVERRIDE;
private:
- GrContext* fContext;
- GrSkDrawProcs* fDrawProcs;
- GrClipData fClipData;
- GrTextContext* fTextContext;
- SkSurfaceProps fSurfaceProps;
- GrRenderTarget* fRenderTarget;
+ GrContext* fContext;
+ GrSkDrawProcs* fDrawProcs;
+ SkAutoTUnref<const SkClipStack> fClipStack;
+ SkIPoint fClipOrigin;
+ GrClip fClipData;
+ GrTextContext* fTextContext;
+ SkSurfaceProps fSurfaceProps;
+ GrRenderTarget* fRenderTarget;
// remove when our clients don't rely on accessBitmap()
- SkBitmap fLegacyBitmap;
- bool fNeedClear;
+ SkBitmap fLegacyBitmap;
+ bool fNeedClear;
SkGpuDevice(GrRenderTarget*, const SkSurfaceProps*, unsigned flags);