Home
last modified time | relevance | path

Searched refs:fG (Results 1 - 25 of 61) sorted by relevance

123

/third_party/skia/include/core/
H A DSkColor.h262 float fG; //!< green component member
272 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; in operator ==()
287 @return SkRGBA4f as (fR * scale, fG * scale, fB * scale, fA * scale)
290 return { fR * scale, fG * scale, fB * scale, fA * scale }; in operator *()
296 @return SkRGBA4f as (fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA)
299 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA }; in operator *()
304 @return pointer to array [fR, fG, f
[all...]
/third_party/skia/src/core/
H A DSkMaskGamma.h173 * If fR, fG, or fB is nullptr, all of them will be. This indicates that no mask
181 : fParent(std::move(parent)), fR(r), fG(g), fB(b) { } in SkTMaskPreBlend()
187 SkTMaskPreBlend() : fParent(), fR(nullptr), fG(nullptr), fB(nullptr) { } in SkTMaskPreBlend()
194 : fParent(that.fParent), fR(that.fR), fG(that.fG), fB(that.fB) { } in SkTMaskPreBlend()
198 /** True if this PreBlend should be applied. When false, fR, fG, and fB are nullptr. */
199 bool isApplicable() const { return SkToBool(this->fG); } in isApplicable()
202 const uint8_t* fG; member in SkTMaskPreBlend
H A DSkCompressedDataUtils.cpp75 int fR, fG, fB; member
80 int g8 = SkTPin(col.fG + delta, 0, 255); in add_delta_and_clamp()
106 colors[0].fG = extend_5To8bits(high >> 19); in decompress_etc1()
107 colors[1].fG = extend_5plus3To8Bits(high >> 19, high >> 16); in decompress_etc1()
113 colors[0].fG = extend_4To8bits(high >> 20); in decompress_etc1()
114 colors[1].fG = extend_4To8bits(high >> 16); in decompress_etc1()
/third_party/skia/tests/
H A DSRGBTest.cpp120 rgba[i].fR, rgba[i].fG, rgba[i].fB, in DEF_TEST()
121 want.fR, want.fG, want.fB); in DEF_TEST()
124 REPORTER_ASSERT(r, close(rgba[i].fG, want.fG)); in DEF_TEST()
H A DProcessorTest.cpp466 SkASSERT(inf[i].fR == 0 && inf[i].fG == 0 && inf[i].fB == 0); in legal_modulation()
490 inf[i].fR, inf[i].fG, inf[i].fB, inf[i].fA, in legal_modulation()
491 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation()
492 expectedForColorModulation[i].fR, expectedForColorModulation[i].fG, in legal_modulation()
505 inf[i].fR, inf[i].fG, inf[i].fB, inf[i].fA, in legal_modulation()
506 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation()
507 expectedForAlphaModulation[i].fR, expectedForAlphaModulation[i].fG, in legal_modulation()
690 float gDiff = fabsf(output4f.fG - expected4f.fG); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
704 kTol, input4f.fR, input4f.fG, input4 in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all...]
/third_party/skia/modules/skottie/src/effects/
H A DShiftChannelsEffect.cpp24 * C' = {fR(C), fG(C), fB(C), fA(C)}
26 * where fR, fG, fB, fA can be one of
55 .bind(kTakeGreenFrom_Index, fG) in ShiftChannelsEffectAdapter()
100 const float* gc = coeffs(fG);
117 fG = static_cast<float>(Source::kGreen), member in skottie::internal::__anon18563::final::Source
H A DShadowStyles.cpp71 0, 0, 0, 0, color.fG,
/third_party/skia/src/gpu/effects/
H A DGrDistanceFieldGeoProc.h214 SkScalar fR, fG, fB;
217 result.fR = r; result.fG = g; result.fB = b;
221 return (fR == wa.fR && fG == wa.fG && fB == wa.fB);
/third_party/skia/modules/sksg/src/
H A DSkSGColorFilter.cpp112 dG = c1.fG - c0.fG, in Make2ColorGradient()
145 dG*SK_LUM_COEFF_R, dG*SK_LUM_COEFF_G, dG*SK_LUM_COEFF_B, 0, c0.fG, in Make2ColorGradient()
/third_party/skia/src/shaders/gradients/
H A DSkGradientShader.cpp223 (ctx->fs[1])[stop] = Fs.fG; in add_stop_color()
228 (ctx->bs[1])[stop] = Bs.fG; in add_stop_color()
244 (c_r.fG - c_l.fG) * gapCount, in init_stop_evenly()
250 c_l.fG - Fs.fG*(stop/gapCount), in init_stop_evenly()
264 (c_r.fG - c_l.fG) / (t_r - t_l), in init_stop_pos()
270 c_l.fG - Fs.fG*t_ in init_stop_pos()
[all...]
/third_party/skia/docs/examples/
H A DRGBA4f_vec_2.cpp8 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color.fR, color.fG, color.fB, color.fA); in REG_FIDDLE()
H A DRGBA4f_vec.cpp8 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color.fR, color.fG, color.fB, color.fA); in REG_FIDDLE()
H A DPaint_getColor4f.cpp11 (int) (y.fG * 100), (int) (y.fB * 100)); in REG_FIDDLE()
H A DRGBA4f_FromColor.cpp10 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color4f.fR, color4f.fG, color4f.fB, color4f.fA); in REG_FIDDLE()
H A DRGBA4f_toSkColor.cpp13 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", fromSkColor.fR, fromSkColor.fG, in REG_FIDDLE()
/third_party/skia/src/ports/
H A DSkScalerContext_win_dw.cpp1203 GrayscaleToA8<true>(src, glyph, fPreBlend.fG); in generateImage()
1205 GrayscaleToA8<false>(src, glyph, fPreBlend.fG); in generateImage()
1209 RGBToA8<true>(src, glyph, fPreBlend.fG); in generateImage()
1211 RGBToA8<false>(src, glyph, fPreBlend.fG); in generateImage()
1218 RGBToLcd16<true, false>(src, glyph, fPreBlend.fR, fPreBlend.fG, fPreBlend.fB); in generateImage()
1220 RGBToLcd16<true, true>(src, glyph, fPreBlend.fR, fPreBlend.fG, fPreBlend.fB); in generateImage()
1224 RGBToLcd16<false, false>(src, glyph, fPreBlend.fR, fPreBlend.fG, fPreBlend.fB); in generateImage()
1226 RGBToLcd16<false, true>(src, glyph, fPreBlend.fR, fPreBlend.fG, fPreBlend.fB); in generateImage()
H A DSkScalerContext_mac_ct.cpp490 fPreBlend.fR, fPreBlend.fG, fPreBlend.fB); in generateImage()
493 fPreBlend.fR, fPreBlend.fG, fPreBlend.fB); in generateImage()
498 RGBToA8<true>(cgPixels, cgRowBytes, glyph, glyph.fImage, fPreBlend.fG); in generateImage()
500 RGBToA8<false>(cgPixels, cgRowBytes, glyph, glyph.fImage, fPreBlend.fG); in generateImage()
/third_party/skia/experimental/sorttoy/
H A DFake.cpp69 t * bot.fG + (1.0f - t) * top.fG, in blend()
H A DCmds.cpp171 top.fA * top.fG + (1.0f - top.fA) * bot.fG, in rasterize()
/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DGradient.cpp142 current_stop.fColor.fG,
165 lerp(current_stop.fColor.fG, cs.g, t_c ),
/third_party/skia/tools/gpu/
H A DBackendTextureImageFactory.cpp50 color = {pmColor.fR, pmColor.fG, pmColor.fB, pmColor.fA}; in MakeBackendTextureImage()
/third_party/skia/gm/
H A Dp3.cpp36 && fabsf(x.fG - y.fG) < K in nearly_equal()
42 return SkStringPrintf("%.2g %.2g %.2g %.2g", c.fR, c.fG, c.fB, c.fA); in fmt()
H A Dhsl.cpp149 mode( d.fR, d.fG, d.fB, in blend()
150 &s.fR, &s.fG, &s.fB); in blend()
/third_party/skia/src/gpu/d3d/
H A DGrD3DTextureResource.cpp86 clearValue.Color[1] = clearColor.fG; in CreateMSAA()
/third_party/skia/modules/svg/src/
H A DSkSVGGradient.cpp66 return { color.fR, color.fG, color.fB, *stopOpacity }; in resolveStopColor()

Completed in 14 milliseconds

123