Home
last modified time | relevance | path

Searched refs:tonalAlpha (Results 1 – 3 of 3) sorted by relevance

/external/skia/include/utils/
DSkShadowUtils.h94 SkScalar* colorScale, SkScalar* tonalAlpha) { in ComputeTonalColorParams() argument
106 *tonalAlpha = *colorScale + a; in ComputeTonalColorParams()
/external/skia/src/utils/
DSkShadowUtils.cpp463 SkScalar tonalAlpha; in compute_render_color() local
469 &colorScale, &tonalAlpha); in compute_render_color()
472 SkScalar unPremulScale = colorScale / tonalAlpha; in compute_render_color()
474 return SkColorSetARGB(tonalAlpha*255.999f, unPremulScale*SkColorGetR(color), in compute_render_color()
/external/skia/src/gpu/
DGrRenderTargetContext.cpp1147 SkScalar tonalAlpha; in drawFastShadow() local
1150 &colorScale, &tonalAlpha); in drawFastShadow()
1154 color.fRGBA[3] = tonalAlpha; in drawFastShadow()