Home
last modified time | relevance | path

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

/third_party/flutter/skia/gm/
Dtransparency.cpp40 SkColor shaderColors[2]; in make_transparency() local
41 shaderColors[0] = SK_AlphaTRANSPARENT; in make_transparency()
42 shaderColors[1] = kColors[i]; in make_transparency()
44 … p.setShader(SkGradientShader::MakeLinear(pts, shaderColors, nullptr, 2, SkTileMode::kClamp)); in make_transparency()
/third_party/skia/gm/
Dtransparency.cpp40 SkColor shaderColors[2]; in make_transparency() local
41 shaderColors[0] = SK_AlphaTRANSPARENT; in make_transparency()
42 shaderColors[1] = kColors[i]; in make_transparency()
44 … p.setShader(SkGradientShader::MakeLinear(pts, shaderColors, nullptr, 2, SkTileMode::kClamp)); in make_transparency()