Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkShadowUtils.cpp542 const SkPoint3& devLightPos, SkScalar lightRadius, in DrawShadow() argument
549 SkPoint pt = inverse.mapXY(devLightPos.fX, devLightPos.fY); in DrawShadow()
553 rec.fLightPos = { pt.fX, pt.fY, devLightPos.fZ }; in DrawShadow()
596 SkPoint3 devLightPos = map(viewMatrix, rec.fLightPos); in drawShadow() local
683 devLightPos, lightRadius, in drawShadow()
701 factory.fDevLightPos = devLightPos; in drawShadow()
708 SkDrawShadowMetrics::GetSpotParams(zPlaneParams.fZ, devLightPos.fX - center.fX, in drawShadow()
709 devLightPos.fY - center.fY, devLightPos.fZ, in drawShadow()
748 if (!SkDrawShadowMetrics::GetSpotShadowTransform(devLightPos, lightRadius, in drawShadow()
/external/skqp/src/utils/
DSkShadowUtils.cpp515 const SkPoint3& devLightPos, SkScalar lightRadius, in DrawShadow() argument
522 SkPoint pt = inverse.mapXY(devLightPos.fX, devLightPos.fY); in DrawShadow()
526 rec.fLightPos = { pt.fX, pt.fY, devLightPos.fZ }; in DrawShadow()
564 SkPoint3 devLightPos = map(viewMatrix, rec.fLightPos); in drawShadow() local
651 devLightPos, lightRadius, in drawShadow()
669 factory.fDevLightPos = devLightPos; in drawShadow()
676 SkDrawShadowMetrics::GetSpotParams(zPlaneParams.fZ, devLightPos.fX - center.fX, in drawShadow()
677 devLightPos.fY - center.fY, devLightPos.fZ, in drawShadow()
716 if (!SkDrawShadowMetrics::GetSpotShadowTransform(devLightPos, lightRadius, in drawShadow()
/external/skqp/src/core/
DSkDrawShadowInfo.cpp143 SkPoint devLightPos = SkPoint::Make(rec.fLightPos.fX, rec.fLightPos.fY); in GetLocalBounds() local
144 ctm.mapPoints(&devLightPos, 1); in GetLocalBounds()
145 SkDrawShadowMetrics::GetSpotParams(occluderZ, devLightPos.fX, devLightPos.fY, in GetLocalBounds()
/external/skia/src/core/
DSkDrawShadowInfo.cpp143 SkPoint devLightPos = SkPoint::Make(rec.fLightPos.fX, rec.fLightPos.fY); in GetLocalBounds() local
144 ctm.mapPoints(&devLightPos, 1); in GetLocalBounds()
145 SkDrawShadowMetrics::GetSpotParams(occluderZ, devLightPos.fX, devLightPos.fY, in GetLocalBounds()
/external/skia/tests/
DShadowTest.cpp136 SkPoint3 devLightPos = SkPoint3::Make(mapXY.fX, mapXY.fY, rec.fLightPos.fZ); in check_xformed_bounds() local
137 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
/external/skqp/tests/
DShadowTest.cpp136 SkPoint3 devLightPos = SkPoint3::Make(mapXY.fX, mapXY.fY, rec.fLightPos.fZ); in check_xformed_bounds() local
137 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp1197 SkPoint3 devLightPos = map(viewMatrix, rec.fLightPos); in drawFastShadow() local
1246 SkDrawShadowMetrics::GetSpotParams(occluderHeight, devLightPos.fX, devLightPos.fY, in drawFastShadow()
1247 devLightPos.fZ, rec.fLightRadius, in drawFastShadow()
/external/skia/src/gpu/
DGrRenderTargetContext.cpp1290 SkPoint3 devLightPos = map(viewMatrix, rec.fLightPos); in drawFastShadow() local
1339 SkDrawShadowMetrics::GetSpotParams(occluderHeight, devLightPos.fX, devLightPos.fY, in drawFastShadow()
1340 devLightPos.fZ, rec.fLightRadius, in drawFastShadow()