Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/renderfright/gl/
DGLSkiaShadowPort.cpp353 float umbraInset = args.fUmbraInset; in fillInRRectVerts() local
355 if (umbraInset > minDim) { in fillInRRectVerts()
356 umbraInset = minDim; in fillInRRectVerts()
359 float xInner[4] = {bounds.left + umbraInset, bounds.right - umbraInset, in fillInRRectVerts()
360 bounds.left + umbraInset, bounds.right - umbraInset}; in fillInRRectVerts()
364 float yInner[4] = {bounds.top + umbraInset, bounds.top + umbraInset, bounds.bottom - umbraInset, in fillInRRectVerts()
365 bounds.bottom - umbraInset}; in fillInRRectVerts()
382 vec2 outerVec = vec2(outerRadius - umbraInset, -outerRadius - umbraInset); in fillInRRectVerts()
388 float diagVal = umbraInset / (SK_ScalarSqrt2 * (outerRadius - umbraInset) - outerRadius); in fillInRRectVerts()
390 float distanceCorrection = umbraInset / blurRadius; in fillInRRectVerts()
[all …]