Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkDrawShadowInfo.cpp23 auto heightFunc = [zPlaneParams] (SkScalar x, SkScalar y) { in GetSpotShadowTransform() local
26 SkScalar occluderHeight = heightFunc(pathBounds.centerX(), pathBounds.centerY()); in GetSpotShadowTransform()
48 SkScalar z = heightFunc(pathBounds.fLeft, pathBounds.fTop); in GetSpotShadowTransform()
50 z = heightFunc(pathBounds.fRight, pathBounds.fTop); in GetSpotShadowTransform()
52 z = heightFunc(pathBounds.fRight, pathBounds.fBottom); in GetSpotShadowTransform()
54 z = heightFunc(pathBounds.fLeft, pathBounds.fBottom); in GetSpotShadowTransform()
/external/skia/src/core/
DSkDrawShadowInfo.cpp23 auto heightFunc = [zPlaneParams] (SkScalar x, SkScalar y) { in GetSpotShadowTransform() local
26 SkScalar occluderHeight = heightFunc(pathBounds.centerX(), pathBounds.centerY()); in GetSpotShadowTransform()
48 SkScalar z = heightFunc(pathBounds.fLeft, pathBounds.fTop); in GetSpotShadowTransform()
50 z = heightFunc(pathBounds.fRight, pathBounds.fTop); in GetSpotShadowTransform()
52 z = heightFunc(pathBounds.fRight, pathBounds.fBottom); in GetSpotShadowTransform()
54 z = heightFunc(pathBounds.fLeft, pathBounds.fBottom); in GetSpotShadowTransform()
/external/skqp/src/utils/
DSkShadowTessellator.cpp85 SkScalar heightFunc(SkScalar x, SkScalar y) { in heightFunc() function in SkBaseShadowTessellator
909 auto baseZ = heightFunc(path.getBounds().centerX(), path.getBounds().centerY()); in SkAmbientShadowTessellator()
/external/skia/src/utils/
DSkShadowTessellator.cpp85 SkScalar heightFunc(SkScalar x, SkScalar y) { in heightFunc() function in SkBaseShadowTessellator
909 auto baseZ = heightFunc(path.getBounds().centerX(), path.getBounds().centerY()); in SkAmbientShadowTessellator()