/third_party/skia/tests/ |
D | RuntimeBlendTest.cpp | 27 abs((int)SkColorGetB(x) - (int)SkColorGetB(y)) <= kTolerance; in nearly_equal() 68 SkColorGetB(colors[0]), in test_blend() 72 SkColorGetB(colors[1])); in test_blend()
|
D | ColorMatrixTest.cpp | 24 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance); in assert_color() 121 REPORTER_ASSERT(r, SkColorGetB(filtered) == 0x0c); in DEF_TEST()
|
D | SkSLTest.cpp | 123 SkColorGetB(color[0][0]), SkColorGetA(color[0][0]), in test_one_permutation() 126 SkColorGetB(color[0][1]), SkColorGetA(color[0][1]), in test_one_permutation() 129 SkColorGetB(color[1][0]), SkColorGetA(color[1][0]), in test_one_permutation() 132 SkColorGetB(color[1][1]), SkColorGetA(color[1][1])); in test_one_permutation()
|
/third_party/skia/samplecode/ |
D | SampleShadowColor.cpp | 119 SkColorGetB(color)); in drawShadowedPath() 121 SkColorGetB(color)); in drawShadowedPath() 126 SkColorGetG(color), SkColorGetB(color)); in drawShadowedPath() 141 SkColorGetB(color)); in drawShadowedPath() 144 SkColorGetB(color)); in drawShadowedPath()
|
/third_party/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 29 byte_to_unit_float(SkColorGetB(mul)), in MakeLightingFilter() 33 byte_to_unit_float(SkColorGetB(add)), in MakeLightingFilter()
|
/third_party/skia/docs/examples/ |
D | PreMultiplyColor.cpp | 14 str += " blue=" + std::to_string(SkColorGetB(unpremultiplied)); 20 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
|
D | Paint_getColor.cpp | 11 (int) (SkColorGetG(y) / 2.55f), (int) (SkColorGetB(y) / 2.55f)); in draw()
|
D | ColorGetB.cpp | 12 uint8_t blue = SkColorGetB(source.getColor(168, 170));
|
D | RGBA4f_toSkColor.cpp | 11 SkColorGetG(argb), SkColorGetB(argb), SkColorGetA(argb)); in draw()
|
D | PreMultiplyARGB.cpp | 15 str += " blue=" + std::to_string(SkColorGetB(premultiplied));
|
D | RGBA4f_FromColor.cpp | 13 SkColorGetG(fromColor4f), SkColorGetB(fromColor4f), SkColorGetA(fromColor4f)); in draw()
|
D | Alpha_Type_Premul.cpp | 11 SkColorGetG(color), SkColorGetB(color));
|
D | Alpha_Type_Unpremul.cpp | 11 SkColorGetG(color), SkColorGetB(color));
|
D | Alpha_Type_Opaque.cpp | 11 SkColorGetG(color), SkColorGetB(color));
|
D | RGBToHSV.cpp | 14 SkRGBToHSV(SkColorGetR(c), SkColorGetG(c), SkColorGetB(c), hsv);
|
D | Octopus_Generator.cpp | 17 std::min(255u, SkColorGetB(color) + 20))); in paintOctopus()
|
D | Octopus_Generator_Animated.cpp | 17 std::min(255u, SkColorGetB(color) + 20))); in paintOctopus()
|
D | SkImage_to_PPM_ascii.cpp | 33 SkColorGetG(c), SkColorGetB(c)); in Encode_PPM_A()
|
/third_party/skia/gm/ |
D | unpremul.cpp | 45 close(SkColorGetB(pixel), SkColorGetB(color)) && in __anonfa3e83260102()
|
D | composecolorfilter.cpp | 38 b_lo = SkColorGetB(lo), in MakeTintColorFilter() 42 b_hi = SkColorGetB(hi), in MakeTintColorFilter()
|
D | mixercolorfilter.cpp | 39 b_lo = SkColorGetB(lo), in MakeTintColorFilter() 43 b_hi = SkColorGetB(hi), in MakeTintColorFilter()
|
D | aaxfermodes.cpp | 221 SkColorGetB(kBGColor) + SkColorGetB(color))); in setupShapePaint()
|
/third_party/skia/src/core/ |
D | SkMaskGamma.h | 38 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); in computeLuminance() 127 sk_t_scale255<B_LUM_BITS>(SkColorGetB(color) >> (8 - B_LUM_BITS))); in CanonicalColor() 213 fGammaTables[SkColorGetB(color) >> (8 - MAX_LUM_BITS)]); in preBlend()
|
/third_party/skia/include/core/ |
D | SkColor.h | 71 #define SkColorGetB(color) (((color) >> 0) & 0xFF) macro 168 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
|
/third_party/skia/modules/sksg/src/ |
D | SkSGColorFilter.cpp | 175 b = SkColorGetB(c0); in MakeNColorGradient() 178 dB = (SkColorGetB(c1) - b) / span_size; in MakeNColorGradient()
|