Lines Matching defs:value
333 // The computation of 'm' and 'value' is lifted from CPU backend.
337 float value = float(m) * 1.0 / 64.0 - 63.0 / 128.0;
339 data[y * 8 + x] = (uint8_t)((value + 0.5) * 255.f + 0.5f);
397 half value = table.eval(sk_FragCoord.xy).a - 0.5; // undo the bias in the table
398 // For each color channel, add the random offset to the channel value and then clamp
400 return half4(clamp(color.rgb + value * range, 0.0, color.a), color.a);
443 // a known constant value. In that case we can simply apply a color filter during this
464 // No gamut conversion - paintAlpha is a (linear) alpha value, splatted to all
465 // color channels. It's value should be treated as the same in ANY color space.
509 // No gamut conversion - paintAlpha is a (linear) alpha value, splatted to all
510 // color channels. It's value should be treated as the same in ANY color space.
556 if (bm.value() != SkBlendMode::kSrcOver) {
557 grPaint->setXPFactory(SkBlendMode_AsXPFactory(bm.value()));