Home
last modified time | relevance | path

Searched refs:MakeSweep (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/include/effects/
DSkGradientShader.h210 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
215 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
218 return MakeSweep(cx, cy, colors, pos, count, SkTileMode::kClamp, 0, 360, flags, in MakeSweep()
221 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
223 return MakeSweep(cx, cy, colors, pos, count, 0, nullptr); in MakeSweep()
242 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
248 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
252 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, in MakeSweep()
255 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
258 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 0, nullptr); in MakeSweep()
/third_party/skia/gm/
Dgradient_dirty_laundry.cpp59 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkTileMode) { in MakeSweep() function
61 return SkGradientShader::MakeSweep(pt.fX, pt.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
68 MakeLinear, MakeRadial, MakeSweep,
Dgradients.cpp106 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep() function
111 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount, in MakeSweep()
121 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors4f, srgb, data.fPos, in MakeSweep4f()
180 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical
556 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, in onDraw()
793 return SkGradientShader::MakeSweep(half, half, run.fColors, run.fPos, run.fCount); in make_sweep()
940 p.setShader(SkGradientShader::MakeSweep(kTileSize / 2, kTileSize / 2, in __anon121f564f0402()
960 sk_sp<SkShader> sweep1 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anon121f564f0502()
964 sk_sp<SkShader> sweep2 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anon121f564f0502()
1009 p.setShader(SkGradientShader::MakeSweep(size / 2, size / 2, colors, pos,
Dgradients_degenerate.cpp105 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep()
111 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep_zero_ang()
Dgradients_no_texture.cpp55 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkTileMode) { in MakeSweep() function
59 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
90 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical,
Dbug6643.cpp25 p.setShader(SkGradientShader::MakeSweep(100, 100, colors, nullptr, SK_ARRAY_COUNT(colors),
Dcrbug_1174354.cpp24 auto g = SkGradientShader::MakeSweep(cx, in draw_bg_blur()
Dcomposecolorfilter.cpp85 paint.setShader(SkGradientShader::MakeSweep(
Dbackdrop.cpp37 return SkGradientShader::MakeSweep(cx, cy, colors, pos, count); in make_shader()
Dmixercolorfilter.cpp87 paint.setShader(SkGradientShader::MakeSweep(fTileSize.width() / 2, in onDraw()
/third_party/skia/modules/androidkit/src/
DGradients.cpp108 static jlong MakeSweep(JNIEnv* env, jobject, jfloat x, jfloat y, jfloat sa, jfloat ea, in MakeSweep() function
112 auto shader = SkGradientShader::MakeSweep(x, y, in MakeSweep()
162 {"nMakeSweep", "(FFFF[F[FIJ)J", reinterpret_cast<void*>(MakeSweep)}, in register_androidkit_SweepGradient()
/third_party/skia/samplecode/
DSampleGradients.cpp75 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkTileMode tm) { in MakeSweep() function
79 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
108 MakeLinear, MakeRadial, MakeSweep, Make2Conical, Make2ConicalConcentric
DSampleSlides.cpp189 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkTileMode tm) { in MakeSweep() function
193 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
209 MakeLinear, MakeRadial, MakeSweep, Make2Conical
/third_party/skia/src/shaders/gradients/
DSkSweepGradient.cpp47 return SkGradientShader::MakeSweep(center.x(), center.y(), desc.fColors, in CreateProc()
103 return GrGradientShader::MakeSweep(*this, args); in asFragmentProcessor()
/third_party/skia/docs/examples/
Dskpaint_sweep.cpp9 SkGradientShader::MakeSweep(128.0f, 128.0f, colors, nullptr, 4, 0, nullptr)); in draw()
Dsweep_gradient_talk_4.cpp9 paint.setShader(SkGradientShader::MakeSweep(cx, cy, colors, nullptr, 4)); in draw()
Dsweep_gradient_talk_1.cpp9 paint.setShader(SkGradientShader::MakeSweep(cx, cy, colors, nullptr, 4)); in draw()
DCanvas_drawPaint.cpp10 paint.setShader(SkGradientShader::MakeSweep(256, 256, colors, pos, SK_ARRAY_COUNT(colors))); in draw()
Dsweep_gradient_talk_lots.cpp13 paint.setShader(SkGradientShader::MakeSweep(cx, cy, colors, nullptr, 100)); in draw()
Dsweep_gradient_talk_2.cpp12 paint.setShader(SkGradientShader::MakeSweep(cx, cy, colors, pos, 8)); in draw()
DBlendModes.cpp14 auto sweep = SkGradientShader::MakeSweep(128, 128, sweepColors, nullptr, 7, 0, &rotMtx); in drawBG()
DColor_Wheel.cpp19 sweep.setShader(SkGradientShader::MakeSweep(0, 0, kColors, nullptr, nullptr, in draw_color_wheel()
/third_party/skia/src/gpu/gradients/
DGrGradientShader.h30 std::unique_ptr<GrFragmentProcessor> MakeSweep(const SkSweepGradient& shader,
/third_party/skia/bench/
DGradientBench.cpp67 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep() function
72 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
138 { MakeSweep, "sweep" },
/third_party/skia/fuzz/
DFuzzGradients.cpp236 p.setShader(SkGradientShader::MakeSweep(cx, cy, colors.data(), in fuzzSweepGradient()
239 p.setShader(SkGradientShader::MakeSweep(cx, cy, colors.data(), in fuzzSweepGradient()

12