Home
last modified time | relevance | path

Searched refs:spotColor (Results 1 – 22 of 22) sorted by relevance

/external/skia/gm/
Dshadowutils.cpp33 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/
Dshadowutils.cpp20 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/
DSampleMaterialShadows.cpp50 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local
52 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleShadowReference.cpp92 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local
95 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleShadowColor.cpp125 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() local
130 SK_ColorTRANSPARENT, spotColor, flags); in drawShadowedPath()
DSampleShadowUtils.cpp140 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 255); in drawShadowedPath() local
143 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleAndroidShadows.cpp163 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local
165 ambientColor, spotColor, flags); in drawShadowedPath()
/external/skqp/include/utils/
DSkShadowUtils.h41 SkColor ambientColor, SkColor spotColor,
/external/skia/include/utils/
DSkShadowUtils.h46 SkColor ambientColor, SkColor spotColor,
/external/skqp/samplecode/
DSampleShadowReference.cpp98 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local
101 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleShadowColor.cpp130 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() local
135 SK_ColorTRANSPARENT, spotColor, flags); in drawShadowedPath()
DSampleShadowUtils.cpp148 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 255); in drawShadowedPath() local
151 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleAndroidShadows.cpp188 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local
190 ambientColor, spotColor, flags); in drawShadowedPath()
/external/skia/src/utils/
DSkShadowUtils.cpp568 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/
DSkShadowUtils.cpp516 SkColor ambientColor, SkColor spotColor, in DrawShadow() argument
529 rec.fSpotColor = spotColor; in DrawShadow()
/external/skia/modules/canvaskit/
Dinterface.js681 ambientColor, spotColor, flags) { argument
683 var spotPtr = copyColorToWasmNoScratch(spotColor);
689 freeArraysThatAreNotMallocedByUsers(spotPtr, spotColor);
Dcanvaskit_bindings.cpp602 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/
Dcore.spec.js70 const spotColor = CanvasKit.Malloc(Float32Array, 4); constant
71 spotColor.toTypedArray().set(CanvasKit.RED);
74 spot: spotColor,
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp688 JSColor ambientColor, JSColor spotColor, in EMSCRIPTEN_BINDINGS()
691 SkColor(ambientColor), SkColor(spotColor), flags); in EMSCRIPTEN_BINDINGS()
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp1311 GrColor spotColor = SkColorToPremulGrColor(rec.fSpotColor); in drawFastShadow() local
1314 spotColor, in drawFastShadow()
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp1327 GrColor spotColor = SkColorToPremulGrColor(rec.fSpotColor); in drawFastShadow() local
1330 spotColor, in drawFastShadow()
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts1389 ambientColor: InputColor, spotColor: InputColor, flags: number): void;