Lines Matching refs:fx
256 SkFixed fx;
265 // now initialize fx
266 fx = SkScalarToFixed(pt.fX) - (one >> 1);
269 if (dx > 0 && (unsigned)(fx >> 16) <= maxX &&
270 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) {
274 SkASSERT((fx >> (16 + 14)) == 0);
275 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
276 fx += dx;
282 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2,
283 fx + dx, fx);
295 fx += dx * 4;
302 SkASSERT((fx >> (16 + 14)) == 0);
303 *xy++ = (fx >> 12 << 14) | ((fx >> 16) + 1);
304 fx += dx;
313 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one);
314 fx += dx;
318 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2,
319 fx + dx, fx);
335 // i<<4 | TILEX_LOW_BITS(fx)
355 fx += dx * 4;
362 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one);
363 fx += dx;
378 SkFixed fx;
382 fx = SkScalarToFixed(pt.fY);
384 *xy++ = SkClampMax(fx >> 16, maxY);
385 fx = SkScalarToFixed(pt.fX);
396 if ((unsigned)(fx >> 16) <= maxX &&
397 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) {
401 *xy++ = pack_two_shorts(fx >> 16, (fx + dx) >> 16);
402 fx += 2 * dx;
409 __m128i wide_low = _mm_set_epi32(fx + dx * 3, fx + dx * 2,
410 fx + dx, fx);
425 fx += dx * 8;
432 *xx++ = SkToU16(fx >> 16);
433 fx += dx;
442 *xy++ = pack_two_shorts(SkClampMax((fx + dx) >> 16, maxX),
443 SkClampMax(fx >> 16, maxX));
444 fx += 2 * dx;
451 __m128i wide_low = _mm_set_epi32(fx + dx * 3, fx + dx * 2,
452 fx + dx, fx);
475 fx += dx * 8;
482 *xx++ = SkClampMax(fx >> 16, maxX);
483 fx += dx;
500 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1);
511 __m128i wide_f = _mm_set_epi32(fx + dx, fy + dy, fx, fy);
544 fx += dx2;
554 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, oneX);
555 fx += dx;
574 SkFixed fx = SkScalarToFixed(srcPt.fX);
584 SkClampMax(fx >> 16, maxX);
585 fx += dx;
593 __m128i wide_fx = _mm_set_epi32(fx + dx * 3, fx + dx * 2,
594 fx + dx, fx);
604 // SkClampMax(fx>>16,maxX)
622 fx += dx4;
631 SkClampMax(fx >> 16, maxX);
632 fx += dx;