Home
last modified time | relevance | path

Searched refs:SkScalarFloorToScalar (Results 1 – 25 of 44) sorted by relevance

12

/external/skia/src/gpu/ops/
DGrSmallPathShapeData.cpp36 tx -= SkScalarFloorToScalar(tx); in GrSmallPathShapeDataKey()
37 ty -= SkScalarFloorToScalar(ty); in GrSmallPathShapeDataKey()
DGrSmallPathRenderer.cpp293 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()
DGrStrokeRectOp.cpp147 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/
Dmixedtextblobs.cpp138 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()
Ddashcubics.cpp130 start -= SkScalarFloorToScalar(start); in onDraw()
131 stop -= SkScalarFloorToScalar(stop); in onDraw()
/external/skia/gm/
Dmixedtextblobs.cpp145 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()
Ddashcubics.cpp140 start -= SkScalarFloorToScalar(start); in onDraw()
141 stop -= SkScalarFloorToScalar(stop); in onDraw()
Dtexelsubset.cpp188 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/
DGrSmallPathRenderer.cpp90 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 …]
DGrStrokeRectOp.cpp152 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/
DTrimPaths.cpp46 startT -= SkScalarFloorToScalar(startT); in onSync()
47 stopT -= SkScalarFloorToScalar(stopT); in onSync()
/external/skia/src/core/
DSkGlyphBuffer.cpp88 return {SkScalarFloorToScalar(pt.x()), SkScalarFloorToScalar(pt.y())}; in startGPUDevice()
DSkColor.cpp86 SkScalar w = SkScalarFloorToScalar(hx); in SkHSVToColor()
/external/skqp/src/gpu/
DGrClip.h117 return SkRect::MakeLTRB(SkScalarFloorToScalar(bounds.fLeft + kBoundsTolerance), in GetPixelBounds()
118 SkScalarFloorToScalar(bounds.fTop + kBoundsTolerance), in GetPixelBounds()
/external/skia/include/core/
DSkScalar.h29 #define SkScalarFloorToScalar(x) sk_float_floor(x) macro
116 return x == SkScalarFloorToScalar(x); in SkScalarIsInt()
/external/skqp/include/core/
DSkScalar.h29 #define SkScalarFloorToScalar(x) sk_float_floor(x) macro
136 return x == SkScalarFloorToScalar(x); in SkScalarIsInt()
/external/skia/src/gpu/
DGrClip.h214 return SkRect::MakeLTRB(SkScalarFloorToScalar(bounds.fLeft + kBoundsTolerance), in GetPixelBounds()
215 SkScalarFloorToScalar(bounds.fTop + kBoundsTolerance), in GetPixelBounds()
/external/skqp/src/core/
DSkGlyphRunPainter.cpp281 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()
DSkColor.cpp85 SkScalar w = SkScalarFloorToScalar(hx); in SkHSVToColor()
/external/skqp/bench/
DGameBench.cpp179 fSaved[fNumSaved][0] = SkScalarFloorToScalar(fSaved[fNumSaved][0]); in onDraw()
180 fSaved[fNumSaved][1] = SkScalarFloorToScalar(fSaved[fNumSaved][1]); in onDraw()
/external/skia/bench/
DGameBench.cpp177 fSaved[fNumSaved][0] = SkScalarFloorToScalar(fSaved[fNumSaved][0]); in onDraw()
178 fSaved[fNumSaved][1] = SkScalarFloorToScalar(fSaved[fNumSaved][1]); in onDraw()
/external/skqp/modules/skottie/src/
DSkottieAdapter.cpp247 startT -= SkScalarFloorToScalar(startT); in apply()
248 stopT -= SkScalarFloorToScalar(stopT); in apply()
/external/skqp/src/shaders/
DSkPictureShader.cpp200 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), in refBitmapShader()
201 SkScalarFloorToScalar(scaledSize.height() * downScale)); in refBitmapShader()
DSkPerlinNoiseShader.cpp277 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/
DSkPictureShader.cpp206 size.set(SkScalarFloorToScalar(size.width() * downScale), in Make()
207 SkScalarFloorToScalar(size.height() * downScale)); in Make()

12