Home
last modified time | relevance | path

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

/external/skqp/gm/
Dalphagradients.cpp26 SkColor c0, SkColor c1, bool doPreMul) { in draw_grad() argument
30 uint32_t flags = doPreMul ? SkGradientShader::kInterpolateColorsInPremul_Flag : 0; in draw_grad()
63 for (int doPreMul = 0; doPreMul <= 1; ++doPreMul) { in onDraw() local
66 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul)); in onDraw()
/external/skia/gm/
Dalphagradients.cpp35 SkColor c0, SkColor c1, bool doPreMul) { in draw_grad() argument
39 uint32_t flags = doPreMul ? SkGradientShader::kInterpolateColorsInPremul_Flag : 0; in draw_grad()
72 for (int doPreMul = 0; doPreMul <= 1; ++doPreMul) { in onDraw() local
75 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul)); in onDraw()