aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/RectoriBench.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-27 14:27:44 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-27 14:27:44 +0000
commit48f31bdbb3346e3003581229395022bf44828b13 (patch)
tree786b925c6e796fafd09765c219be1a7b5a06650e /bench/RectoriBench.cpp
parent0b1afcc4ec2215a101fd769feca9243366092504 (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 'bench/RectoriBench.cpp')
-rw-r--r--bench/RectoriBench.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bench/RectoriBench.cpp b/bench/RectoriBench.cpp
index e3bf41b78e..ee79ca9964 100644
--- a/bench/RectoriBench.cpp
+++ b/bench/RectoriBench.cpp
@@ -76,7 +76,6 @@ private:
//-----------------------------------------------
SkLayerDrawLooper::LayerInfo info;
- info.fFlagsMask = 0;
// TODO: add a color filter to better match what is seen in the wild
info.fPaintBits = /* SkLayerDrawLooper::kColorFilter_Bit |*/
SkLayerDrawLooper::kMaskFilter_Bit;