Home
last modified time | relevance | path

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

/external/skia/tests/
DShadowTest.cpp145 SkPoint3 devLightPos = SkPoint3::Make(mapXY.fX, mapXY.fY, rec.fLightPos.fZ); in check_xformed_bounds() local
146 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
163 devLightPos = rec.fLightPos; in check_xformed_bounds()
164 devLightPos.normalize(); in check_xformed_bounds()
165 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
/external/skia/src/utils/
DSkShadowUtils.cpp656 SkPoint3 devLightPos = rec.fLightPos; in drawShadow() local
658 devLightPos.normalize(); in drawShadow()
660 viewMatrix.mapPoints((SkPoint*)&devLightPos.fX, 1); in drawShadow()
749 devLightPos, lightRadius, in drawShadow()
768 factory.fDevLightPos = devLightPos; in drawShadow()
776 SkDrawShadowMetrics::GetDirectionalParams(zPlaneParams.fZ, devLightPos.fX, in drawShadow()
777 devLightPos.fY, devLightPos.fZ, in drawShadow()
781 SkDrawShadowMetrics::GetSpotParams(zPlaneParams.fZ, devLightPos.fX - center.fX, in drawShadow()
782 devLightPos.fY - center.fY, devLightPos.fZ, in drawShadow()
828 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.cpp160 SkPoint devLightPos = SkPoint::Make(rec.fLightPos.fX, rec.fLightPos.fY); in GetLocalBounds() local
161 ctm.mapPoints(&devLightPos, 1); in GetLocalBounds()
162 SkDrawShadowMetrics::GetSpotParams(occluderZ, devLightPos.fX, devLightPos.fY, in GetLocalBounds()
/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/skia/src/gpu/
DGrSurfaceDrawContext.cpp1166 SkPoint3 devLightPos = rec.fLightPos; in drawFastShadow() local
1169 devLightPos.normalize(); in drawFastShadow()
1172 viewMatrix.mapPoints((SkPoint*)&devLightPos.fX, 1); in drawFastShadow()
1224 SkDrawShadowMetrics::GetDirectionalParams(occluderHeight, devLightPos.fX, in drawFastShadow()
1225 devLightPos.fY, devLightPos.fZ, in drawFastShadow()
1229 SkDrawShadowMetrics::GetSpotParams(occluderHeight, devLightPos.fX, devLightPos.fY, in drawFastShadow()
1230 devLightPos.fZ, rec.fLightRadius, in drawFastShadow()
/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()