Hid large dashed line optimization behind compiler flag
https://codereview.appspot.com/7133078/ git-svn-id: http://skia.googlecode.com/svn/trunk@7391 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ae97795901
commit
d760073266
@ -230,6 +230,11 @@ private:
|
||||
|
||||
bool SkDashPathEffect::filterPath(SkPath* dst, const SkPath& src,
|
||||
SkStrokeRec* rec, const SkRect* cullRect) const {
|
||||
|
||||
#ifdef SK_IGNORE_LARGE_DASH_OPT
|
||||
cullRect = NULL;
|
||||
#endif
|
||||
|
||||
// we do nothing if the src wants to be filled, or if our dashlength is 0
|
||||
if (rec->isFillStyle() || fInitialDashLength < 0) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user