Searched refs:kPos (Results 1 – 4 of 4) sorted by relevance
/external/skia/gm/ |
D | shadertext3.cpp | 22 static const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in makebm() local 29 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm() 32 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
|
D | shadertext2.cpp | 21 static const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in makebm() local 28 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm() 31 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
|
D | coloremoji.cpp | 24 static const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in MakeLinear() local 26 return SkGradientShader::CreateLinear(kPts, kColors, kPos, in MakeLinear()
|
/external/skia/bench/ |
D | AlternatingColorPatternBench.cpp | 46 static const SkScalar kPos[] = { 0, SK_Scalar1/2, SK_Scalar1 }; in makebm() local 53 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm() 56 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
|