/third_party/skia/gm/ |
D | lighting.cpp | 74 SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in onDraw() local 75 SkPoint3 spotLocation = SkPoint3::Make(spotTarget.fX + 70.7214f * cosAzimuth, in onDraw() 76 spotTarget.fY + 70.7214f * sinAzimuth, in onDraw() 77 spotTarget.fZ + SkIntToScalar(20)); in onDraw() 83 SkPoint3 pointLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in onDraw() 84 spotTarget.fY + 50 * sinAzimuth, in onDraw() 117 spotLocation, spotTarget, spotExponent1, cutoffAngleSmall, SK_ColorWHITE, in onDraw() 123 spotLocation, spotTarget, spotExponent10, cutoffAngleNone, SK_ColorWHITE, in onDraw() 129 spotLocation, spotTarget, spotExponent1, cutoffAngleNone, SK_ColorWHITE, in onDraw() 150 spotLocation, spotTarget, spotExponent1, cutoffAngleSmall, SK_ColorWHITE, in onDraw() [all …]
|
D | imagemakewithfilter.cpp | 153 SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in lighting_factory() local 154 SkPoint3 diffLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in lighting_factory() 155 spotTarget.fY + 50 * sinAzimuth, in lighting_factory() 157 SkPoint3 specLocation = SkPoint3::Make(spotTarget.fX - 50 * sinAzimuth, in lighting_factory() 158 spotTarget.fY + 50 * cosAzimuth, in lighting_factory()
|
D | imagefiltersscaled.cpp | 88 SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in onDraw() local 109 SkImageFilters::SpotLitDiffuse(spotLocation, spotTarget, spotExponent, in onDraw()
|
/third_party/flutter/skia/gm/ |
D | lighting.cpp | 75 SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in onDraw() local 76 SkPoint3 spotLocation = SkPoint3::Make(spotTarget.fX + 70.7214f * cosAzimuth, in onDraw() 77 spotTarget.fY + 70.7214f * sinAzimuth, in onDraw() 78 spotTarget.fZ + SkIntToScalar(20)); in onDraw() 81 SkPoint3 pointLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in onDraw() 82 spotTarget.fY + 50 * sinAzimuth, in onDraw() 114 spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, kd, in onDraw() 129 spotLocation, spotTarget, spotExponent, cutoffAngle, white, surfaceScale, ks, in onDraw()
|
D | imagemakewithfilter.cpp | 153 SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in lighting_factory() local 154 SkPoint3 diffLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in lighting_factory() 155 spotTarget.fY + 50 * sinAzimuth, in lighting_factory() 157 SkPoint3 specLocation = SkPoint3::Make(spotTarget.fX - 50 * sinAzimuth, in lighting_factory() 158 spotTarget.fY + 50 * cosAzimuth, in lighting_factory()
|
D | imagefiltersscaled.cpp | 94 SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in onDraw() local 114 SkImageFilters::SpotLitDiffuse(spotLocation, spotTarget, spotExponent, in onDraw()
|
/third_party/skia/bench/ |
D | LightingBench.cpp | 55 static SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in GetSpotTarget() local 56 return spotTarget; in GetSpotTarget()
|
/third_party/flutter/skia/bench/ |
D | LightingBench.cpp | 55 static SkPoint3 spotTarget = SkPoint3::Make(SkIntToScalar(40), SkIntToScalar(40), 0); in GetSpotTarget() local 56 return spotTarget; in GetSpotTarget()
|