Searched refs:SkScalarFloorToScalar (Results 1 – 17 of 17) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrNonAAStrokeRectOp.cpp | 109 bounds.set(SkScalarFloorToScalar(bounds.fLeft), in NonAAStrokeRectOp() 110 SkScalarFloorToScalar(bounds.fTop), in NonAAStrokeRectOp() 111 SkScalarFloorToScalar(bounds.fRight), in NonAAStrokeRectOp() 112 SkScalarFloorToScalar(bounds.fBottom)); in NonAAStrokeRectOp()
|
D | GrSmallPathRenderer.cpp | 175 translate = SkVector::Make(SkScalarFloorToScalar(translateX), in SmallPathOp() 176 SkScalarFloorToScalar(translateY)); in SmallPathOp() 292 SkScalar log = SkScalarFloorToScalar(SkScalarLog2(SkScalarInvert(maxScale))); in onPrepareDraws() 399 SkScalar dx = SkScalarFloorToScalar(scaledBounds.fLeft); in addDFPathToAtlas() 400 SkScalar dy = SkScalarFloorToScalar(scaledBounds.fTop); in addDFPathToAtlas() 514 SkScalar dx = SkScalarFloorToScalar(shapeDevBounds.fLeft); in addBMPathToAtlas() 515 SkScalar dy = SkScalarFloorToScalar(shapeDevBounds.fTop); in addBMPathToAtlas()
|
D | GrDashOp.cpp | 139 SkScalar numFullIntervals = SkScalarFloorToScalar(temp); in calc_end_adjustment() 142 *endingInt = *endingInt - SkScalarFloorToScalar(temp) * srcIntervalLen; in calc_end_adjustment()
|
/external/skia/gm/ |
D | mixedtextblobs.cpp | 144 canvas->translate(SkScalarFloorToScalar(bounds.width() + SkIntToScalar(25)), in onDraw() 145 -(x * SkScalarFloorToScalar(bounds.height() + in onDraw() 148 canvas->translate(0, SkScalarFloorToScalar(bounds.height() + SkIntToScalar(25))); in onDraw()
|
/external/skia/src/gpu/ |
D | GrClip.h | 119 return SkRect::MakeLTRB(SkScalarFloorToScalar(bounds.fLeft + kBoundsTolerance), in GetPixelBounds() 120 SkScalarFloorToScalar(bounds.fTop + kBoundsTolerance), in GetPixelBounds()
|
/external/skia/src/core/ |
D | SkLinearBitmapPipeline_tile.h | 149 return std::min(x - SkScalarFloorToScalar(x / base) * base, cap); in tile_mod() 278 if (SkScalarFloorToScalar(x) != 0.0f) { in maybeProcessSpan() 289 SkASSERT(SkScalarFloorToScalar(span.startX()) == 0.0f); in maybeProcessSpan() 398 SkScalar mod = bias - SkScalarFloorToScalar(div) * 2.0f * fYMax; in tileY()
|
D | SkBitmapScaler.cpp | 143 destSubsetLo = SkScalarFloorToScalar(destSubsetLo); in computeFilters() 150 float srcBegin = SkTMax(0.f, SkScalarFloorToScalar(srcPixel - srcSupport)); in computeFilters()
|
D | SkColor.cpp | 85 SkScalar w = SkScalarFloorToScalar(hx); in SkHSVToColor()
|
D | SkRasterClip.cpp | 359 return x - SkScalarFloorToScalar(x) < domain; in nearly_integral()
|
D | SkClipStack.cpp | 410 fFiniteBound.set(SkScalarFloorToScalar(fFiniteBound.fLeft+0.45f), in updateBoundAndGenID()
|
/external/skia/bench/ |
D | GameBench.cpp | 178 fSaved[fNumSaved][0] = SkScalarFloorToScalar(fSaved[fNumSaved][0]); in onDraw() 179 fSaved[fNumSaved][1] = SkScalarFloorToScalar(fSaved[fNumSaved][1]); in onDraw()
|
/external/skia/tests/ |
D | SkLinearBitmapPipelineTest.cpp | 137 fPoints->push_back({SkScalarFloorToScalar(X(pt)), SkScalarFloorToScalar(Y(pt))}); in compare_tiler_case()
|
D | ClipStackTest.cpp | 1000 rect.setXYWH(SkScalarFloorToScalar(xy.fX), in test_reduced_clip_stack() 1001 SkScalarFloorToScalar(xy.fY), in test_reduced_clip_stack() 1346 sx = SkScalarFloorToScalar(sx * alignedRect.width()) / alignedRect.width(); in test_reduced_clip_stack_aa() 1348 sy = SkScalarFloorToScalar(sy * alignedRect.height()) / alignedRect.height(); in test_reduced_clip_stack_aa()
|
/external/skia/src/shaders/ |
D | SkPictureShader.cpp | 230 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), in refBitmapShader() 231 SkScalarFloorToScalar(scaledSize.height() * downScale)); in refBitmapShader()
|
D | SkPerlinNoiseShader.cpp | 247 SkScalarFloorToScalar(tileWidth * fBaseFrequency.fX) / tileWidth; in stitch() 259 SkScalarFloorToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch() 565 SkScalar px = x - SkScalarFloorToScalar(x); in calculateImprovedNoiseValueForPoint() 566 SkScalar py = y - SkScalarFloorToScalar(y); in calculateImprovedNoiseValueForPoint() 567 SkScalar pz = z - SkScalarFloorToScalar(z); in calculateImprovedNoiseValueForPoint()
|
/external/skia/include/core/ |
D | SkScalar.h | 29 #define SkScalarFloorToScalar(x) sk_float_floor(x) macro
|
D | SkRect.h | 862 dst->set(SkScalarFloorToScalar(fLeft), in roundOut() 863 SkScalarFloorToScalar(fTop), in roundOut()
|