Home
last modified time | relevance | path

Searched refs:SkFixedFloorToInt (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/core/
DSkScan_AAAPath.cpp306 if (SkFixedFloorToInt(y) != SkFixedFloorToInt(nextY)) { in flush_if_y_changed()
743 int L = SkFixedFloorToInt(ul), R = SkFixedCeilToInt(lr); in blit_aaa_trapezoid_row()
779 int uL = SkFixedFloorToInt(ul); in blit_aaa_trapezoid_row()
800 int uR = SkFixedFloorToInt(ur); in blit_aaa_trapezoid_row()
935 SkFixedFloorToInt(joinLeft), in blit_trapezoid_row()
936 SkFixedFloorToInt(joinRite - joinLeft), in blit_trapezoid_row()
1117 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()
1126 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()
1138 if (SkFixedFloorToInt(y) >= stop_y) { in aaa_walk_convex_edges()
1142 SkASSERT(SkFixedFloorToInt(leftE->fUpperY) <= stop_y); in aaa_walk_convex_edges()
[all …]
DSkScan.h130 dst->fLeft = SkFixedFloorToInt(xr.fLeft); in XRect_roundOut()
131 dst->fTop = SkFixedFloorToInt(xr.fTop); in XRect_roundOut()
DSkScan_Antihair.cpp409 top = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()
413 top = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()
486 left = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()
490 left = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()
DSkBitmapProcState_matrixProcs.cpp42 if ((unsigned)SkFixedFloorToInt(fx) >= max) { in can_truncate_to_fixed_for_decal()
49 return SkTFitsIn<int32_t>(lastFx) && (unsigned)SkFixedFloorToInt(SkTo<int32_t>(lastFx)) < max; in can_truncate_to_fixed_for_decal()
/external/skqp/src/core/
DSkScan_AAAPath.cpp302 if (SkFixedFloorToInt(y) != SkFixedFloorToInt(nextY)) { in flush_if_y_changed()
713 int L = SkFixedFloorToInt(ul), R = SkFixedCeilToInt(lr); in blit_aaa_trapezoid_row()
746 int uL = SkFixedFloorToInt(ul); in blit_aaa_trapezoid_row()
767 int uR = SkFixedFloorToInt(ur); in blit_aaa_trapezoid_row()
870 blit_full_alpha(blitter, y, SkFixedFloorToInt(joinLeft), in blit_trapezoid_row()
871 SkFixedFloorToInt(joinRite - joinLeft), in blit_trapezoid_row()
1017 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()
1026 if (SkFixedFloorToInt(currE->fUpperY) >= stop_y) { in aaa_walk_convex_edges()
1038 if (SkFixedFloorToInt(y) >= stop_y) { in aaa_walk_convex_edges()
1042 SkASSERT(SkFixedFloorToInt(leftE->fUpperY) <= stop_y); in aaa_walk_convex_edges()
[all …]
DSkScan_DAAPath.cpp91 int L = SkFixedFloorToInt(l); in add_coverage_delta_segment()
199 rectBot = SkFixedFloorToInt(l.fLowerY); in gen_alpha_deltas()
202 int R = SkFixedFloorToInt(r.fUpperX); in gen_alpha_deltas()
272 int iy = SkFixedFloorToInt(upperFloor); in gen_alpha_deltas()
DSkScan.h140 dst->fLeft = SkFixedFloorToInt(xr.fLeft); in XRect_roundOut()
141 dst->fTop = SkFixedFloorToInt(xr.fTop); in XRect_roundOut()
DSkScan_Antihair.cpp404 top = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()
408 top = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()
481 left = SkFixedFloorToInt(fstart - SK_FixedHalf); in do_anti_hairline()
485 left = SkFixedFloorToInt(fstart + (istop - istart - 1) * slope - SK_FixedHalf); in do_anti_hairline()
DSkBitmapProcState_matrixProcs.cpp49 if ((unsigned)SkFixedFloorToInt(fx) >= max) { in can_truncate_to_fixed_for_decal()
56 return SkTFitsIn<int32_t>(lastFx) && (unsigned)SkFixedFloorToInt(SkTo<int32_t>(lastFx)) < max; in can_truncate_to_fixed_for_decal()
/external/skqp/include/private/
DSkFixed.h76 #define SkFixedFloorToInt(x) ((x) >> 16) macro
/external/skia/include/private/
DSkFixed.h77 #define SkFixedFloorToInt(x) ((x) >> 16) macro
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp602 info->fItalicAngle = SkFixedFloorToInt(postTable->italicAngle); in onGetAdvancedMetrics()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp638 info->fItalicAngle = SkFixedFloorToInt(postTable->italicAngle); in onGetAdvancedMetrics()