Searched refs:doPreMul (Results 1 – 2 of 2) sorted by relevance
/external/skqp/gm/ |
D | alphagradients.cpp | 26 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/ |
D | alphagradients.cpp | 35 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()
|