Lines Matching refs:clamp
54 * We are faster in clamp, so always use that tiling when we can.
60 // for transforming to clamp.
454 case SkTileMode::kClamp: /* The gather_xxx stage will clamp for us. */ break;
460 case SkTileMode::kClamp: /* The gather_xxx stage will clamp for us. */ break;
725 // Subtract an ulp so the upper clamp limit excludes limit itself.
773 // repeat() and mirror() are written assuming they'll be followed by a [0,scale) clamp.
786 case SkTileMode::kClamp: /* we always clamp */ break;
792 case SkTileMode::kClamp: /* we always clamp */ break;
797 // Always clamp sample coordinates to [0,width), [0,height), both for memory
799 skvm::F32 clamped_x = clamp(sx, 0, u.clamp_w),
800 clamped_y = clamp(sy, 0, u.clamp_h);
931 c.r = clamp(c.r, 0.0f, limit);
932 c.g = clamp(c.g, 0.0f, limit);
933 c.b = clamp(c.b, 0.0f, limit);