DescriptionAvoid using SkPathEffect::DashInfo in GrStrokeInfo
Avoid using SkPathEffect::DashInfo for storing the phase
in GrStrokeInfo. Instead, just use normal instance variables.
Fixes the copy constructor pointing the DashInfo interval pointer
to the wrong interval data.
Also fixes GrStrokeInfo::setDashInfo(const SkPathEffect::DashInfo&)
by updating the fDashType correctly.
Makes it simpler to write code such as the operator== in the future.
Committed: https://skia.googlesource.com/skia/+/261694c98a4de4c67fb719e365c0345da0473a17
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 4
Patch Set 3 : address review comments #Patch Set 4 : #
Messages
Total messages: 8 (2 generated)
|