/external/skia/src/effects/gradients/ |
D | SkRadialGradient.cpp | 86 SkFixed fy = SkScalarToFixed(sfy) >> 1; in shadeSpan16_radial_clamp() local 91 fy = SkPin32(fy, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp() 92 fy *= fy; in shadeSpan16_radial_clamp() 95 unsigned fi = (xx * xx + fy) >> (14 + 16 - kSQRT_TABLE_BITS); in shadeSpan16_radial_clamp() 105 unsigned fi = SkPin32(fy, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp() 109 fy += dy; in shadeSpan16_radial_clamp() 118 void shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, in shadeSpan16_radial() argument 122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan16_radial() 128 fy += dy; in shadeSpan16_radial() 132 void shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, in shadeSpan16_radial_mirror() argument [all …]
|
D | SkTwoPointRadialGradient.cpp | 85 inline SkFixed two_point_radial(SkScalar b, SkScalar fx, SkScalar fy, in two_point_radial() argument 88 SkScalar c = SkScalarSquare(fx) + SkScalarSquare(fy) - sr2d2; in two_point_radial() 108 SkScalar fy, SkScalar dy, 115 SkScalar fy, SkScalar dy, in shadeSpan_twopoint_clamp() argument 121 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, in shadeSpan_twopoint_clamp() 127 fy += dy; in shadeSpan_twopoint_clamp() 132 SkScalar fy, SkScalar dy, in shadeSpan_twopoint_mirror() argument 138 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, in shadeSpan_twopoint_mirror() 144 fy += dy; in shadeSpan_twopoint_mirror() 150 SkScalar fy, SkScalar dy, in shadeSpan_twopoint_repeat() argument [all …]
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
D | SkRadialGradient.cpp | 86 SkFixed fy = SkScalarToFixed(sfy) >> 1; in shadeSpan16_radial_clamp() local 91 fy = SkPin32(fy, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp() 92 fy *= fy; in shadeSpan16_radial_clamp() 95 unsigned fi = (xx * xx + fy) >> (14 + 16 - kSQRT_TABLE_BITS); in shadeSpan16_radial_clamp() 105 unsigned fi = SkPin32(fy, -0xFFFF >> 1, 0xFFFF >> 1); in shadeSpan16_radial_clamp() 109 fy += dy; in shadeSpan16_radial_clamp() 118 void shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, in shadeSpan16_radial() argument 122 const SkFixed dist = SkFloatToFixed(sk_float_sqrt(fx*fx + fy*fy)); in shadeSpan16_radial() 128 fy += dy; in shadeSpan16_radial() 132 void shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, in shadeSpan16_radial_mirror() argument [all …]
|
D | SkTwoPointRadialGradient.cpp | 85 inline SkFixed two_point_radial(SkScalar b, SkScalar fx, SkScalar fy, in two_point_radial() argument 88 SkScalar c = SkScalarSquare(fx) + SkScalarSquare(fy) - sr2d2; in two_point_radial() 108 SkScalar fy, SkScalar dy, 115 SkScalar fy, SkScalar dy, in shadeSpan_twopoint_clamp() argument 121 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, in shadeSpan_twopoint_clamp() 127 fy += dy; in shadeSpan_twopoint_clamp() 132 SkScalar fy, SkScalar dy, in shadeSpan_twopoint_mirror() argument 138 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, in shadeSpan_twopoint_mirror() 144 fy += dy; in shadeSpan_twopoint_mirror() 150 SkScalar fy, SkScalar dy, in shadeSpan_twopoint_repeat() argument [all …]
|
/external/skia/src/opts/ |
D | SkBitmapProcState_matrixProcs_neon.cpp | 123 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) argument 127 #define TILEY_PROCF_NEON4(fy, max) sbpsm_clamp_tile4(fy, max) argument 129 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF) argument 131 #define TILEY_LOW_BITS_NEON4(fy, max) sbpsm_clamp_tile4_low_bits(fy) argument 137 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1)) argument 141 #define TILEY_PROCF_NEON4(fy, max) sbpsm_repeat_tile4(fy, max) argument 143 #define TILEY_LOW_BITS(fy, max) ((((fy) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument 145 #define TILEY_LOW_BITS_NEON4(fy, max) sbpsm_repeat_tile4_low_bits(fy, max) argument
|
D | SkBitmapProcState_matrix_neon.h | 122 SkFractionalInt fy = SkScalarToFractionalInt(srcPt.fY); in AFFINE_NOFILTER_NAME() local 145 ybase = vdupq_n_s32(SkFractionalIntToFixed(fy)); in AFFINE_NOFILTER_NAME() 146 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy), ybase, 1); in AFFINE_NOFILTER_NAME() 147 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy+dy), ybase, 2); in AFFINE_NOFILTER_NAME() 148 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy+dy+dy), ybase, 3); in AFFINE_NOFILTER_NAME() 171 fy += dy8; in AFFINE_NOFILTER_NAME() 177 *xy++ = (TILEY_PROCF(SkFractionalIntToFixed(fy), maxY) << 16) | in AFFINE_NOFILTER_NAME() 179 fx += dx; fy += dy; in AFFINE_NOFILTER_NAME() 305 const SkFixed fy = SkScalarToFixed(pt.fY) - (s.fFilterOneY >> 1); in SCALE_FILTER_NAME() local 308 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME() [all …]
|
D | SkBitmapProcState_opts_SSE2.cpp | 260 const SkFixed fy = SkScalarToFixed(pt.fY) - (s.fFilterOneY >> 1); in ClampX_ClampY_filter_scale_SSE2() local 263 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, s.fFilterOneY); in ClampX_ClampY_filter_scale_SSE2() 500 SkFixed fy = SkScalarToFixed(srcPt.fY) - (oneY >> 1); in ClampX_ClampY_filter_affine_SSE2() local 510 __m128i wide_f = _mm_set_epi32(fx + dx, fy + dy, fx, fy); in ClampX_ClampY_filter_affine_SSE2() 544 fy += dy2; in ClampX_ClampY_filter_affine_SSE2() 551 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, oneY); in ClampX_ClampY_filter_affine_SSE2() 552 fy += dy; in ClampX_ClampY_filter_affine_SSE2() 574 SkFixed fy = SkScalarToFixed(srcPt.fY); in ClampX_ClampY_nofilter_affine_SSE2() local 582 *xy++ = (SkClampMax(fy >> 16, maxY) << 16) | in ClampX_ClampY_nofilter_affine_SSE2() 585 fy += dy; in ClampX_ClampY_nofilter_affine_SSE2() [all …]
|
/external/chromium_org/third_party/skia/src/opts/ |
D | SkBitmapProcState_matrixProcs_neon.cpp | 123 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) argument 127 #define TILEY_PROCF_NEON4(fy, max) sbpsm_clamp_tile4(fy, max) argument 129 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF) argument 131 #define TILEY_LOW_BITS_NEON4(fy, max) sbpsm_clamp_tile4_low_bits(fy) argument 137 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1)) argument 141 #define TILEY_PROCF_NEON4(fy, max) sbpsm_repeat_tile4(fy, max) argument 143 #define TILEY_LOW_BITS(fy, max) ((((fy) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument 145 #define TILEY_LOW_BITS_NEON4(fy, max) sbpsm_repeat_tile4_low_bits(fy, max) argument
|
D | SkBitmapProcState_matrix_neon.h | 122 SkFractionalInt fy = SkScalarToFractionalInt(srcPt.fY); in AFFINE_NOFILTER_NAME() local 145 ybase = vdupq_n_s32(SkFractionalIntToFixed(fy)); in AFFINE_NOFILTER_NAME() 146 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy), ybase, 1); in AFFINE_NOFILTER_NAME() 147 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy+dy), ybase, 2); in AFFINE_NOFILTER_NAME() 148 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy+dy+dy), ybase, 3); in AFFINE_NOFILTER_NAME() 171 fy += dy8; in AFFINE_NOFILTER_NAME() 177 *xy++ = (TILEY_PROCF(SkFractionalIntToFixed(fy), maxY) << 16) | in AFFINE_NOFILTER_NAME() 179 fx += dx; fy += dy; in AFFINE_NOFILTER_NAME() 305 const SkFixed fy = SkScalarToFixed(pt.fY) - (s.fFilterOneY >> 1); in SCALE_FILTER_NAME() local 308 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME() [all …]
|
D | SkBitmapProcState_opts_SSE2.cpp | 260 const SkFixed fy = SkScalarToFixed(pt.fY) - (s.fFilterOneY >> 1); in ClampX_ClampY_filter_scale_SSE2() local 263 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, s.fFilterOneY); in ClampX_ClampY_filter_scale_SSE2() 500 SkFixed fy = SkScalarToFixed(srcPt.fY) - (oneY >> 1); in ClampX_ClampY_filter_affine_SSE2() local 510 __m128i wide_f = _mm_set_epi32(fx + dx, fy + dy, fx, fy); in ClampX_ClampY_filter_affine_SSE2() 544 fy += dy2; in ClampX_ClampY_filter_affine_SSE2() 551 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, oneY); in ClampX_ClampY_filter_affine_SSE2() 552 fy += dy; in ClampX_ClampY_filter_affine_SSE2() 574 SkFixed fy = SkScalarToFixed(srcPt.fY); in ClampX_ClampY_nofilter_affine_SSE2() local 582 *xy++ = (SkClampMax(fy >> 16, maxY) << 16) | in ClampX_ClampY_nofilter_affine_SSE2() 585 fy += dy; in ClampX_ClampY_nofilter_affine_SSE2() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
D | svga_state_framebuffer.c | 185 float fy = flip * viewport->scale[1] * -1.0 + viewport->translate[1]; in emit_viewport() local 199 fy, in emit_viewport() 223 prescale.translate[1] = fh - 1 + fy * 2; in emit_viewport() 225 fy -= fh; in emit_viewport() 237 if (fy < 0) { in emit_viewport() 239 prescale.translate[1] -= fy; in emit_viewport() 242 prescale.translate[1] += fy; in emit_viewport() 244 prescale.scale[1] *= fh / (fh + fy); in emit_viewport() 245 fh += fy; in emit_viewport() 246 fy = 0; in emit_viewport() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_framebuffer.c | 185 float fy = flip * viewport->scale[1] * -1.0 + viewport->translate[1]; in emit_viewport() local 199 fy, in emit_viewport() 223 prescale.translate[1] = fh - 1 + fy * 2; in emit_viewport() 225 fy -= fh; in emit_viewport() 237 if (fy < 0) { in emit_viewport() 239 prescale.translate[1] -= fy; in emit_viewport() 242 prescale.translate[1] += fy; in emit_viewport() 244 prescale.scale[1] *= fh / (fh + fy); in emit_viewport() 245 fh += fy; in emit_viewport() 246 fy = 0; in emit_viewport() [all …]
|
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_coords.cpp | 430 FX_FLOAT fx = a * dx, fy = b * dx; in TransformXDistance() local 431 return FXSYS_sqrt(fx * fx + fy * fy); in TransformXDistance() 435 FX_FLOAT fx = a * dx, fy = b * dx; in TransformXDistance() local 436 return FXSYS_round(FXSYS_sqrt(fx * fx + fy * fy)); in TransformXDistance() 440 FX_FLOAT fx = c * dy, fy = d * dy; in TransformYDistance() local 441 return FXSYS_sqrt(fx * fx + fy * fy); in TransformYDistance() 445 FX_FLOAT fx = c * dy, fy = d * dy; in TransformYDistance() local 446 return FXSYS_round(FXSYS_sqrt(fx * fx + fy * fy)); in TransformYDistance() 450 FX_FLOAT fx = a * dx + c * dy, fy = b * dx + d * dy; in TransformDistance() local 451 return FXSYS_sqrt(fx * fx + fy * fy); in TransformDistance() [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 53 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) argument 55 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF) argument 63 static unsigned Y(const SkBitmapProcState&, SkFixed fy, int max) { in Y() 64 return SkClampMax(fy >> 16, max); in Y() 90 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1)) argument 92 #define TILEY_LOW_BITS(fy, max) ((((fy) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument 99 static unsigned Y(const SkBitmapProcState&, SkFixed fy, int max) { in Y() 100 return SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1)); in Y() 124 #define TILEY_PROCF(fy, max) SK_USHIFT16(tileProcY(fy) * ((max) + 1)) argument 126 #define TILEY_LOW_BITS(fy, max) tileLowBitsProcY(fy, (max) + 1) argument [all …]
|
D | SkScan_Antihair.cpp | 100 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0; 101 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0; 109 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) SK_OVERRIDE { in drawCap() argument 110 fy += SK_Fixed1/2; in drawCap() 112 int y = fy >> 16; in drawCap() 113 uint8_t a = (uint8_t)(fy >> 8); in drawCap() 127 return fy - SK_Fixed1/2; in drawCap() 130 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, in drawLine() argument 134 fy += SK_Fixed1/2; in drawLine() 136 int y = fy >> 16; in drawLine() [all …]
|
D | SkBitmapProcState_procs.h | 302 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) argument 304 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF) argument 315 #define TILEY_PROCF(fy, max) (((fy) & 0xFFFF) * ((max) + 1) >> 16) argument 317 #define TILEY_LOW_BITS(fy, max) ((((fy) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument 328 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) argument 330 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF) argument
|
/external/skia/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 53 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max) argument 55 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF) argument 63 static unsigned Y(const SkBitmapProcState&, SkFixed fy, int max) { in Y() 64 return SkClampMax(fy >> 16, max); in Y() 90 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1)) argument 92 #define TILEY_LOW_BITS(fy, max) ((((fy) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) argument 99 static unsigned Y(const SkBitmapProcState&, SkFixed fy, int max) { in Y() 100 return SK_USHIFT16(((fy) & 0xFFFF) * ((max) + 1)); in Y() 124 #define TILEY_PROCF(fy, max) SK_USHIFT16(tileProcY(fy) * ((max) + 1)) argument 126 #define TILEY_LOW_BITS(fy, max) tileLowBitsProcY(fy, (max) + 1) argument [all …]
|
D | SkScan_Antihair.cpp | 100 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0; 101 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0; 109 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) SK_OVERRIDE { in drawCap() argument 110 fy += SK_Fixed1/2; in drawCap() 112 int y = fy >> 16; in drawCap() 113 uint8_t a = (uint8_t)(fy >> 8); in drawCap() 127 return fy - SK_Fixed1/2; in drawCap() 130 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, in drawLine() argument 134 fy += SK_Fixed1/2; in drawLine() 136 int y = fy >> 16; in drawLine() [all …]
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_ListCtrl.cpp | 100 FX_FLOAT fy = 0.0f - m_fTopSpace; in ResetAll() local 104 fy = pChild->GetWindowRect().bottom - m_fItemSpace; in ResetAll() 122 pChild->Move(CPDF_Rect(fLeft, fy-fItemHeight, fWidth - fRight, fy), TRUE, FALSE); in ResetAll() 123 fy -= fItemHeight; in ResetAll() 124 fy -= m_fItemSpace; in ResetAll() 129 fy += m_fItemSpace; in ResetAll() 131 fy -= m_fBottomSpace; in ResetAll() 138 m_rcContent.bottom = fy; in ResetAll()
|
/external/skia/experimental/Intersection/ |
D | EdgeWalkerPolygon4x4_Test.cpp | 30 int fy = f >> 2; in testSimplify4x4QuadralateralsMain() local 45 path.lineTo(fx, fy); in testSimplify4x4QuadralateralsMain() 57 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy); in testSimplify4x4QuadralateralsMain() 128 int fy = f >> 2; in testSimplify4x4NondegeneratesMain() local 129 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) { in testSimplify4x4NondegeneratesMain() 140 path.lineTo(fx, fy); in testSimplify4x4NondegeneratesMain() 150 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy); in testSimplify4x4NondegeneratesMain() 222 int fy = f >> 2; in testSimplify4x4DegeneratesMain() local 223 if (state.d && (ex - dx) * (fy - dy) in testSimplify4x4DegeneratesMain() 235 path.lineTo(fx, fy); in testSimplify4x4DegeneratesMain() [all …]
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | EdgeWalkerPolygon4x4_Test.cpp | 30 int fy = f >> 2; in testSimplify4x4QuadralateralsMain() local 45 path.lineTo(fx, fy); in testSimplify4x4QuadralateralsMain() 57 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy); in testSimplify4x4QuadralateralsMain() 128 int fy = f >> 2; in testSimplify4x4NondegeneratesMain() local 129 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) { in testSimplify4x4NondegeneratesMain() 140 path.lineTo(fx, fy); in testSimplify4x4NondegeneratesMain() 150 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy); in testSimplify4x4NondegeneratesMain() 222 int fy = f >> 2; in testSimplify4x4DegeneratesMain() local 223 if (state.d && (ex - dx) * (fy - dy) in testSimplify4x4DegeneratesMain() 235 path.lineTo(fx, fy); in testSimplify4x4DegeneratesMain() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_aalinetemp.h | 41 const GLfloat fy = (GLfloat) iy; in NAME() local 60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane); in NAME() 62 line->span.array->rgba[i][RCOMP] = solve_plane_chan(fx, fy, line->rPlane); in NAME() 63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane); in NAME() 64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane); in NAME() 65 line->span.array->rgba[i][ACOMP] = solve_plane_chan(fx, fy, line->aPlane); in NAME() 73 const GLfloat invQ = solve_plane_recip(fx, fy, line->attrPlane[attr][3]); in NAME() 76 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invQ; in NAME() 85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane); in NAME() 88 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invW; in NAME()
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
D | s_aalinetemp.h | 41 const GLfloat fy = (GLfloat) iy; in NAME() local 60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane); in NAME() 62 line->span.array->rgba[i][RCOMP] = solve_plane_chan(fx, fy, line->rPlane); in NAME() 63 line->span.array->rgba[i][GCOMP] = solve_plane_chan(fx, fy, line->gPlane); in NAME() 64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane); in NAME() 65 line->span.array->rgba[i][ACOMP] = solve_plane_chan(fx, fy, line->aPlane); in NAME() 73 const GLfloat invQ = solve_plane_recip(fx, fy, line->attrPlane[attr][3]); in NAME() 76 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invQ; in NAME() 85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane); in NAME() 88 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invW; in NAME()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrBitmapTextContext.cpp | 245 SkFixed fy = SkScalarToFixed(y) + halfSampleY; in drawText() local 251 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); in drawText() 260 SkFixedFloorToFixed(fy), in drawText() 265 fy += glyph.fAdvanceY; in drawText() 324 SkFixed fy = SkScalarToFixed(tmsLoc.fY) + halfSampleY; in drawPosText() local 327 fx & fxMask, fy & fyMask); in drawPosText() 334 SkFixedFloorToFixed(fy), in drawPosText() 353 SkFixed fy = fixedLoc.fY + halfSampleY; in drawPosText() local 357 fx & fxMask, fy & fyMask); in drawPosText() 367 SkFixedFloorToFixed(fy), in drawPosText() [all …]
|
/external/skia/src/gpu/ |
D | GrBitmapTextContext.cpp | 247 SkFixed fy = SkScalarToFixed(y) + halfSampleY; in drawText() local 253 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); in drawText() 262 SkFixedFloorToFixed(fy), in drawText() 267 fy += glyph.fAdvanceY; in drawText() 326 SkFixed fy = SkScalarToFixed(tmsLoc.fY) + halfSampleY; in drawPosText() local 329 fx & fxMask, fy & fyMask); in drawPosText() 336 SkFixedFloorToFixed(fy), in drawPosText() 355 SkFixed fy = fixedLoc.fY + halfSampleY; in drawPosText() local 359 fx & fxMask, fy & fyMask); in drawPosText() 369 SkFixedFloorToFixed(fy), in drawPosText() [all …]
|