/external/skia/gm/ |
D | shadowutils.cpp | 33 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() local 36 ambientColor, spotColor, flags); in draw_shadow() 128 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths() local 130 kLightR, ambientColor, spotColor, flags); in draw_paths() 189 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths() local 191 kLightR, ambientColor, spotColor, kNone_ShadowFlag); in draw_paths() 272 SkColor spotColor = SkColorSetARGB(0.35f * 255, 0, 0, 0); variable 284 kLightR, ambientColor, spotColor, 297 kLightR, ambientColor, spotColor, 311 kLightR, ambientColor, spotColor, [all …]
|
/external/skqp/gm/ |
D | shadowutils.cpp | 20 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() local 23 ambientColor, spotColor, flags); in draw_shadow() 109 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths() local 111 kLightR, ambientColor, spotColor, flags); in draw_paths() 166 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths() local 168 kLightR, ambientColor, spotColor, kNone_ShadowFlag); in draw_paths()
|
/external/skia/samplecode/ |
D | SampleMaterialShadows.cpp | 50 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local 52 ambientColor, spotColor, flags); in drawShadowedPath()
|
D | SampleShadowReference.cpp | 92 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local 95 ambientColor, spotColor, flags); in drawShadowedPath()
|
D | SampleShadowColor.cpp | 125 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() local 130 SK_ColorTRANSPARENT, spotColor, flags); in drawShadowedPath()
|
D | SampleShadowUtils.cpp | 140 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 255); in drawShadowedPath() local 143 ambientColor, spotColor, flags); in drawShadowedPath()
|
D | SampleAndroidShadows.cpp | 163 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local 165 ambientColor, spotColor, flags); in drawShadowedPath()
|
/external/skqp/include/utils/ |
D | SkShadowUtils.h | 41 SkColor ambientColor, SkColor spotColor,
|
/external/skia/include/utils/ |
D | SkShadowUtils.h | 46 SkColor ambientColor, SkColor spotColor,
|
/external/skqp/samplecode/ |
D | SampleShadowReference.cpp | 98 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local 101 ambientColor, spotColor, flags); in drawShadowedPath()
|
D | SampleShadowColor.cpp | 130 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() local 135 SK_ColorTRANSPARENT, spotColor, flags); in drawShadowedPath()
|
D | SampleShadowUtils.cpp | 148 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 255); in drawShadowedPath() local 151 ambientColor, spotColor, flags); in drawShadowedPath()
|
D | SampleAndroidShadows.cpp | 188 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local 190 ambientColor, spotColor, flags); in drawShadowedPath()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 568 SkColor ambientColor, SkColor spotColor, in fill_shadow_rec() argument 585 rec->fSpotColor = spotColor; in fill_shadow_rec() 594 SkColor ambientColor, SkColor spotColor, in DrawShadow() argument 597 if (!fill_shadow_rec(path, zPlaneParams, lightPos, lightRadius, ambientColor, spotColor, in DrawShadow()
|
/external/skqp/src/utils/ |
D | SkShadowUtils.cpp | 516 SkColor ambientColor, SkColor spotColor, in DrawShadow() argument 529 rec.fSpotColor = spotColor; in DrawShadow()
|
/external/skia/modules/canvaskit/ |
D | interface.js | 681 ambientColor, spotColor, flags) { argument 683 var spotPtr = copyColorToWasmNoScratch(spotColor); 689 freeArraysThatAreNotMallocedByUsers(spotPtr, spotColor);
|
D | canvaskit_bindings.cpp | 602 SkColor4f spotColor = { spotFloats[0], spotFloats[1], spotFloats[2], spotFloats[3]}; in computeTonalColors() local 607 ambiColor.toSkColor(), spotColor.toSkColor(), in computeTonalColors()
|
/external/skia/modules/canvaskit/tests/ |
D | core.spec.js | 70 const spotColor = CanvasKit.Malloc(Float32Array, 4); constant 71 spotColor.toTypedArray().set(CanvasKit.RED); 74 spot: spotColor,
|
/external/skqp/experimental/canvaskit/ |
D | canvaskit_bindings.cpp | 688 JSColor ambientColor, JSColor spotColor, in EMSCRIPTEN_BINDINGS() 691 SkColor(ambientColor), SkColor(spotColor), flags); in EMSCRIPTEN_BINDINGS()
|
/external/skia/src/gpu/ |
D | GrSurfaceDrawContext.cpp | 1311 GrColor spotColor = SkColorToPremulGrColor(rec.fSpotColor); in drawFastShadow() local 1314 spotColor, in drawFastShadow()
|
/external/skqp/src/gpu/ |
D | GrRenderTargetContext.cpp | 1327 GrColor spotColor = SkColorToPremulGrColor(rec.fSpotColor); in drawFastShadow() local 1330 spotColor, in drawFastShadow()
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 1389 ambientColor: InputColor, spotColor: InputColor, flags: number): void;
|