Home
last modified time | relevance | path

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

/external/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()
271 SkColor ambientColor = SkColorSetARGB(0.02f * 255, 0, 0, 0); variable
284 kLightR, ambientColor, spotColor,
297 kLightR, ambientColor, spotColor,
311 kLightR, ambientColor, spotColor,
[all …]
/external/skqp/gm/
Dshadowutils.cpp18 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow() local
23 ambientColor, spotColor, flags); in draw_shadow()
108 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() local
111 kLightR, ambientColor, spotColor, flags); in draw_paths()
165 SkColor ambientColor = SkColorSetARGB(0.1f * 255, 0, 0, 0); in draw_paths() local
168 kLightR, ambientColor, spotColor, kNone_ShadowFlag); in draw_paths()
/external/skqp/src/shaders/
DSkLightingShader.cpp132 const SkColor3f& ambientColor() const { return fAmbientColor; } in ambientColor() function in LightingFP
225 const SkColor3f& ambientColor = lightingFP.ambientColor(); in onSetData() local
226 if (ambientColor != fAmbientColor) { in onSetData()
227 pdman.set3fv(fAmbientColorUni, 1, &ambientColor.fX); in onSetData()
228 fAmbientColor = ambientColor; in onSetData()
/external/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()
/external/skqp/include/utils/
DSkShadowUtils.h41 SkColor ambientColor, SkColor spotColor,
/external/skia/include/utils/
DSkShadowUtils.h46 SkColor ambientColor, SkColor spotColor,
/external/skqp/samplecode/
DSampleShadowReference.cpp97 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath() local
101 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleShadowColor.cpp115 SkColor ambientColor = SkColorSetARGB(ambientAlpha*255, 0, 0, 0); in drawShadowedPath() local
118 ambientColor, SK_ColorTRANSPARENT, flags); in drawShadowedPath()
DSampleShadowUtils.cpp147 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 255, 0, 0); in drawShadowedPath() local
151 ambientColor, spotColor, flags); in drawShadowedPath()
DSampleAndroidShadows.cpp187 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 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
584 rec->fAmbientColor = ambientColor; 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
528 rec.fAmbientColor = ambientColor; in DrawShadow()
/external/skia/modules/canvaskit/
Dinterface.js681 ambientColor, spotColor, flags) { argument
682 var ambiPtr = copyColorToWasmNoScratch(ambientColor);
688 freeArraysThatAreNotMallocedByUsers(ambiPtr, ambientColor);
/external/skia/modules/canvaskit/tests/
Dcore.spec.js68 const ambientColor = CanvasKit.Malloc(Float32Array, 4); constant
69 ambientColor.toTypedArray().set(CanvasKit.BLUE);
73 ambient: ambientColor,
/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.cpp1202 GrColor ambientColor = SkColorToPremulGrColor(rec.fAmbientColor); in drawFastShadow() local
1209 ambientColor, in drawFastShadow()
/external/skqp/src/gpu/
DGrRenderTargetContext.cpp1226 GrColor ambientColor = SkColorToPremulGrColor(rec.fAmbientColor); in drawFastShadow() local
1233 ambientColor, in drawFastShadow()
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts1389 ambientColor: InputColor, spotColor: InputColor, flags: number): void;