Lines Matching defs:gradient
27 // use the textured gradient
35 // MakeColorizer to transparently take care of hard stops at the end points of the gradient.
164 // precision capabilities of half floats, which can lead to inaccurate gradient calculations
242 // The "looping" colorizer uses a real loop to binary-search the array of gradient stops.
344 // 3 color gradient is two intervals, but a 4 color gradient with a hard stop is also
345 // two intervals. At the most extreme end, an 8 interval gradient made entirely of hard
350 // Already reached our output limit, and haven't run out of color stops. This gradient
381 // Definitely cannot represent this gradient configuration
404 // Definitely cannot represent this gradient configuration
432 // the gradient.
458 // (but it may have originally been a 3 or 4 color gradient with 1-2 hard stops at the ends)
488 // Must be a dual interval gradient, where the middle point is at 1 and the
500 // The gradient can't be represented in only two intervals.
522 // Otherwise fall back to a rasterized gradient sampled by a texture, which can handle
534 // regardless of the gradient's stop colors.
671 // gradient's tile mode
683 // Wrap the layout in a matrix effect to apply the gradient's matrix:
740 std::unique_ptr<GrFragmentProcessor> gradient;
743 gradient = make_tiled_gradient(args, std::move(colorizer), std::move(layout),
747 gradient = make_tiled_gradient(args, std::move(colorizer), std::move(layout),
755 gradient = make_clamped_gradient(std::move(colorizer), std::move(layout),
760 // Even if the gradient colors are opaque, the decal borders are transparent so
762 gradient = make_clamped_gradient(std::move(colorizer), std::move(layout),
768 return gradient;
775 // We add a tiny delta to t. When gradient stops are set up so that a hard stop in a vertically
776 // or horizontally oriented gradient falls exactly at a column or row of pixel centers we can
781 // If/when we add filtering of the gradient this can be removed.
787 // The linear gradient never rejects a pixel so it doesn't change opacity
800 // The radial gradient never rejects a pixel so it doesn't change opacity
830 // The sweep gradient never rejects a pixel so it doesn't change opacity
841 // The 2 point conical gradient can reject a pixel so it does change opacity even if the input
885 // to have |dr| = 1, so manually compute the final gradient matrix here.
990 // a non-gradient processor.