Home
last modified time | relevance | path

Searched refs:CreateLinear (Results 1 – 25 of 77) sorted by relevance

1234

/external/skia/tests/
DShaderOpacityTest.cpp67 SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count, in test_gradient()
76 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode); in test_gradient()
84 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode); in test_gradient()
92 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode); in test_gradient()
DGradientTest.cpp22 … SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in test_big_grad()
86 SkAutoTUnref<SkShader> s(SkGradientShader::CreateLinear(rec.fPoint, in linear_gradproc()
147 SkAutoTUnref<SkShader> s(SkGradientShader::CreateLinear(pts, in TestConstantGradient()
207 SkGradientShader::CreateLinear(pts, colors, pos, 2, SkShader::kClamp_TileMode)); in test_nearly_vertical()
228 SkGradientShader::CreateLinear(pts, colors, pos, 4, SkShader::kClamp_TileMode)); in test_linear_fuzz()
/external/skia/include/effects/
DSkGradientShader.h45 static SkShader* CreateLinear(const SkPoint pts[2],
50 static SkShader* CreateLinear(const SkPoint pts[2], in CreateLinear() function
53 return CreateLinear(pts, colors, pos, count, mode, 0, NULL); in CreateLinear()
/external/skia/samplecode/
DSampleShaders.cpp33 …SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in make_bitmapfade()
63 …SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in ShaderView()
69 …SkShader* shaderB = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileM… in ShaderView()
DSampleBigGradient.cpp16 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_grad()
DSampleClamp.cpp19 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_linear()
DSampleGradients.cpp16 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in setgrad()
67 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
DSampleShaderText.cpp26 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm()
58 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
/external/skia/gm/
Dgradtext.cpp17 return SkGradientShader::CreateLinear(pts, colors, nullptr, in make_grad()
26 return SkGradientShader::CreateLinear(pts, colors, nullptr, in make_grad2()
34 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_chrome_solid()
Dcomposeshader.cpp26 SkAutoTUnref<SkShader> shaderA(SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_shader()
33 SkAutoTUnref<SkShader> shaderB(SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in make_shader()
158 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_linear_gradient_shader()
Dshadertext3.cpp29 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm()
32 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
Dlumafilter.cpp88 fGr1.reset(SkGradientShader::CreateLinear(g1Points, in LumaFilterGM()
93 fGr2.reset(SkGradientShader::CreateLinear(g2Points, in LumaFilterGM()
Dgammatext.cpp17 return SkGradientShader::CreateLinear(pts, bw, nullptr, in make_heatGradient()
109 return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode);
Drectangletexture.cpp45 paint.setShader(SkGradientShader::CreateLinear(pts, colors0, nullptr, 2, in fillPixels()
51 paint.setShader(SkGradientShader::CreateLinear(pts, colors1, nullptr, 2, in fillPixels()
Dperspshaders.cpp65 fLinearGrad1.reset(SkGradientShader::CreateLinear(pts1, colors, pos, in onOnceBeforeDraw()
68 fLinearGrad2.reset(SkGradientShader::CreateLinear(pts2, colors, pos, in onOnceBeforeDraw()
Darithmode.cpp34 SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_src()
50 SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_dst()
Dpictureimagegenerator.cpp71 SkAutoTUnref<SkShader> gradient1(SkGradientShader::CreateLinear(pts1, colors1, pos1, in draw_vector_logo()
91 SkAutoTUnref<SkShader> gradient2(SkGradientShader::CreateLinear(pts2, colors2, pos2, in draw_vector_logo()
Dgradients.cpp45 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, in MakeLinear()
571 fShader[index].reset(SkGradientShader::CreateLinear(pts, colors, pos, in onOnceBeforeDraw()
641 SkGradientShader::CreateLinear(configs[i].pts, colors, configs[i].pos, kStopCount, in onDraw()
673 return SkGradientShader::CreateLinear(pts, run.fColors, run.fPos, run.fCount, mode); in make_linear()
766 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateLinear( in draw_many_stops()
Dshadertext.cpp27 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm()
50 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, data.fCount, tm); in MakeLinear()
Dcolorfilterimagefilter.cpp59 return SkGradientShader::CreateLinear(pts, colors, nullptr, 3, SkShader::kRepeat_TileMode); in sh_make_lineargradient0()
65 return SkGradientShader::CreateLinear(pts, colors, nullptr, 3, SkShader::kRepeat_TileMode); in sh_make_lineargradient1()
Dshadertext2.cpp27 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm()
30 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
Dalphagradients.cpp31 SkShader* s = SkGradientShader::CreateLinear(pts, colors, nullptr, 2, in draw_grad()
Dcolorfilters.cpp22 return SkGradientShader::CreateLinear(pts, in make_shader()
/external/skia/bench/
DAlternatingColorPatternBench.cpp54 paint.setShader(SkGradientShader::CreateLinear(kPts0, kColors0, kPos, in makebm()
57 paint.setShader(SkGradientShader::CreateLinear(kPts1, kColors1, kPos, in makebm()
/external/skia/experimental/FileReaderApp/
DFileReaderWindow.mm12 SkGradientShader::CreateLinear(pts, colors, pos, 2,

1234