Lines Matching defs:profile
689 // This function creates a profile of a blurred circle. It does this by computing a kernel for
693 // the size of the profile being computed. Then for each of the n profile entries we walk out k
695 // kernel entry and sum these values to compute the profile entry.
707 // Number of x steps at which to apply kernel in y to cover all the profile samples in x.
727 static void create_half_plane_profile(uint8_t* profile, int profileWidth) {
738 // Populate the profile from the right edge to the middle.
742 profile[profileWidth - i - 1] = SkUnitScalarClampToByte(sum);
744 // Populate the profile from the middle to the left edge (by flipping the half kernel and
748 profile[halfKernelSize - i - 1] = SkUnitScalarClampToByte(sum);
751 profile[profileWidth - 1] = 0;
767 // profile texture (binned by powers of 2).
771 // Guassian and the profile texture is a just a Gaussian evaluation. However, we haven't yet
796 // the calculation of the profile coord in a coord space that has already been scaled by
846 std::unique_ptr<GrFragmentProcessor> profile =
848 if (!profile) {
869 "blurProfile", GrSkSLFP::IgnoreOptFlags(std::move(profile)),