299 {
301 if (Color::kPremulGrColorAttribute_Type ==
color.fType) {
303 }
else if (Color::kPremulWideColorAttribute_Type ==
color.fType) {
305 }
306 if (Coverage::kAttribute_Type ==
coverage.fType) {
308 }
else if (Coverage::kAttributeTweakAlpha_Type ==
coverage.fType) {
310 }
else if (Coverage::kAttributeUnclamped_Type ==
coverage.fType) {
312 }
314
315 uint8_t inCoverage =
coverage.fCoverage;
316 bool localCoordsWillBeRead = localCoords.
fType != LocalCoords::kUnused_Type;
317
321 viewMatrix,
323 localCoordsWillBeRead,
324 inCoverage);
325}
@ kCoverageAttributeUnclamped_GPFlag
@ kCoverageAttribute_GPFlag
@ kCoverageAttributeTweak_GPFlag
@ kLocalCoordAttribute_GPFlag
@ kColorAttributeIsWide_GPFlag
static GrGeometryProcessor * Make(SkArenaAlloc *arena, uint32_t gpTypeFlags, const SkPMColor4f &color, const SkMatrix &viewMatrix, const SkMatrix &localMatrix, bool localCoordsWillBeRead, uint8_t coverage)
static const SkMatrix & I()
FlutterSemanticsFlag flags