Searched refs:invAlpha (Results 1 – 6 of 6) sorted by relevance
/third_party/flutter/skia/include/core/ |
D | SkColor.h | 375 float invAlpha = 1 / fA; in unpremul() local 376 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul()
|
/third_party/skia/include/core/ |
D | SkColor.h | 399 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/ |
D | renderer_utils.cpp | 48 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/ |
D | renderer_utils.cpp | 87 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/ |
D | painting.dart | 192 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/ |
D | painting.dart | 288 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;
|