Home
last modified time | relevance | path

Searched refs:fR (Results 1 - 25 of 70) sorted by relevance

123

/third_party/skia/gm/
H A Dcircularclips.cpp20 SkScalar fX1, fX2, fY, fR; member in CircularClipsGM
28 fR = 40;
30 fCircle1 = SkPath::Circle(fX1, fY, fR, SkPathDirection::kCW);
31 fCircle2 = SkPath::Circle(fX2, fY, fR, SkPathDirection::kCW);
51 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR);
59 canvas->translate(-((fX1 + fX2)/2 - fR), -(fY - 2*fR/
[all...]
H A Dp3.cpp35 return fabsf(x.fR - y.fR) < 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/include/core/
H A DSkColor.h261 float fR; //!< red 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, f
[all...]
/third_party/skia/samplecode/
H A DSampleArc.cpp41 SkRect fR; member in ArcsView::MyDrawable
44 MyDrawable(const SkRect& r) : fR(r), fSweep(0) {} in MyDrawable()
60 canvas->drawArc(fR, 0, fSweep, true, paint);
63 canvas->drawArc(fR, 0, fSweep, false, paint);
67 canvas->drawArc(fR, 0, fSweep, true, paint);
71 canvas->drawArc(fR, 0, fSweep, false, paint);
75 SkRect r(fR);
/third_party/skia/src/gpu/geometry/
H A DGrQuadUtils.cpp436 clip.fR = (t * next_ccw(v.fR) + (1.f - t) * v.fR);
463 v.fR = if_then_else(validW, v.fR,
464 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fR),
465 if_then_else(ccwValid, clip.fR, /* cwValid */ next_cw(clip.fR))));
482 mid.fR = 0.5f * (v.fR
[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. */
201 const uint8_t* fR; member in SkTMaskPreBlend
H A DSkCompressedDataUtils.cpp75 int fR, fG, fB; member
79 int r8 = SkTPin(col.fR + delta, 0, 255); in add_delta_and_clamp()
104 colors[0].fR = extend_5To8bits(high >> 27); in decompress_etc1()
105 colors[1].fR = extend_5plus3To8Bits(high >> 27, high >> 24); in decompress_etc1()
111 colors[0].fR = extend_4To8bits(high >> 28); in decompress_etc1()
112 colors[1].fR = extend_4To8bits(high >> 24); 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()
123 REPORTER_ASSERT(r, close(rgba[i].fR, want.fR)); 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()
689 float rDiff = fabsf(output4f.fR - expected4f.fR); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
704 kTol, input4f.fR, 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
54 .bind( kTakeRedFrom_Index, fR) in ShiftChannelsEffectAdapter()
99 const float* rc = coeffs(fR);
116 ScalarValue fR = static_cast<float>(Source::kRed), member in skottie::internal::__anon18563::final::Source
/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/bench/
H A DMatrixBench.cpp305 SkRect fR; member in MapRectMatrixBench
316 fR.setLTRB(10, 10, 100, 200); in MapRectMatrixBench()
323 fM.mapRectScaleTranslate(&dst, fR);
327 fM.mapRect(&dst, fR);
/third_party/skia/modules/sksg/src/
H A DSkSGColorFilter.cpp111 const auto dR = c1.fR - c0.fR, in Make2ColorGradient()
144 dR*SK_LUM_COEFF_R, dR*SK_LUM_COEFF_G, dR*SK_LUM_COEFF_B, 0, c0.fR, in Make2ColorGradient()
/third_party/skia/src/shaders/gradients/
H A DSkGradientShader.cpp222 (ctx->fs[0])[stop] = Fs.fR; in add_stop_color()
227 (ctx->bs[0])[stop] = Bs.fR; in add_stop_color()
243 (c_r.fR - c_l.fR) * gapCount, in init_stop_evenly()
249 c_l.fR - Fs.fR*(stop/gapCount), in init_stop_evenly()
263 (c_r.fR - c_l.fR) / (t_r - t_l), in init_stop_pos()
269 c_l.fR - Fs.fR*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.cpp10 SkDebugf("Yellow is %d%% red, %d%% green, and %d%% blue.\n", (int) (y.fR * 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/experimental/sorttoy/
H A DFake.cpp68 t * bot.fR + (1.0f - t) * top.fR, in blend()
/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DGradient.cpp141 current_stop.fColor.fR,
164 lerp(current_stop.fColor.fR, cs.r, 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/modules/svg/src/
H A DSkSVGRadialGradient.cpp33 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in onMakeShader()
H A DSkSVGCircle.cpp25 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in resolve()

Completed in 12 milliseconds

123