/third_party/skia/tests/ |
D | RuntimeBlendTest.cpp | 25 abs((int)SkColorGetR(x) - (int)SkColorGetR(y)) <= kTolerance && in nearly_equal() 66 SkColorGetR(colors[0]), in test_blend() 70 SkColorGetR(colors[1]), in test_blend()
|
D | ColorMatrixTest.cpp | 22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance); in assert_color() 119 REPORTER_ASSERT(r, SkColorGetR(filtered) == 0x0a); in DEF_TEST()
|
D | SkSLTest.cpp | 122 SkColorGetR(color[0][0]), SkColorGetG(color[0][0]), in test_one_permutation() 125 SkColorGetR(color[0][1]), SkColorGetG(color[0][1]), in test_one_permutation() 128 SkColorGetR(color[1][0]), SkColorGetG(color[1][0]), in test_one_permutation() 131 SkColorGetR(color[1][1]), SkColorGetG(color[1][1]), in test_one_permutation()
|
/third_party/skia/samplecode/ |
D | SampleShadowColor.cpp | 118 uint8_t max = std::max(std::max(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 120 uint8_t min = std::min(std::min(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 125 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 140 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath() 143 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath()
|
/third_party/flutter/skia/samplecode/ |
D | SampleShadowColor.cpp | 118 uint8_t max = SkTMax(SkTMax(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 120 uint8_t min = SkTMin(SkTMin(SkColorGetR(color), SkColorGetG(color)), in drawShadowedPath() 125 SkColor spotColor = SkColorSetARGB(alpha*SkColorGetA(color), SkColorGetR(color), in drawShadowedPath() 140 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath() 143 SkColorGetR(color), SkColorGetG(color), in drawShadowedPath()
|
/third_party/flutter/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 27 matrix.setScale(byte_to_unit_float(SkColorGetR(mul)), in MakeLightingFilter() 31 matrix.postTranslate(byte_to_unit_float(SkColorGetR(add)), in MakeLightingFilter()
|
/third_party/skia/src/effects/ |
D | SkColorMatrixFilter.cpp | 27 matrix.setScale(byte_to_unit_float(SkColorGetR(mul)), in MakeLightingFilter() 31 matrix.postTranslate(byte_to_unit_float(SkColorGetR(add)), in MakeLightingFilter()
|
/third_party/flutter/skia/tests/ |
D | ColorMatrixTest.cpp | 22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance); in assert_color() 119 REPORTER_ASSERT(r, SkColorGetR(filtered) == 0x0a); in DEF_TEST()
|
D | PremulAlphaRoundTripTest.cpp | 18 byte[0] = SkColorGetR(c); in pack_unpremul_rgba() 30 byte[2] = SkColorGetR(c); in pack_unpremul_bgra()
|
/third_party/skia/docs/examples/ |
D | PreMultiplyColor.cpp | 12 str += " red=" + std::to_string(SkColorGetR(unpremultiplied)); 18 str += " red=" + std::to_string(SkColorGetR(premultiplied));
|
D | Paint_getColor.cpp | 10 SkDebugf("Yellow is %d%% red, %d%% green, and %d%% blue.\n", (int) (SkColorGetR(y) / 2.55f), in draw()
|
D | ColorGetR.cpp | 12 uint8_t red = SkColorGetR(source.getColor(226, 128));
|
D | RGBA4f_toSkColor.cpp | 10 SkDebugf("red=%d green=%d blue=%d alpha=%d\n", SkColorGetR(argb), in draw()
|
/third_party/flutter/skia/docs/examples/ |
D | PreMultiplyColor.cpp | 12 str += " red=" + std::to_string(SkColorGetR(unpremultiplied)); 18 str += " red=" + std::to_string(SkColorGetR(premultiplied));
|
D | Paint_getColor.cpp | 10 SkDebugf("Yellow is %d%% red, %d%% green, and %d%% blue.\n", (int) (SkColorGetR(y) / 2.55f), in draw()
|
D | ColorGetR.cpp | 12 uint8_t red = SkColorGetR(source.getColor(226, 128));
|
D | RGBA4f_toSkColor.cpp | 10 SkDebugf("red=%d green=%d blue=%d alpha=%d\n", SkColorGetR(argb), in draw()
|
D | PreMultiplyARGB.cpp | 13 str += " red=" + std::to_string(SkColorGetR(premultiplied));
|
D | RGBA4f_FromColor.cpp | 12 SkDebugf("red=%d green=%d blue=%d alpha=%d\n", SkColorGetR(fromColor4f), in draw()
|
/third_party/skia/gm/ |
D | unpremul.cpp | 43 if (close(SkColorGetR(pixel), SkColorGetR(color)) && in __anon7b332d670102()
|
D | composecolorfilter.cpp | 36 const auto r_lo = SkColorGetR(lo), in MakeTintColorFilter() 40 r_hi = SkColorGetR(hi), in MakeTintColorFilter()
|
D | mixercolorfilter.cpp | 37 const auto r_lo = SkColorGetR(lo), in MakeTintColorFilter() 41 r_hi = SkColorGetR(hi), in MakeTintColorFilter()
|
/third_party/flutter/skia/gm/ |
D | unpremul.cpp | 42 if (close(SkColorGetR(pixel), SkColorGetR(color)) && in __anoncf23b57c0102()
|
/third_party/flutter/skia/src/core/ |
D | SkMaskGamma.h | 36 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 125 sk_t_scale255<R_LUM_BITS>(SkColorGetR(color) >> (8 - R_LUM_BITS)), in CanonicalColor() 211 fGammaTables[SkColorGetR(color) >> (8 - MAX_LUM_BITS)], in preBlend()
|
/third_party/skia/src/core/ |
D | SkMaskGamma.h | 36 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); in computeLuminance() 125 sk_t_scale255<R_LUM_BITS>(SkColorGetR(color) >> (8 - R_LUM_BITS)), in CanonicalColor() 211 fGammaTables[SkColorGetR(color) >> (8 - MAX_LUM_BITS)], in preBlend()
|