Home
last modified time | relevance | path

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

123

/external/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()
/external/skqp/include/effects/
DSkGradientShader.h205 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
210 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
213 return MakeSweep(cx, cy, colors, pos, count, SkShader::kClamp_TileMode, 0, 360, flags, in MakeSweep()
216 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
218 return MakeSweep(cx, cy, colors, pos, count, 0, nullptr); in MakeSweep()
237 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
243 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
247 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, in MakeSweep()
250 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() function
253 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 0, nullptr); in MakeSweep()
/external/skqp/src/shaders/gradients/
DSkSweepGradient.cpp52 return SkGradientShader::MakeSweep(center.x(), center.y(), desc.fColors, in CreateProc()
71 return SkGradientShader::MakeSweep(fCenter.fX, fCenter.fY, xformedColors.fColors.get(), in onMakeColorSpace()
91 return GrGradientShader::MakeSweep(*this, args); in asFragmentProcessor()
/external/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 __anone570c5c40402()
960 sk_sp<SkShader> sweep1 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anone570c5c40502()
964 sk_sp<SkShader> sweep2 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anone570c5c40502()
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,
/external/skqp/gm/
DgradientDirtyLaundry.cpp46 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() function
48 return SkGradientShader::MakeSweep(pt.fX, pt.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
55 MakeLinear, MakeRadial, MakeSweep,
Dtexturedomaineffect.cpp63 paint.setShader(SkGradientShader::MakeSweep(65.f, 75.f, colors1, nullptr, in onOnceBeforeDraw()
69 paint.setShader(SkGradientShader::MakeSweep(45.f, 55.f, colors2, nullptr, in onOnceBeforeDraw()
76 paint.setShader(SkGradientShader::MakeSweep(25.f, 35.f, colors3, nullptr, in onOnceBeforeDraw()
Dgradients_degenerate.cpp89 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep()
95 return SkGradientShader::MakeSweep(CENTER.fX, CENTER.fY, COLORS, POS, COLOR_CT, mode, in make_sweep_zero_ang()
Dgradients.cpp87 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep() function
92 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount, in MakeSweep()
102 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors4f, srgb, data.fPos, in MakeSweep4f()
161 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical
579 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, in onDraw()
831 return SkGradientShader::MakeSweep(half, half, run.fColors, run.fPos, run.fCount); in make_sweep()
980 p.setShader(SkGradientShader::MakeSweep(kTileSize / 2, kTileSize / 2, in __anon5f8ff7bb0302()
1000 sk_sp<SkShader> sweep1 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anon5f8ff7bb0402()
1004 sk_sp<SkShader> sweep2 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anon5f8ff7bb0402()
1050 p.setShader(SkGradientShader::MakeSweep(size / 2, size / 2, colors, pos,
Dgradients_no_texture.cpp40 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() function
44 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
75 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical,
/external/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
/external/skqp/samplecode/
DSampleGradients.cpp76 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm)… in MakeSweep() function
80 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount); in MakeSweep()
109 MakeLinear, MakeRadial, MakeSweep, Make2Conical, Make2ConicalConcentric
/external/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()
/external/skia/src/gpu/gradients/generated/
DGrSweepGradientLayout.cpp107 auto shader = params.fUseColors4f ? SkGradientShader::MakeSweep(center.fX, in TestCreate()
113 : SkGradientShader::MakeSweep(center.fX, in TestCreate()
/external/skia/docs/examples/
Dskpaint_sweep.cpp9 SkGradientShader::MakeSweep(128.0f, 128.0f, colors, nullptr, 4, 0, nullptr)); in draw()
Dsweep_gradient_talk_1.cpp9 paint.setShader(SkGradientShader::MakeSweep(cx, cy, colors, nullptr, 4)); in draw()
Dsweep_gradient_talk_4.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()
/external/skqp/src/gpu/gradients/
DGrSweepGradientLayout.fp75 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors4f, params.fColorSpace,
77 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors,
DGrSweepGradientLayout.cpp102 ? SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors4f, in TestCreate()
105 : SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors, in TestCreate()
/external/skia/src/gpu/gradients/
DGrSweepGradientLayout.fp68 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors4f, params.fColorSpace,
70 SkGradientShader::MakeSweep(center.fX, center.fY, params.fColors,

123