HomeSort by relevance Sort by last modified time
    Searched defs:lightPos (Results 1 - 5 of 5) sorted by null

  /frameworks/base/libs/hwui/pipeline/skia/
ReorderBarrierDrawables.cpp 191 const Vector3 lightPos = SkiaPipeline::getLightCenter();
192 SkPoint3 skiaLightPos = SkPoint3::Make(lightPos.x, lightPos.y, lightPos.z);
  /external/skia/src/core/
SkRadialShadowMapShader.cpp 123 "lightPos",
187 const SkVector3& lightPos = radialShadowMapFP.lightPos();
188 if (lightPos != fLightPos) {
189 pdman.set3fv(fLightPosUni, 1, &lightPos.fX);
190 fLightPos = lightPos;
221 const SkVector3& lightPos() const {
  /external/skia/src/effects/shadows/
SkSpotShadowMaskFilter.cpp 25 SkSpotShadowMaskFilterImpl(SkScalar occluderHeight, const SkPoint3& lightPos,
79 sk_sp<SkMaskFilter> SkSpotShadowMaskFilter::Make(SkScalar occluderHeight, const SkPoint3& lightPos,
84 return sk_sp<SkMaskFilter>(new SkSpotShadowMaskFilterImpl(occluderHeight, lightPos,
91 const SkPoint3& lightPos,
96 , fLightPos(lightPos)
127 const SkPoint3 lightPos = SkPoint3::Make(lightX, lightY, lightZ);
132 return SkSpotShadowMaskFilter::Make(occluderHeight, lightPos, lightRadius,
333 str->append("lightPos: (");
  /external/skia/src/utils/
SkShadowPaintFilterCanvas.cpp 93 SkPoint3 lightPos = this->fLights->light(0).pos();
100 SkPoint lightPoint = SkPoint::Make(lightPos.fX, diffuseHeight - lightPos.fY);
114 SkScalar scale = (lightPos.fZ) / (lightPos.fZ - this->getZ());
118 ((lightPos.fZ - this->getZ()) * scale),
120 ((lightPos.fZ - this->getZ()) * scale));
  /external/skia/samplecode/
SampleAndroidShadows.cpp 256 SkPoint3 lightPos, SkScalar lightWidth, SkScalar spotAlpha) {
261 SkScalar zRatio = zValue / (lightPos.fZ - zValue);
275 SkPoint lightPos2D = SkPoint::Make(lightPos.fX, lightPos.fY);
279 SkScalar scale = lightPos.fZ / (lightPos.fZ - zValue);
301 SkPoint3 lightPos, SkScalar lightWidth, SkScalar spotAlpha) {
306 SkScalar zRatio = zValue / (lightPos.fZ - zValue);
324 this->drawSpotShadow(canvas, path, zValue, lightPos, lightWidth, spotAlpha);
341 SkScalar scale = lightPos.fZ / (lightPos.fZ - zValue)
    [all...]

Completed in 966 milliseconds