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

Unified Diff: src/gpu/GrTextContext.h

Issue 947443003: Move clip off of draw target (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanup 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
Index: src/gpu/GrTextContext.h
diff --git a/src/gpu/GrTextContext.h b/src/gpu/GrTextContext.h
index 5a8445401c9ef078ec96cb32df13420dde99b130..e3a4f33c7b833efce4554bfc885690288031fb55 100644
--- a/src/gpu/GrTextContext.h
+++ b/src/gpu/GrTextContext.h
@@ -8,6 +8,7 @@
#ifndef GrTextContext_DEFINED
#define GrTextContext_DEFINED
+#include "GrClip.h"
#include "GrGlyph.h"
#include "GrPaint.h"
#include "SkDeviceProperties.h"
@@ -33,15 +34,16 @@ public:
const SkPoint& offset);
protected:
- GrTextContext* fFallbackTextContext;
- GrContext* fContext;
- SkDeviceProperties fDeviceProperties;
+ GrTextContext* fFallbackTextContext;
+ GrContext* fContext;
+ SkDeviceProperties fDeviceProperties;
- SkAutoTUnref<GrRenderTarget> fRenderTarget;
- GrDrawTarget* fDrawTarget;
- SkIRect fClipRect;
- GrPaint fPaint;
- SkPaint fSkPaint;
+ SkAutoTUnref<GrRenderTarget> fRenderTarget;
+ const GrClip* fClip;
bsalomon 2015/02/23 19:31:30 realign these?
+ GrDrawTarget* fDrawTarget;
+ SkIRect fClipRect;
+ GrPaint fPaint;
+ SkPaint fSkPaint;
GrTextContext(GrContext*, const SkDeviceProperties&);

Powered by Google App Engine
This is Rietveld 408576698