Lines Matching refs:fShader
630 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2, in onOnceBeforeDraw()
636 paint.setShader(fShader); in onDraw()
642 sk_sp<SkShader> fShader; member in skiagm::RadialGradient3GM
667 fShader = SkGradientShader::MakeRadial(center, kRadius, colors, pos, in onOnceBeforeDraw()
675 paint.setShader(fShader); in onDraw()
680 sk_sp<SkShader> fShader; member in skiagm::RadialGradient4GM
710 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { in onOnceBeforeDraw()
715 fShader[index] = SkGradientShader::MakeLinear(pts, colors, pos, in onOnceBeforeDraw()
724 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { in onDraw()
725 paint.setShader(fShader[index]); in onDraw()
732 sk_sp<SkShader> fShader[100]; member in skiagm::LinearGradientGM