Home
last modified time | relevance | path

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

/external/skia/gm/
Dtransparency.cpp30 SkColor shaderColors[2]; in make_transparency() local
31 shaderColors[0] = SK_AlphaTRANSPARENT; in make_transparency()
32 shaderColors[1] = kColors[i]; in make_transparency()
34 p.setShader(SkGradientShader::MakeLinear(pts, shaderColors, nullptr, 2, in make_transparency()