/third_party/skia/gm/ |
D | circularclips.cpp | 20 SkScalar fX1, fX2, fY, fR; member in CircularClipsGM 28 fR = 40; in onOnceBeforeDraw() 30 fCircle1 = SkPath::Circle(fX1, fY, fR, SkPathDirection::kCW); in onOnceBeforeDraw() 31 fCircle2 = SkPath::Circle(fX2, fY, fR, SkPathDirection::kCW); in onOnceBeforeDraw() 51 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR); in onDraw() 59 canvas->translate(-((fX1 + fX2)/2 - fR), -(fY - 2*fR/3)); in onDraw()
|
D | p3.cpp | 35 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()
|
D | hsl.cpp | 149 mode( d.fR, d.fG, d.fB, in blend() 150 &s.fR, &s.fG, &s.fB); in blend()
|
/third_party/skia/include/core/ |
D | SkColor.h | 261 float fR; //!< red component member 272 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; 290 return { fR * scale, fG * scale, fB * scale, fA * scale }; 299 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA }; 306 const float* vec() const { return &fR; } in vec() 312 float* vec() { return &fR; } in vec() 315 std::array<float, 4> array() const { return {fR, fG, fB, fA}; } in array() 350 return fR >= 0.0f && fR <= 1.0f && in fitsInBytes() 385 return { fR * fA, fG * fA, fB * fA, fA }; in premul() 400 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul() [all …]
|
/third_party/skia/samplecode/ |
D | SampleArc.cpp | 41 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); in onDraw() 63 canvas->drawArc(fR, 0, fSweep, false, paint); in onDraw() 67 canvas->drawArc(fR, 0, fSweep, true, paint); in onDraw() 71 canvas->drawArc(fR, 0, fSweep, false, paint); in onDraw() 75 SkRect r(fR); in onGetBounds()
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuadUtils.cpp | 436 clip.fR = (t * next_ccw(v.fR) + (1.f - t) * v.fR); in ClipToW0() 463 v.fR = if_then_else(validW, v.fR, in ClipToW0() 464 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fR), in ClipToW0() 465 if_then_else(ccwValid, clip.fR, /* cwValid */ next_cw(clip.fR)))); in ClipToW0() 482 mid.fR = 0.5f * (v.fR + next_ccw(v.fR)); in ClipToW0() 499 v2.fR = if_then_else((!validW) | (!ccwValid), clip.fR, in ClipToW0() 500 if_then_else(cwValid, next_cw(mid.fR), v.fR)); in ClipToW0() 521 v.fR = if_then_else(!validW, next_cw(clip.fR), in ClipToW0() 522 if_then_else(!cwValid, mid.fR, v.fR)); in ClipToW0() 941 fR = localQuad->w4f(); in reset() [all …]
|
/third_party/skia/src/core/ |
D | SkMaskGamma.h | 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() 201 const uint8_t* fR; variable
|
D | SkCompressedDataUtils.cpp | 75 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/ |
D | SRGBTest.cpp | 120 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()
|
D | ProcessorTest.cpp | 466 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, input4f.fG, input4f.fB, input4f.fA, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 705 output4f.fR, output4f.fG, output4f.fB, output4f.fA, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
/third_party/skia/modules/skottie/src/effects/ |
D | ShiftChannelsEffect.cpp | 54 .bind( kTakeRedFrom_Index, fR) in ShiftChannelsEffectAdapter() 99 const float* rc = coeffs(fR); in onSync() 116 ScalarValue fR = static_cast<float>(Source::kRed), member in skottie::internal::__anon071f69420111::ShiftChannelsEffectAdapter
|
/third_party/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.h | 210 SkScalar fR, fG, fB; member 213 result.fR = r; result.fG = g; result.fB = b; in Make() 217 return (fR == wa.fR && fG == wa.fG && fB == wa.fB);
|
/third_party/skia/bench/ |
D | MatrixBench.cpp | 305 SkRect fR; member in MapRectMatrixBench 316 fR.setLTRB(10, 10, 100, 200); in MapRectMatrixBench() 323 fM.mapRectScaleTranslate(&dst, fR); in performTest() 327 fM.mapRect(&dst, fR); in performTest()
|
/third_party/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 222 (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_l, in init_stop_pos() 324 : SkPMColor4f{ c.fR, c.fG, c.fB, c.fA }; in onAppendStages()
|
/third_party/skia/modules/sksg/src/ |
D | SkSGColorFilter.cpp | 111 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/toybox/tests/ |
D | man.test | 38 \\fBsh\\fR-compatible 60 \\&\\fBfflush(...)\\fR
|
/third_party/skia/docs/examples/ |
D | Paint_getColor4f.cpp | 10 SkDebugf("Yellow is %d%% red, %d%% green, and %d%% blue.\n", (int) (y.fR * 100), in draw()
|
D | RGBA4f_vec.cpp | 8 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color.fR, color.fG, color.fB, color.fA); in draw()
|
D | RGBA4f_vec_2.cpp | 8 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color.fR, color.fG, color.fB, color.fA); in draw()
|
D | RGBA4f_toSkColor.cpp | 13 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", fromSkColor.fR, fromSkColor.fG, in draw()
|
D | RGBA4f_FromColor.cpp | 10 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color4f.fR, color4f.fG, color4f.fB, color4f.fA); in draw()
|
/third_party/skia/experimental/sorttoy/ |
D | Fake.cpp | 68 t * bot.fR + (1.0f - t) * top.fR, in blend()
|
D | Cmds.cpp | 170 top.fA * top.fR + (1.0f - top.fA) * bot.fR, in rasterize()
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | Gradient.cpp | 141 current_stop.fColor.fR, in onSync() 164 lerp(current_stop.fColor.fR, cs.r, t_c ), in onSync()
|
/third_party/skia/tools/gpu/ |
D | BackendTextureImageFactory.cpp | 50 color = {pmColor.fR, pmColor.fG, pmColor.fB, pmColor.fA}; in MakeBackendTextureImage()
|