Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/renderfright/gl/
DGLSkiaShadowPort.cpp594 FloatRect spotShadowRect = shadowTransform.transform(casterRect); in getSpotShadowGeometry() local
602 insetWidth += spotShadowRect.getWidth(); in getSpotShadowGeometry()
619 maxOffset = std::max(std::max(std::abs(spotShadowRect.left - casterRect.left), in getSpotShadowGeometry()
620 std::abs(spotShadowRect.top - casterRect.top)), in getSpotShadowGeometry()
621 std::max(std::abs(spotShadowRect.right - casterRect.right), in getSpotShadowGeometry()
622 std::abs(spotShadowRect.bottom - casterRect.bottom))); in getSpotShadowGeometry()
625 vec2 upperLeftOffset = vec2(spotShadowRect.left - casterRect.left + dr, in getSpotShadowGeometry()
626 spotShadowRect.top - casterRect.top + dr); in getSpotShadowGeometry()
627 vec2 lowerRightOffset = vec2(spotShadowRect.right - casterRect.right - dr, in getSpotShadowGeometry()
628 spotShadowRect.bottom - casterRect.bottom - dr); in getSpotShadowGeometry()
[all …]