/external/skia/include/effects/ |
D | SkGradientShader.h | 41 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 45 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() function 48 return MakeLinear(pts, colors, pos, count, mode, 0, NULL); in MakeLinear() 63 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 67 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() function 70 return MakeLinear(pts, colors, std::move(colorSpace), pos, count, mode, 0, NULL); in MakeLinear()
|
/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 61 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() 68 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() 75 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() 82 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient()
|
D | GradientTest.cpp | 26 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, in test_big_grad() 90 sk_sp<SkShader> s(SkGradientShader::MakeLinear(buildRec.fPoint, buildRec.fColors, buildRec.fPos, in linear_gradproc() 147 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in TestConstantGradient() 279 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_nearly_vertical() 291 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_vertical() 308 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); in test_linear_fuzz() 341 p.setShader(SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_clamping_overflow() 348 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_clamping_overflow() 363 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_degenerate_linear() 465 paint.setShader(SkGradientShader::MakeLinear(config.fPts, in test_linear_fuzzer()
|
/external/skia/gm/ |
D | highcontrastfilter.cpp | 69 paint.setShader(SkGradientShader::MakeLinear( in draw_scene() 76 paint.setShader(SkGradientShader::MakeLinear( in draw_scene() 95 fGr1 = SkGradientShader::MakeLinear( in HighContrastFilterGM() 98 fGr2 = SkGradientShader::MakeLinear( in HighContrastFilterGM()
|
D | shaderbounds.cpp | 13 static sk_sp<SkShader> MakeLinear(SkScalar width, SkScalar height, bool alternate, in MakeLinear() function 22 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode, in MakeLinear() 102 return new ShaderBoundsGM(MakeLinear, SkString("shaderbounds_linear")); in MyFactory()
|
D | gradientDirtyLaundry.cpp | 38 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear() function 39 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 56 MakeLinear, MakeRadial, MakeSweep,
|
D | shadertext.cpp | 28 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, SK_ARRAY_COUNT(colors), in makebm() 50 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear() function 51 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 84 MakeLinear, MakeRadial, MakeSweep, Make2Conical
|
D | gamma.cpp | 144 p.setShader(SkGradientShader::MakeLinear(points, colors, nullptr, 2, 157 p.setShader(SkGradientShader::MakeLinear(points, colors, nullptr, 2, 170 p.setShader(SkGradientShader::MakeLinear(points, colors, nullptr, 3, 183 p.setShader(SkGradientShader::MakeLinear(points, colors, nullptr, 5,
|
D | gradtext.cpp | 18 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_grad() 26 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_grad2() 33 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_chrome_solid()
|
D | coloremoji.cpp | 23 static sk_sp<SkShader> MakeLinear() { in MakeLinear() function 27 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear() 106 shaderPaint.setShader(MakeLinear()); in onDraw()
|
D | gradients_no_texture.cpp | 30 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear() function 31 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 76 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical, 258 paint.setShader(SkGradientShader::MakeLinear(pts, rec.fColors, rec.fPos, rec.fCount, in onDraw()
|
D | shadertext3.cpp | 30 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, in makebm() 33 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, in makebm()
|
D | gradients.cpp | 57 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, in MakeLinear() function 59 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm, 0, in MakeLinear() 66 return SkGradientShader::MakeLinear(pts, data.fColors4f, srgb, data.fPos, data.fCount, tm, 0, in MakeLinear4f() 163 MakeLinear, MakeRadial, MakeSweep, Make2Radial, Make2Conical 715 fShader[index] = SkGradientShader::MakeLinear(pts, colors, pos, in onOnceBeforeDraw() 784 paint.setShader(SkGradientShader::MakeLinear(configs[i].pts, colors, configs[i].pos, in onDraw() 816 return SkGradientShader::MakeLinear(pts, run.fColors, run.fPos, run.fCount, mode); in make_linear() 910 p.setShader(SkGradientShader::MakeLinear( in draw_many_stops() 928 p.setShader(SkGradientShader::MakeLinear( in draw_subpixel_gradient()
|
D | composeshader.cpp | 25 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_shader() 31 auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_shader() 147 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_linear_gradient_shader()
|
D | gammatext.cpp | 18 return SkGradientShader::MakeLinear(pts, bw, nullptr, SK_ARRAY_COUNT(bw), in make_heatGradient() 104 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
|
D | lumafilter.cpp | 89 fGr1 = SkGradientShader::MakeLinear(g1Points, g1Colors, pos, SK_ARRAY_COUNT(g1Colors), in LumaFilterGM() 91 fGr2 = SkGradientShader::MakeLinear(g2Points, g2Colors, pos, SK_ARRAY_COUNT(g2Colors), in LumaFilterGM()
|
D | rectangletexture.cpp | 46 paint.setShader(SkGradientShader::MakeLinear(pts, colors0, nullptr, 2, in fillPixels() 52 paint.setShader(SkGradientShader::MakeLinear(pts, colors1, nullptr, 2, in fillPixels()
|
D | arithmode.cpp | 32 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_src() 48 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_dst()
|
D | perspshaders.cpp | 65 fLinearGrad1 = SkGradientShader::MakeLinear(pts1, colors, pos, SK_ARRAY_COUNT(colors), in onOnceBeforeDraw() 67 fLinearGrad2 = SkGradientShader::MakeLinear(pts2, colors, pos, SK_ARRAY_COUNT(colors), in onOnceBeforeDraw()
|
/external/skia/samplecode/ |
D | SampleShaders.cpp | 31 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_bitmapfade() 54 … auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView() 60 … auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView()
|
D | SampleGradients.cpp | 15 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in setgrad() 65 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear() function 66 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 110 MakeLinear, MakeRadial, MakeSweep, Make2Conical, Make2ConicalConcentric
|
D | SampleShaderText.cpp | 26 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, in makebm() 57 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear() function 58 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 91 MakeLinear, MakeRadial, MakeSweep, Make2Conical
|
D | SampleClamp.cpp | 18 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_linear()
|
/external/skia/bench/ |
D | AlternatingColorPatternBench.cpp | 54 paint.setShader(SkGradientShader::MakeLinear(kPts0, kColors0, kPos, SK_ARRAY_COUNT(kColors0), in makebm() 57 paint.setShader(SkGradientShader::MakeLinear(kPts1, kColors1, kPos, SK_ARRAY_COUNT(kColors1), in makebm()
|
D | GradientBench.cpp | 49 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, in MakeLinear() function 52 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, in MakeLinear() 135 { MakeLinear, "linear" }, 380 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, in onDraw()
|