diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-27 14:27:44 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-27 14:27:44 +0000 |
commit | 48f31bdbb3346e3003581229395022bf44828b13 (patch) | |
tree | 786b925c6e796fafd09765c219be1a7b5a06650e /gm/blurroundrect.cpp | |
parent | 0b1afcc4ec2215a101fd769feca9243366092504 (diff) |
try to deprecate fFlagsMask from SkLayerDrawLooper
We think we want to move around how flags/fields like linearText and strikeThru
are specified. SkPaint has helpers for nearly all of these, but LayerInfo in
the draw looper just exposes the raw bitfield.
On survey of chrome/android, it appears that no one uses those, so it may be
safe to just remove the feature entirely from the looper.
R=bungeman@google.com, scroggo@google.com
Review URL: https://codereview.chromium.org/181433009
git-svn-id: http://skia.googlecode.com/svn/trunk@13607 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/blurroundrect.cpp')
-rw-r--r-- | gm/blurroundrect.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gm/blurroundrect.cpp b/gm/blurroundrect.cpp index 6a466c9c87..6c3903fd40 100644 --- a/gm/blurroundrect.cpp +++ b/gm/blurroundrect.cpp @@ -56,7 +56,6 @@ public: SkLayerDrawLooper* looper = new SkLayerDrawLooper; { SkLayerDrawLooper::LayerInfo info; - info.fFlagsMask = 0; info.fPaintBits = SkLayerDrawLooper::kMaskFilter_Bit | SkLayerDrawLooper::kColorFilter_Bit; info.fColorMode = SkXfermode::kSrc_Mode; |