/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 460 SkScalar ambientAlpha, SkScalar spotAlpha, SkColor color, in DrawShadow() argument 476 if (spotAlpha > 0) { in DrawShadow() 478 lightRadius, spotAlpha, flags)); in DrawShadow() 500 if (spotAlpha > 0) { in DrawShadow() 501 spotAlpha = SkTMin(spotAlpha, 1.f); in DrawShadow() 516 factory.fSpotAlpha = spotAlpha; in DrawShadow() 564 SkScalar ambientAlpha, SkScalar spotAlpha, SkColor color, in DrawUncachedShadow() argument 586 if (spotAlpha > 0) { in DrawUncachedShadow() 587 spotAlpha = SkTMin(spotAlpha, 1.f); in DrawUncachedShadow() 590 spotAlpha, transparent); in DrawUncachedShadow()
|
D | SkShadowTessellator.h | 38 SkScalar spotAlpha, bool transparent);
|
D | SkShadowTessellator.cpp | 653 SkScalar spotAlpha, bool transparent); 697 SkScalar spotAlpha, bool transparent) in SkSpotShadowTessellator() argument 720 fUmbraColor = SkColorSetARGB(255, 0, spotAlpha * 255.9999f, 255); in SkSpotShadowTessellator() 721 fPenumbraColor = SkColorSetARGB(255, 0, spotAlpha * 255.9999f, 0); in SkSpotShadowTessellator() 1290 SkScalar spotAlpha, bool transparent) { in MakeSpot() argument 1292 spotAlpha, transparent); in MakeSpot()
|
/external/skia/samplecode/ |
D | SampleAndroidShadows.cpp | 256 SkPoint3 lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawSpotShadow() argument 257 if (spotAlpha <= 0) { in drawSpotShadow() 292 : (unsigned char)(spotAlpha*255.999f), 0, 0, 0)); in drawSpotShadow() 301 SkPoint3 lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawSpotShadowAlt() argument 302 if (spotAlpha <= 0) { in drawSpotShadowAlt() 324 this->drawSpotShadow(canvas, path, zValue, lightPos, lightWidth, spotAlpha); in drawSpotShadowAlt() 398 unsigned char alpha = (unsigned char)(spotAlpha*255.999f); in drawSpotShadowAlt() 411 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 419 this->drawSpotShadowAlt(canvas, path, zValue, lightPos, lightWidth, spotAlpha); in drawShadowedPath() 426 spotAlpha = 0; in drawShadowedPath() [all …]
|
/external/skia/src/effects/shadows/ |
D | SkSpotShadowMaskFilter.cpp | 26 SkScalar lightRadius, SkScalar spotAlpha, uint32_t flags); 80 SkScalar lightRadius, SkScalar spotAlpha, in Make() argument 85 lightRadius, spotAlpha, flags)); in Make() 93 SkScalar spotAlpha, in SkSpotShadowMaskFilterImpl() argument 98 , fSpotAlpha(spotAlpha) in SkSpotShadowMaskFilterImpl() 129 const SkScalar spotAlpha = buffer.readScalar(); in CreateProc() local 133 spotAlpha, flags); in CreateProc()
|
D | SkSpotShadowMaskFilter.h | 29 SkScalar lightRadius, SkScalar spotAlpha,
|
/external/skia/include/utils/ |
D | SkShadowUtils.h | 42 SkScalar spotAlpha, SkColor color, 67 SkScalar ambientAlpha, SkScalar spotAlpha, SkColor color,
|
/external/skia/gm/ |
D | shadowutils.cpp | 17 SkScalar spotAlpha = isAmbient ? 0.f : .5f; in draw_shadow() local 18 SkShadowUtils::DrawShadow(canvas, path, height, lightPos, lightR, ambientAlpha, spotAlpha, in draw_shadow()
|