Home
last modified time | relevance | path

Searched refs:ambientColor (Results 1 – 23 of 23) 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/flutter/skia/gm/
Dshadowutils.cpp31 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() local
36 ambientColor, spotColor, flags); in draw_shadow()
127 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() local
130 kLightR, ambientColor, spotColor, flags); in draw_paths()
188 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() local
191 kLightR, ambientColor, spotColor, kNone_ShadowFlag); in draw_paths()
/third_party/flutter/skia/src/shaders/
DSkLightingShader.cpp130 const SkColor3f& ambientColor() const { return fAmbientColor; } in ambientColor() function in LightingFP
221 const SkColor3f& ambientColor = lightingFP.ambientColor(); in onSetData() local
222 if (ambientColor != fAmbientColor) { in onSetData()
223 pdman.set3fv(fAmbientColorUni, 1, &ambientColor.fX); in onSetData()
224 fAmbientColor = ambientColor; in onSetData()
/third_party/flutter/engine/flutter/flow/layers/
Dphysical_shape_layer.cc208 SkColor ambientColor, spotColor; in DrawShadow() local
209 SkShadowUtils::ComputeTonalColors(inAmbient, inSpot, &ambientColor, in DrawShadow()
214 dpr * kLightRadius, ambientColor, spotColor, flags); in DrawShadow()
/third_party/skia/samplecode/
DSampleMaterialShadows.cpp49 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath() local
52 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()
DSampleShadowReference.cpp91 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath() local
95 ambientColor, spotColor, 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/flutter/skia/samplecode/
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.cpp140 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 255, 0, 0); in drawShadowedPath() local
144 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleAndroidShadows.cpp163 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 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
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/flutter/skia/src/utils/
DSkShadowUtils.cpp543 SkColor ambientColor, SkColor spotColor, in DrawShadow() argument
555 rec.fAmbientColor = ambientColor; 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/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.cpp1199 GrColor ambientColor = SkColorToPremulGrColor(rec.fAmbientColor); in drawFastShadow() local
1206 ambientColor, in drawFastShadow()
/third_party/flutter/skia/src/gpu/
DGrRenderTargetContext.cpp1164 GrColor ambientColor = SkColorToPremulGrColor(rec.fAmbientColor); in drawFastShadow() local
1171 ambientColor, in drawFastShadow()
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts1382 ambientColor: InputColor, spotColor: InputColor, flags: number): void;