/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/gm/ |
D | gradients_2pt_conical.cpp | 56 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutside() local 58 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside() 60 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside() 77 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutsideFlip() local 79 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip() 81 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip() 175 SkScalar radius0 = 0.f; in Make2ConicalZeroRadOutside() local 177 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside() 179 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside() 188 SkScalar radius0 = 0.f; in Make2ConicalZeroRadFlipOutside() local [all …]
|
D | gradients_no_texture.cpp | 76 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local 78 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical() 81 center0, radius0, in Make2Conical()
|
D | gradients.cpp | 155 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local 157 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical() 159 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical() 167 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical4f() local 169 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical4f() 172 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
|
/external/skia/bench/ |
D | GradientBench.cpp | 105 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutside() local 107 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutside() 109 return SkGradientShader::MakeTwoPointConical(center0, radius0, in MakeConicalOutside() 119 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutsideZeroRad() local 121 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()
|