Home
last modified time | relevance | path

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

/third_party/skia/gm/
Dshadowutils.cpp33 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() local
36 ambientColor, spotColor, flags); in draw_shadow()
126 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths() local
128 kLightR, ambientColor, spotColor, flags); in draw_paths()
187 SkColor spotColor = SkColorSetARGB(0.25f * 255, 0, 0, 0); in draw_paths() local
189 kLightR, ambientColor, spotColor, kNone_ShadowFlag); in draw_paths()
270 SkColor spotColor = SkColorSetARGB(0.35f * 255, 0, 0, 0); variable
282 kLightR, ambientColor, spotColor,
295 kLightR, ambientColor, spotColor,
309 kLightR, ambientColor, spotColor,
[all …]
/third_party/flutter/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()
/third_party/flutter/engine/flutter/flow/layers/
Dphysical_shape_layer.cc208 SkColor ambientColor, spotColor; in DrawShadow() local
210 &spotColor); in DrawShadow()
214 dpr * kLightRadius, ambientColor, spotColor, flags); in DrawShadow()
/third_party/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()
/third_party/flutter/skia/samplecode/
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.cpp141 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 255); in drawShadowedPath() local
144 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleAndroidShadows.cpp164 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() local
166 ambientColor, spotColor, flags); in drawShadowedPath()
/third_party/flutter/skia/include/utils/
DSkShadowUtils.h41 SkColor ambientColor, SkColor spotColor,
/third_party/skia/include/utils/
DSkShadowUtils.h46 SkColor ambientColor, SkColor spotColor,
/third_party/skia/src/utils/
DSkShadowUtils.cpp578 SkColor ambientColor, SkColor spotColor, in fill_shadow_rec() argument
595 rec->fSpotColor = spotColor; in fill_shadow_rec()
604 SkColor ambientColor, SkColor spotColor, in DrawShadow() argument
607 if (!fill_shadow_rec(path, zPlaneParams, lightPos, lightRadius, ambientColor, spotColor, in DrawShadow()
/third_party/flutter/skia/src/utils/
DSkShadowUtils.cpp543 SkColor ambientColor, SkColor spotColor, in DrawShadow() argument
556 rec.fSpotColor = spotColor; in DrawShadow()
/third_party/skia/modules/canvaskit/
Dinterface.js724 ambientColor, spotColor, flags) { argument
727 var spotPtr = copyColorToWasmNoScratch(spotColor);
733 freeArraysThatAreNotMallocedByUsers(spotPtr, spotColor);
Dcanvaskit_bindings.cpp598 SkColor4f spotColor = { spotFloats[0], spotFloats[1], spotFloats[2], spotFloats[3]}; in computeTonalColors() local
603 ambiColor.toSkColor(), spotColor.toSkColor(), in computeTonalColors()
/third_party/skia/modules/canvaskit/tests/
Dcore.spec.js70 const spotColor = CanvasKit.Malloc(Float32Array, 4); constant
71 spotColor.toTypedArray().set(CanvasKit.RED);
74 spot: spotColor,
/third_party/flutter/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp777 SkColor ambientColor, SkColor spotColor, in EMSCRIPTEN_BINDINGS()
780 ambientColor, spotColor, flags); in EMSCRIPTEN_BINDINGS()
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp1308 GrColor spotColor = SkColorToPremulGrColor(rec.fSpotColor); in drawFastShadow() local
1311 spotColor, in drawFastShadow()
/third_party/flutter/skia/src/gpu/
DGrRenderTargetContext.cpp1266 GrColor spotColor = SkColorToPremulGrColor(rec.fSpotColor); in drawFastShadow() local
1269 spotColor, in drawFastShadow()
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts1382 ambientColor: InputColor, spotColor: InputColor, flags: number): void;