/external/skia/gm/ |
D | gradients_2pt_conical.cpp | 43 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutside() local 45 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside() 47 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside() 64 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutsideFlip() local 66 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip() 68 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip() 162 SkScalar radius0 = 0.f; in Make2ConicalZeroRadOutside() local 164 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside() 166 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside() 175 SkScalar radius0 = 0.f; in Make2ConicalZeroRadFlipOutside() local [all …]
|
D | gradients_no_texture.cpp | 61 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local 63 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical() 66 center0, radius0, in Make2Conical()
|
D | gradients.cpp | 136 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local 138 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical() 140 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical() 148 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical4f() local 150 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical4f() 153 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
|
/external/skqp/gm/ |
D | gradients_2pt_conical.cpp | 43 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutside() local 45 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside() 47 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside() 64 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutsideFlip() local 66 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip() 68 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip() 162 SkScalar radius0 = 0.f; in Make2ConicalZeroRadOutside() local 164 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside() 166 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside() 175 SkScalar radius0 = 0.f; in Make2ConicalZeroRadFlipOutside() local [all …]
|
D | gradients_no_texture.cpp | 61 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local 63 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical() 66 center0, radius0, in Make2Conical()
|
D | gradients.cpp | 136 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local 138 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical() 140 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical() 148 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical4f() local 150 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical4f() 153 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
|
/external/skia/bench/ |
D | GradientBench.cpp | 103 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutside() local 105 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutside() 107 return SkGradientShader::MakeTwoPointConical(center0, radius0, in MakeConicalOutside() 117 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutsideZeroRad() local 119 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutsideZeroRad()
|
/external/skqp/bench/ |
D | GradientBench.cpp | 103 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutside() local 105 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutside() 107 return SkGradientShader::MakeTwoPointConical(center0, radius0, in MakeConicalOutside() 117 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutsideZeroRad() local 119 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutsideZeroRad()
|