diff options
Diffstat (limited to 'src/gpu/text/GrAtlasTextBlob.h')
-rw-r--r-- | src/gpu/text/GrAtlasTextBlob.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gpu/text/GrAtlasTextBlob.h b/src/gpu/text/GrAtlasTextBlob.h index d9083b2f56..63c8033322 100644 --- a/src/gpu/text/GrAtlasTextBlob.h +++ b/src/gpu/text/GrAtlasTextBlob.h @@ -14,6 +14,8 @@ #include "GrMemoryPool.h" #include "SkDescriptor.h" #include "SkMaskFilter.h" +#include "SkPathEffect.h" +#include "SkRasterizer.h" #include "SkSurfaceProps.h" #include "SkTInternalLList.h" @@ -477,7 +479,11 @@ private: SkAutoTUnref<SkTypeface> fTypeface; SkSTArray<kMinSubRuns, SubRunInfo> fSubRunInfo; SkAutoDescriptor fDescriptor; - SkScalerContextEffects fEffects; + + // Effects from the paint that are used to build a SkScalerContext. + sk_sp<SkPathEffect> fPathEffect; + sk_sp<SkRasterizer> fRasterizer; + sk_sp<SkMaskFilter> fMaskFilter; // Distance field text cannot draw coloremoji, and so has to fall back. However, // though the distance field text and the coloremoji may share the same run, they |