Home
last modified time | relevance | path

Searched refs:kPos (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dshadertext3.cpp22 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()
Dshadertext2.cpp21 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()
Dcoloremoji.cpp24 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/
DAlternatingColorPatternBench.cpp46 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()