Home
last modified time | relevance | path

Searched refs:umbraInset (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/ops/
DGrShadowRRectOp.cpp201 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/
DGrShadowRRectOp.cpp201 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()
418 SkScalar umbraInset = args.fUmbraInset; in fillInRRectVerts() local
420 if (umbraInset > minDim) { in fillInRRectVerts()
421 umbraInset = minDim; in fillInRRectVerts()
424 SkScalar xInner[4] = { bounds.fLeft + umbraInset, bounds.fRight - umbraInset, in fillInRRectVerts()
425 bounds.fLeft + umbraInset, bounds.fRight - umbraInset }; in fillInRRectVerts()
[all …]