Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Unified Diff: src/gpu/SkGpuDevice.h

Issue 947443003: Move clip off of draw target (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: feedback inc Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrTextContext.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGpuDevice.h
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index cd2dcdc71c4a830e7135b9797eb4378b75100a02..a6cc4ef3bf1ae310260328ccc6f799aea982dd97 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -133,15 +133,17 @@ protected:
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);
« no previous file with comments | « src/gpu/GrTextContext.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698