Searched refs:kPos (Results 1 – 6 of 6) sorted by relevance
/external/skia/gm/ |
D | shadertext3.cpp | 23 const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in makebm() local 30 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, in makebm() 33 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, in makebm()
|
D | coloremoji.cpp | 27 constexpr SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in MakeLinear() local 29 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
|
/external/skqp/gm/ |
D | shadertext3.cpp | 23 const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in makebm() local 30 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, in makebm() 33 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, in makebm()
|
D | coloremoji.cpp | 27 constexpr SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in MakeLinear() local 29 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
|
/external/skia/bench/ |
D | AlternatingColorPatternBench.cpp | 48 static const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in makebm() local 55 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, SK_ARRAY_COUNT(kColors0), in makebm() 58 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, SK_ARRAY_COUNT(kColors1), in makebm()
|
/external/skqp/bench/ |
D | AlternatingColorPatternBench.cpp | 48 static const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in makebm() local 55 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, SK_ARRAY_COUNT(kColors0), in makebm() 58 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, SK_ARRAY_COUNT(kColors1), in makebm()
|