diff options
author | bensong <bensong@google.com> | 2014-07-29 10:35:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-07-29 10:35:46 -0700 |
commit | fdd09c20027ab4e8e9b3e238b518c83bd2eda2b0 (patch) | |
tree | d31c8b187cde1b99a5379adef4993de6dd0be9cd /src/gpu/GrDistanceFieldTextContext.h | |
parent | b09bdd6bac5bfff12b0b2a95681761e783a4b432 (diff) | |
download | skia-fdd09c20027ab4e8e9b3e238b518c83bd2eda2b0.tar.gz |
Revert of Add effect caching to distance field text. (https://codereview.chromium.org/424103002/)
Reason for revert:
breaking Chrome canary.
Original issue's description:
> Add effect caching to distance field text.
>
> This also is a step towards unifying GrDistanceFieldTextureEffect and GrDistanceFieldLCDTextureEffect.
>
> Committed: https://skia.googlesource.com/skia/+/137bac067306c5446bc4f9797bedc3bbaf302822
R=robertphillips@google.com, jvanverth@google.com
TBR=jvanverth@google.com, robertphillips@google.com
NOTREECHECKS=true
NOTRY=true
Author: bensong@google.com
Review URL: https://codereview.chromium.org/424173002
Diffstat (limited to 'src/gpu/GrDistanceFieldTextContext.h')
-rw-r--r-- | src/gpu/GrDistanceFieldTextContext.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/GrDistanceFieldTextContext.h b/src/gpu/GrDistanceFieldTextContext.h index 672922d0d..7676fc164 100644 --- a/src/gpu/GrDistanceFieldTextContext.h +++ b/src/gpu/GrDistanceFieldTextContext.h @@ -34,17 +34,11 @@ private: SkScalar fTextRatio; bool fUseLCDText; bool fEnableDFRendering; - SkAutoTUnref<GrEffect> fCachedEffect; - // Used to check whether fCachedEffect is still valid. - uint32_t fEffectTextureUniqueID; - SkColor fEffectColor; - uint32_t fEffectFlags; GrTexture* fGammaTexture; void init(const GrPaint&, const SkPaint&); void drawPackedGlyph(GrGlyph::PackedID, SkFixed left, SkFixed top, GrFontScaler*); void flushGlyphs(); // automatically called by destructor - void setupCoverageEffect(const SkColor& filteredColor); void finish(); enum { |