Home
last modified time | relevance | path

Searched refs:ambientColor (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/gm/
Dshadowutils.cpp31 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() local
36 ambientColor, spotColor, flags); in draw_shadow()
125 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() local
128 kLightR, ambientColor, spotColor, flags); in draw_paths()
186 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() local
189 kLightR, ambientColor, spotColor, kNone_ShadowFlag); in draw_paths()
269 SkColor ambientColor = SkColorSetARGB(0.02f * 255, 0, 0, 0); variable
282 kLightR, ambientColor, spotColor,
295 kLightR, ambientColor, spotColor,
309 kLightR, ambientColor, spotColor,
[all …]
/third_party/skia/samplecode/
DSampleMaterialShadows.cpp49 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath() local
52 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleShadowReference.cpp91 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath() local
95 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleShadowColor.cpp110 SkColor ambientColor = SkColorSetARGB(ambientAlpha*255, 0, 0, 0); in drawShadowedPath() local
113 ambientColor, SK_ColorTRANSPARENT, flags); in drawShadowedPath()
DSampleShadowUtils.cpp139 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 255, 0, 0); in drawShadowedPath() local
143 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleAndroidShadows.cpp162 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath() local
165 ambientColor, spotColor, flags); in drawShadowedPath()
/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
594 rec->fAmbientColor = ambientColor; 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/skia/modules/canvaskit/
Dinterface.js724 ambientColor, spotColor, flags) { argument
726 var ambiPtr = copyColorToWasmNoScratch(ambientColor);
732 freeArraysThatAreNotMallocedByUsers(ambiPtr, ambientColor);
/third_party/skia/modules/canvaskit/tests/
Dcore.spec.js68 const ambientColor = CanvasKit.Malloc(Float32Array, 4); constant
69 ambientColor.toTypedArray().set(CanvasKit.BLUE);
73 ambient: ambientColor,
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp1199 GrColor ambientColor = SkColorToPremulGrColor(rec.fAmbientColor); in drawFastShadow() local
1206 ambientColor, in drawFastShadow()
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts1382 ambientColor: InputColor, spotColor: InputColor, flags: number): void;