Home
last modified time | relevance | path

Searched refs:SkFractionalInt (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/core/
H A DSkBitmapProcState.h21 typedef SkFixed3232 SkFractionalInt; typedef
59 SkFractionalInt fInvSxFractionalInt;
60 SkFractionalInt fInvKyFractionalInt;
138 // Helper class for mapping the middle of pixel (x, y) into SkFractionalInt bitmap space.
171 // We scale it to persist SkFractionalInt -> SkFixed conversions. in SkBitmapProcStateAutoMapper()
177 fX = (SkFractionalInt)((uint64_t)SkScalarToFractionalInt(pt.x()) - in SkBitmapProcStateAutoMapper()
179 fY = (SkFractionalInt)((uint64_t)SkScalarToFractionalInt(pt.y()) - in SkBitmapProcStateAutoMapper()
188 SkFractionalInt fractionalIntX() const { return fX; } in fractionalIntX()
189 SkFractionalInt fractionalIntY() const { return fY; } in fractionalIntY()
198 SkFractionalInt f
[all...]
H A DSkBitmapProcState_matrixProcs.cpp19 * In addition, we use SkFractionalInt to keep more fractional precision than
29 // if decal_ kept SkFractionalInt precision, this would just be dx <= 0 in can_truncate_to_fixed_for_decal()
80 SkFractionalInt fx; in nofilter_scale()
94 const SkFractionalInt dx = s.fInvSxFractionalInt; in nofilter_scale()
127 SkFractionalInt fx = mapper.fractionalIntX(), in nofilter_affine()
171 const SkFractionalInt dx = s.fInvSxFractionalInt; in filter_scale()
172 SkFractionalInt fx; in filter_scale()
212 SkFractionalInt fx = mapper.fractionalIntX(), in filter_affine()
H A DSkBitmapProcState.cpp34 SkFractionalInt fx; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()
44 const SkFractionalInt dx = s.fInvSxFractionalInt; in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()

Completed in 3 milliseconds