/external/skia/src/gpu/ops/ |
D | GrSmallPathShapeData.cpp | 36 tx -= SkScalarFloorToScalar(tx); in GrSmallPathShapeDataKey() 37 ty -= SkScalarFloorToScalar(ty); in GrSmallPathShapeDataKey()
|
D | GrSmallPathRenderer.cpp | 293 SkScalar log = SkScalarFloorToScalar(SkScalarLog2(SkScalarInvert(maxScale))); in onPrepareDraws() 409 SkScalar dx = SkScalarFloorToScalar(scaledBounds.fLeft); in addDFPathToAtlas() 410 SkScalar dy = SkScalarFloorToScalar(scaledBounds.fTop); in addDFPathToAtlas() 496 tx -= SkScalarFloorToScalar(tx); in addBMPathToAtlas() 497 ty -= SkScalarFloorToScalar(ty); in addBMPathToAtlas() 502 SkScalar dx = SkScalarFloorToScalar(shapeDevBounds.fLeft); in addBMPathToAtlas() 503 SkScalar dy = SkScalarFloorToScalar(shapeDevBounds.fTop); in addBMPathToAtlas() 559 translatedBounds.offset(SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransX)), in writePathVertices() 560 SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransY))); in writePathVertices()
|
D | GrStrokeRectOp.cpp | 147 bounds.setLTRB(SkScalarFloorToScalar(bounds.fLeft), in NonAAStrokeRectOp() 148 SkScalarFloorToScalar(bounds.fTop), in NonAAStrokeRectOp() 149 SkScalarFloorToScalar(bounds.fRight), in NonAAStrokeRectOp() 150 SkScalarFloorToScalar(bounds.fBottom)); in NonAAStrokeRectOp()
|
/external/skqp/gm/ |
D | mixedtextblobs.cpp | 138 canvas->translate(SkScalarFloorToScalar(bounds.width() + SkIntToScalar(25)), in onDraw() 139 -(x * SkScalarFloorToScalar(bounds.height() + in onDraw() 142 canvas->translate(0, SkScalarFloorToScalar(bounds.height() + SkIntToScalar(25))); in onDraw()
|
D | dashcubics.cpp | 130 start -= SkScalarFloorToScalar(start); in onDraw() 131 stop -= SkScalarFloorToScalar(stop); in onDraw()
|
/external/skia/gm/ |
D | mixedtextblobs.cpp | 145 canvas->translate(SkScalarFloorToScalar(bounds.width() + SkIntToScalar(25)), in onDraw() 146 -(x * SkScalarFloorToScalar(bounds.height() + in onDraw() 149 canvas->translate(0, SkScalarFloorToScalar(bounds.height() + SkIntToScalar(25))); in onDraw()
|
D | dashcubics.cpp | 140 start -= SkScalarFloorToScalar(start); in onDraw() 141 stop -= SkScalarFloorToScalar(stop); in onDraw()
|
D | texelsubset.cpp | 188 SkScalarFloorToScalar(drawRect.right() + kTestPad/2.f) + 0.5f; in onDraw() 194 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw() 202 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 90 tx -= SkScalarFloorToScalar(tx); in set() 91 ty -= SkScalarFloorToScalar(ty); in set() 413 SkScalar log = SkScalarFloorToScalar(SkScalarLog2(SkScalarInvert(maxScale))); in onPrepareDraws() 537 SkScalar dx = SkScalarFloorToScalar(scaledBounds.fLeft); in addDFPathToAtlas() 538 SkScalar dy = SkScalarFloorToScalar(scaledBounds.fTop); in addDFPathToAtlas() 659 tx -= SkScalarFloorToScalar(tx); in addBMPathToAtlas() 660 ty -= SkScalarFloorToScalar(ty); in addBMPathToAtlas() 665 SkScalar dx = SkScalarFloorToScalar(shapeDevBounds.fLeft); in addBMPathToAtlas() 666 SkScalar dy = SkScalarFloorToScalar(shapeDevBounds.fTop); in addBMPathToAtlas() 751 translatedBounds.offset(SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransX)), in writePathVertices() [all …]
|
D | GrStrokeRectOp.cpp | 152 bounds.set(SkScalarFloorToScalar(bounds.fLeft), in NonAAStrokeRectOp() 153 SkScalarFloorToScalar(bounds.fTop), in NonAAStrokeRectOp() 154 SkScalarFloorToScalar(bounds.fRight), in NonAAStrokeRectOp() 155 SkScalarFloorToScalar(bounds.fBottom)); in NonAAStrokeRectOp()
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | TrimPaths.cpp | 46 startT -= SkScalarFloorToScalar(startT); in onSync() 47 stopT -= SkScalarFloorToScalar(stopT); in onSync()
|
/external/skia/src/core/ |
D | SkGlyphBuffer.cpp | 88 return {SkScalarFloorToScalar(pt.x()), SkScalarFloorToScalar(pt.y())}; in startGPUDevice()
|
D | SkColor.cpp | 86 SkScalar w = SkScalarFloorToScalar(hx); in SkHSVToColor()
|
/external/skqp/src/gpu/ |
D | GrClip.h | 117 return SkRect::MakeLTRB(SkScalarFloorToScalar(bounds.fLeft + kBoundsTolerance), in GetPixelBounds() 118 SkScalarFloorToScalar(bounds.fTop + kBoundsTolerance), in GetPixelBounds()
|
/external/skia/include/core/ |
D | SkScalar.h | 29 #define SkScalarFloorToScalar(x) sk_float_floor(x) macro 116 return x == SkScalarFloorToScalar(x); in SkScalarIsInt()
|
/external/skqp/include/core/ |
D | SkScalar.h | 29 #define SkScalarFloorToScalar(x) sk_float_floor(x) macro 136 return x == SkScalarFloorToScalar(x); in SkScalarIsInt()
|
/external/skia/src/gpu/ |
D | GrClip.h | 214 return SkRect::MakeLTRB(SkScalarFloorToScalar(bounds.fLeft + kBoundsTolerance), in GetPixelBounds() 215 SkScalarFloorToScalar(bounds.fTop + kBoundsTolerance), in GetPixelBounds()
|
/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 281 point.fX = SkScalarFloorToScalar(point.fX); in processARGBFallback() 282 point.fY = SkScalarFloorToScalar(point.fY); in processARGBFallback() 312 SkScalarFloorToScalar(std::max(reducedTextSize, 0.5f * runFontTextSize)); in processARGBFallback() 846 SkPoint pt{SkScalarFloorToScalar(mask.position.fX), in generateFromGlyphRunList() 847 SkScalarFloorToScalar(mask.position.fY)}; in generateFromGlyphRunList() 856 SkPoint pt{SkScalarFloorToScalar(path.position.fX), in generateFromGlyphRunList() 857 SkScalarFloorToScalar(path.position.fY)}; in generateFromGlyphRunList()
|
D | SkColor.cpp | 85 SkScalar w = SkScalarFloorToScalar(hx); in SkHSVToColor()
|
/external/skqp/bench/ |
D | GameBench.cpp | 179 fSaved[fNumSaved][0] = SkScalarFloorToScalar(fSaved[fNumSaved][0]); in onDraw() 180 fSaved[fNumSaved][1] = SkScalarFloorToScalar(fSaved[fNumSaved][1]); in onDraw()
|
/external/skia/bench/ |
D | GameBench.cpp | 177 fSaved[fNumSaved][0] = SkScalarFloorToScalar(fSaved[fNumSaved][0]); in onDraw() 178 fSaved[fNumSaved][1] = SkScalarFloorToScalar(fSaved[fNumSaved][1]); in onDraw()
|
/external/skqp/modules/skottie/src/ |
D | SkottieAdapter.cpp | 247 startT -= SkScalarFloorToScalar(startT); in apply() 248 stopT -= SkScalarFloorToScalar(stopT); in apply()
|
/external/skqp/src/shaders/ |
D | SkPictureShader.cpp | 200 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), in refBitmapShader() 201 SkScalarFloorToScalar(scaledSize.height() * downScale)); in refBitmapShader()
|
D | SkPerlinNoiseShader.cpp | 277 SkScalarFloorToScalar(tileWidth * fBaseFrequency.fX) / tileWidth; in stitch() 290 SkScalarFloorToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch() 601 SkScalar px = x - SkScalarFloorToScalar(x); in calculateImprovedNoiseValueForPoint() 602 SkScalar py = y - SkScalarFloorToScalar(y); in calculateImprovedNoiseValueForPoint() 603 SkScalar pz = z - SkScalarFloorToScalar(z); in calculateImprovedNoiseValueForPoint()
|
/external/skia/src/shaders/ |
D | SkPictureShader.cpp | 206 size.set(SkScalarFloorToScalar(size.width() * downScale), in Make() 207 SkScalarFloorToScalar(size.height() * downScale)); in Make()
|