Searched refs:umbraInset (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 201 SkScalar umbraInset; in ShadowCircularRRectOp() local 205 umbraInset = 0; in ShadowCircularRRectOp() 207 umbraInset = SkTMax(outerRadius, blurRadius); in ShadowCircularRRectOp() 219 innerRadius = SkTMax(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp() 226 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp() 417 SkScalar umbraInset = args.fUmbraInset; in fillInRRectVerts() local 419 if (umbraInset > minDim) { in fillInRRectVerts() 420 umbraInset = minDim; in fillInRRectVerts() 423 SkScalar xInner[4] = { bounds.fLeft + umbraInset, bounds.fRight - umbraInset, in fillInRRectVerts() 424 bounds.fLeft + umbraInset, bounds.fRight - umbraInset }; in fillInRRectVerts() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 205 SkScalar umbraInset; in ShadowCircularRRectOp() local 209 umbraInset = 0; in ShadowCircularRRectOp() 211 umbraInset = std::max(outerRadius, blurRadius); in ShadowCircularRRectOp() 223 innerRadius = std::max(insetWidth - umbraInset, 0.0f); in ShadowCircularRRectOp() 230 fGeoData.emplace_back(Geometry{color, outerRadius, umbraInset, innerRadius, in ShadowCircularRRectOp() 404 SkScalar umbraInset = args.fUmbraInset; in fillInRRectVerts() local 406 if (umbraInset > minDim) { in fillInRRectVerts() 407 umbraInset = minDim; in fillInRRectVerts() 410 SkScalar xInner[4] = { bounds.fLeft + umbraInset, bounds.fRight - umbraInset, in fillInRRectVerts() 411 bounds.fLeft + umbraInset, bounds.fRight - umbraInset }; in fillInRRectVerts() [all …]
|