/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 | 28 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp)); in test_big_grad() 91 sk_sp<SkShader> s(SkGradientShader::MakeLinear(buildRec.fPoint, buildRec.fColors, buildRec.fPos, in linear_gradproc() 148 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in TestConstantGradient() 283 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_nearly_vertical() 295 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_vertical() 312 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkTileMode::kClamp)); in test_linear_fuzz() 345 p.setShader(SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkTileMode::kClamp)); in test_clamping_overflow() 352 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkTileMode::kClamp)); in test_clamping_overflow() 367 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp)); in test_degenerate_linear() 387 sk_sp<SkShader> gradient = SkGradientShader::MakeLinear(points, colors, nullptr, positions, 3, in test_unsorted_degenerate() [all …]
|
/external/skia/include/effects/ |
D | SkGradientShader.h | 73 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 77 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() function 80 return MakeLinear(pts, colors, pos, count, mode, 0, nullptr); in MakeLinear() 97 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 101 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() function 104 return MakeLinear(pts, colors, std::move(colorSpace), pos, count, mode, 0, nullptr); in MakeLinear()
|
/external/skqp/tests/ |
D | ShaderOpacityTest.cpp | 62 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() 69 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() 76 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient() 83 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode); in test_gradient()
|
D | GradientTest.cpp | 25 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, in test_big_grad() 89 sk_sp<SkShader> s(SkGradientShader::MakeLinear(buildRec.fPoint, buildRec.fColors, buildRec.fPos, in linear_gradproc() 146 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in TestConstantGradient() 281 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_nearly_vertical() 293 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_vertical() 310 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); in test_linear_fuzz() 343 p.setShader(SkGradientShader::MakeLinear(pts1, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_clamping_overflow() 350 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_clamping_overflow() 365 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode)); in test_degenerate_linear() 476 paint.setShader(SkGradientShader::MakeLinear(config.fPts, in test_linear_fuzzer()
|
/external/skqp/include/effects/ |
D | SkGradientShader.h | 70 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 74 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() function 77 return MakeLinear(pts, colors, pos, count, mode, 0, nullptr); in MakeLinear() 92 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 96 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() function 99 return MakeLinear(pts, colors, std::move(colorSpace), pos, count, mode, 0, nullptr); in MakeLinear()
|
/external/skia/gm/ |
D | highcontrastfilter.cpp | 91 paint.setShader(SkGradientShader::MakeLinear( in draw_scene() 98 paint.setShader(SkGradientShader::MakeLinear( in draw_scene() 117 fGr1 = SkGradientShader::MakeLinear( in onOnceBeforeDraw() 120 fGr2 = SkGradientShader::MakeLinear( in onOnceBeforeDraw()
|
D | gradtext.cpp | 32 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_grad() 40 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_grad2() 47 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp); in make_chrome_solid()
|
D | gradient_dirty_laundry.cpp | 50 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkTileMode tm) { in MakeLinear() function 51 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 68 MakeLinear, MakeRadial, MakeSweep,
|
/external/skqp/gm/ |
D | highcontrastfilter.cpp | 74 paint.setShader(SkGradientShader::MakeLinear( in draw_scene() 81 paint.setShader(SkGradientShader::MakeLinear( in draw_scene() 100 fGr1 = SkGradientShader::MakeLinear( in HighContrastFilterGM() 103 fGr2 = SkGradientShader::MakeLinear( in HighContrastFilterGM()
|
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 | gradientDirtyLaundry.cpp | 37 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear() function 38 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear() 55 MakeLinear, MakeRadial, MakeSweep,
|
/external/skqp/src/shaders/gradients/ |
D | SkLinearGradient.cpp | 44 return SkGradientShader::MakeLinear(pts, desc.fColors, std::move(desc.fColorSpace), desc.fPos, in CreateProc() 85 return SkGradientShader::MakeLinear(pts, xformedColors.fColors.get(), fOrigPos, fColorCount, in onMakeColorSpace() 106 return GrGradientShader::MakeLinear(*this, args); in asFragmentProcessor()
|
/external/skqp/samplecode/ |
D | SampleShaders.cpp | 30 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_bitmapfade() 53 … auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView() 59 … auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in ShaderView()
|
/external/skia/docs/examples/ |
D | Dst_In.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Src_Over.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Dst_Out.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Dst_Atop.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Src_Atop.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Src_In.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Screen.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Overlay.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Src_Out.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
D | Dst_Over.cpp | 10 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), in draw() 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in draw()
|
/external/skqp/docs/ |
D | SkBlendMode_Reference.bmh | 313 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), 319 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 337 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), 343 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 361 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), 367 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 386 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), 392 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 411 paint.setShader(SkGradientShader::MakeLinear(horz, colors, nullptr, SK_ARRAY_COUNT(colors), 417 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), [all …]
|