Home
last modified time | relevance | path

Searched refs:insetWidth (Results 1 – 6 of 6) sorted by relevance

/external/skqp/src/gpu/ops/
DGrShadowRRectOp.cpp195 float devRadius, bool isCircle, float blurRadius, float insetWidth) in ShadowCircularRRectOp() argument
198 SkASSERT(insetWidth > 0); in ShadowCircularRRectOp()
213 innerRadius = devRadius - insetWidth; in ShadowCircularRRectOp()
216 if (insetWidth <= 0.5f*SkTMin(devRect.width(), devRect.height())) { in ShadowCircularRRectOp()
219 innerRadius = SkTMax(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp()
628 SkScalar insetWidth) { in Make() argument
641 SkScalar scaledInsetWidth = SkScalarAbs(insetWidth*matrixFactor); in Make()
670 SkScalar insetWidth = random->nextSScalar1() * 72.f; in GR_DRAW_OP_TEST_DEFINE() local
678 return GrShadowRRectOp::Make(context, color, viewMatrix, rrect, blurWidth, insetWidth); in GR_DRAW_OP_TEST_DEFINE()
685 return GrShadowRRectOp::Make(context, color, viewMatrix, rrect, blurWidth, insetWidth); in GR_DRAW_OP_TEST_DEFINE()
DGrShadowRRectOp.h27 SkScalar insetWidth);
/external/skia/src/gpu/ops/
DGrShadowRRectOp.cpp197 float devRadius, bool isCircle, float blurRadius, float insetWidth, in ShadowCircularRRectOp() argument
202 SkASSERT(insetWidth > 0); in ShadowCircularRRectOp()
217 innerRadius = devRadius - insetWidth; in ShadowCircularRRectOp()
220 if (insetWidth <= 0.5f*std::min(devRect.width(), devRect.height())) { in ShadowCircularRRectOp()
223 innerRadius = std::max(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp()
710 SkScalar insetWidth) { in Make() argument
728 SkScalar scaledInsetWidth = SkScalarAbs(insetWidth*matrixFactor); in Make()
762 SkScalar insetWidth = random->nextSScalar1() * 72.f; in GR_DRAW_OP_TEST_DEFINE() local
771 context, color, viewMatrix, rrect, blurWidth, insetWidth)) { in GR_DRAW_OP_TEST_DEFINE()
781 context, color, viewMatrix, rrect, blurWidth, insetWidth)) { in GR_DRAW_OP_TEST_DEFINE()
DGrShadowRRectOp.h28 SkScalar insetWidth);
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp1258 SkScalar insetWidth = blurOutset; in drawFastShadow() local
1261 insetWidth += spotShadowRRect.width(); in drawFastShadow()
1299 insetWidth += std::max(blurOutset, maxOffset); in drawFastShadow()
1318 insetWidth); in drawFastShadow()
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp1274 SkScalar insetWidth = blurOutset; in drawFastShadow() local
1277 insetWidth += spotShadowRRect.width(); in drawFastShadow()
1315 insetWidth += SkTMax(blurOutset, maxOffset); in drawFastShadow()
1334 insetWidth); in drawFastShadow()