Home
last modified time | relevance | path

Searched refs:invAlpha (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/include/core/
DSkColor.h375 float invAlpha = 1 / fA; in unpremul() local
376 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul()
/third_party/skia/include/core/
DSkColor.h399 float invAlpha = 1 / fA; in unpremul() local
400 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp48 float invAlpha = 1.0f / color->alpha; in UnmultiplyAlpha() local
49 color->red *= invAlpha; in UnmultiplyAlpha()
50 color->green *= invAlpha; in UnmultiplyAlpha()
51 color->blue *= invAlpha; in UnmultiplyAlpha()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp87 float invAlpha = 1.0f / color->alpha; in UnmultiplyAlpha() local
88 color->red *= invAlpha; in UnmultiplyAlpha()
89 color->green *= invAlpha; in UnmultiplyAlpha()
90 color->blue *= invAlpha; in UnmultiplyAlpha()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dpainting.dart192 final int invAlpha = 0xff - alpha;
198 (alpha * foreground.red + invAlpha * background.red) ~/ 0xff,
199 (alpha * foreground.green + invAlpha * background.green) ~/ 0xff,
200 (alpha * foreground.blue + invAlpha * background.blue) ~/ 0xff,
204 backAlpha = (backAlpha * invAlpha) ~/ 0xff;
/third_party/flutter/engine/flutter/lib/ui/
Dpainting.dart288 final int invAlpha = 0xff - alpha;
293 (alpha * foreground.red + invAlpha * background.red) ~/ 0xff,
294 (alpha * foreground.green + invAlpha * background.green) ~/ 0xff,
295 (alpha * foreground.blue + invAlpha * background.blue) ~/ 0xff,
298 backAlpha = (backAlpha * invAlpha) ~/ 0xff;