Home
last modified time | relevance | path

Searched refs:SkShader (Results 1 – 25 of 548) sorted by relevance

12345678910>>...22

/external/skia/bench/
DHardStopGradientBench_ScaleNumColors.cpp17 static const char* get_tilemode_name(SkShader::TileMode tilemode) { in get_tilemode_name()
19 case SkShader::kClamp_TileMode: in get_tilemode_name()
21 case SkShader::kRepeat_TileMode: in get_tilemode_name()
23 case SkShader::kMirror_TileMode: in get_tilemode_name()
33 HardStopGradientBench_ScaleNumColors(SkShader::TileMode tilemode, int count) { in HardStopGradientBench_ScaleNumColors()
106 SkShader::TileMode fTileMode;
115 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 3);)
116 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 4);)
117 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 5);)
118 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 10);)
[all …]
DGradientBench.cpp50 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, in MakeLinear()
51 SkShader::TileMode tm, float scale) { in MakeLinear()
55 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, in MakeRadial()
56 SkShader::TileMode tm, float scale) { in MakeRadial()
65 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep()
66 SkShader::TileMode tm, float scale) { in MakeSweep()
74 static sk_sp<SkShader> MakeConical(const SkPoint pts[2], const GradData& data, in MakeConical()
75 SkShader::TileMode tm, float scale) { in MakeConical()
87 static sk_sp<SkShader> MakeConicalZeroRad(const SkPoint pts[2], const GradData& data, in MakeConicalZeroRad()
88 SkShader::TileMode tm, float scale) { in MakeConicalZeroRad()
[all …]
DTileBench.cpp39 ConstXTileBench(SkShader::TileMode xTile, in ConstXTileBench()
40 SkShader::TileMode yTile, in ConstXTileBench()
54 fPaint.setShader(SkShader::MakeBitmapShader(bm, xTile, yTile)); in ConstXTileBench()
58 static const char* gTileModeStr[SkShader::kTileModeCount] = { "C", "R", "M" }; in ConstXTileBench()
118 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false, f…
121 DEF_BENCH(return new ConstXTileBench(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, true, …
123 DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMirror_TileMode, true, …
126 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false, t…
129 DEF_BENCH(return new ConstXTileBench(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, true, …
131 DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMirror_TileMode, true, …
/external/skqp/bench/
DHardStopGradientBench_ScaleNumColors.cpp17 static const char* get_tilemode_name(SkShader::TileMode tilemode) { in get_tilemode_name()
19 case SkShader::kClamp_TileMode: in get_tilemode_name()
21 case SkShader::kRepeat_TileMode: in get_tilemode_name()
23 case SkShader::kMirror_TileMode: in get_tilemode_name()
33 HardStopGradientBench_ScaleNumColors(SkShader::TileMode tilemode, int count) { in HardStopGradientBench_ScaleNumColors()
106 SkShader::TileMode fTileMode;
115 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 3);)
116 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 4);)
117 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 5);)
118 DEF_BENCH(return new HardStopGradientBench_ScaleNumColors(SkShader::kClamp_TileMode, 10);)
[all …]
DGradientBench.cpp50 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, in MakeLinear()
51 SkShader::TileMode tm, float scale) { in MakeLinear()
55 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, in MakeRadial()
56 SkShader::TileMode tm, float scale) { in MakeRadial()
65 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep()
66 SkShader::TileMode tm, float scale) { in MakeSweep()
74 static sk_sp<SkShader> MakeConical(const SkPoint pts[2], const GradData& data, in MakeConical()
75 SkShader::TileMode tm, float scale) { in MakeConical()
87 static sk_sp<SkShader> MakeConicalZeroRad(const SkPoint pts[2], const GradData& data, in MakeConicalZeroRad()
88 SkShader::TileMode tm, float scale) { in MakeConicalZeroRad()
[all …]
DTileBench.cpp39 ConstXTileBench(SkShader::TileMode xTile, in ConstXTileBench()
40 SkShader::TileMode yTile, in ConstXTileBench()
54 fPaint.setShader(SkShader::MakeBitmapShader(bm, xTile, yTile)); in ConstXTileBench()
58 static const char* gTileModeStr[SkShader::kTileModeCount] = { "C", "R", "M" }; in ConstXTileBench()
118 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false, f…
121 DEF_BENCH(return new ConstXTileBench(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, true, …
123 DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMirror_TileMode, true, …
126 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false, t…
129 DEF_BENCH(return new ConstXTileBench(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, true, …
131 DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMirror_TileMode, true, …
/external/skqp/include/effects/
DSkGradientShader.h70 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2],
72 SkShader::TileMode mode,
74 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear()
76 SkShader::TileMode mode) { in MakeLinear()
92 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2],
94 const SkScalar pos[], int count, SkShader::TileMode mode,
96 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear()
98 const SkScalar pos[], int count, SkShader::TileMode mode) { in MakeLinear()
115 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
117 SkShader::TileMode mode,
[all …]
/external/skia/include/effects/
DSkGradientShader.h70 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2],
72 SkShader::TileMode mode,
74 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear()
76 SkShader::TileMode mode) { in MakeLinear()
92 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2],
94 const SkScalar pos[], int count, SkShader::TileMode mode,
96 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear()
98 const SkScalar pos[], int count, SkShader::TileMode mode) { in MakeLinear()
115 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius,
117 SkShader::TileMode mode,
[all …]
/external/skqp/include/core/
DSkShader.h40 class SK_API SkShader : public SkFlattenable {
152 const SkShader* fShaderA;
153 const SkShader* fShaderB;
166 sk_sp<SkShader> makeWithLocalMatrix(const SkMatrix&) const;
172 sk_sp<SkShader> makeWithColorFilter(sk_sp<SkColorFilter>) const;
180 static sk_sp<SkShader> MakeEmptyShader();
186 static sk_sp<SkShader> MakeColorShader(SkColor);
194 static sk_sp<SkShader> MakeColorShader(const SkColor4f&, sk_sp<SkColorSpace>);
206 static sk_sp<SkShader> MakeCompose(sk_sp<SkShader> dst, sk_sp<SkShader> src,
212 static sk_sp<SkShader> MakeComposeShader(sk_sp<SkShader> dst, sk_sp<SkShader> src, in MakeComposeShader()
[all …]
/external/skia/include/core/
DSkShader.h40 class SK_API SkShader : public SkFlattenable {
152 const SkShader* fShaderA;
153 const SkShader* fShaderB;
166 sk_sp<SkShader> makeWithLocalMatrix(const SkMatrix&) const;
172 sk_sp<SkShader> makeWithColorFilter(sk_sp<SkColorFilter>) const;
180 static sk_sp<SkShader> MakeEmptyShader();
186 static sk_sp<SkShader> MakeColorShader(SkColor);
194 static sk_sp<SkShader> MakeColorShader(const SkColor4f&, sk_sp<SkColorSpace>);
206 static sk_sp<SkShader> MakeCompose(sk_sp<SkShader> dst, sk_sp<SkShader> src,
212 static sk_sp<SkShader> MakeComposeShader(sk_sp<SkShader> dst, sk_sp<SkShader> src, in MakeComposeShader()
[all …]
/external/skqp/gm/
Dtilemodes.cpp34 SkShader::kClamp_TileMode)); in makebm()
39 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup()
40 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
94 constexpr SkShader::TileMode gModes[] = { in onDraw()
95 SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode }; in onDraw()
159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { in make_bm()
162 return SkShader::MakeBitmapShader(bm, tx, ty); in make_bm()
165 static sk_sp<SkShader> make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { in make_grad()
184 typedef sk_sp<SkShader> (*ShaderProc)(SkShader::TileMode, SkShader::TileMode);
209 constexpr SkShader::TileMode gModes[] = { in onDraw()
[all …]
Dgiantbitmap.cpp23 SkShader::TileMode fMode;
63 GiantBitmapGM(SkShader::TileMode mode, bool doFilter, bool doRotate) : fBM(nullptr) { in GiantBitmapGM()
76 case SkShader::kClamp_TileMode: in onShortName()
79 case SkShader::kRepeat_TileMode: in onShortName()
82 case SkShader::kMirror_TileMode: in onShortName()
107 paint.setShader(SkShader::MakeBitmapShader(getBitmap(), fMode, fMode, &m)); in onDraw()
123 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, false, false); )
124 DEF_GM( return new GiantBitmapGM(SkShader::kRepeat_TileMode, false, false); )
125 DEF_GM( return new GiantBitmapGM(SkShader::kMirror_TileMode, false, false); )
126 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, true, false); )
[all …]
Dgradients_degenerate.cpp20 static const SkShader::TileMode TILE_MODES[] = { SkShader::kDecal_TileMode,
21 SkShader::kRepeat_TileMode,
22 SkShader::kMirror_TileMode,
23 SkShader::kClamp_TileMode };
32 typedef sk_sp<SkShader> (*GradientFactory)(SkShader::TileMode tm);
75 static sk_sp<SkShader> make_linear(SkShader::TileMode mode) { in make_linear()
81 static sk_sp<SkShader> make_radial(SkShader::TileMode mode) { in make_radial()
86 static sk_sp<SkShader> make_sweep(SkShader::TileMode mode) { in make_sweep()
93 static sk_sp<SkShader> make_sweep_zero_ang(SkShader::TileMode mode) { in make_sweep_zero_ang()
99 static sk_sp<SkShader> make_2pt_conic(SkShader::TileMode mode) { in make_2pt_conic()
[all …]
Dgradients_2pt_conical.cpp40 static sk_sp<SkShader> Make2ConicalOutside(const SkPoint pts[2], const GradData& data, in Make2ConicalOutside()
41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside()
51 static sk_sp<SkShader> Make2ConicalOutsideStrip(const SkPoint pts[2], const GradData& data, in Make2ConicalOutsideStrip()
52SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideStrip()
61 static sk_sp<SkShader> Make2ConicalOutsideFlip(const SkPoint pts[2], const GradData& data, in Make2ConicalOutsideFlip()
62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip()
72 static sk_sp<SkShader> Make2ConicalInside(const SkPoint pts[2], const GradData& data, in Make2ConicalInside()
73 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside()
85 static sk_sp<SkShader> Make2ConicalInsideFlip(const SkPoint pts[2], const GradData& data, in Make2ConicalInsideFlip()
86 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip()
[all …]
Dcomposeshader.cpp19 static sk_sp<SkShader> make_shader(SkBlendMode mode) { in make_shader()
27 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_shader()
33 auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_shader()
35 return SkShader::MakeComposeShader(std::move(shaderA), std::move(shaderB), mode); in make_shader()
62 sk_sp<SkShader> fShader;
83 sk_sp<SkShader> shaders[] = { in onDraw()
143 static sk_sp<SkShader> make_linear_gradient_shader(int length) { in make_linear_gradient_shader()
150 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_linear_gradient_shader()
164 fColorBitmapShader = SkShader::MakeBitmapShader(fColorBitmap, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
165 SkShader::kRepeat_TileMode, &s); in onOnceBeforeDraw()
[all …]
Dgradients.cpp55 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, in MakeLinear()
56 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeLinear()
61 static sk_sp<SkShader> MakeLinear4f(const SkPoint pts[2], const GradData& data, in MakeLinear4f()
62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeLinear4f()
68 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, in MakeRadial()
69 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeRadial()
77 static sk_sp<SkShader> MakeRadial4f(const SkPoint pts[2], const GradData& data, in MakeRadial4f()
78 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeRadial4f()
87 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep()
88 SkShader::TileMode, const SkMatrix& localMatrix) { in MakeSweep()
[all …]
/external/skia/gm/
Dtilemodes.cpp34 SkShader::kClamp_TileMode)); in makebm()
39 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup()
40 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
94 constexpr SkShader::TileMode gModes[] = { in onDraw()
95 SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode, SkShader::kMirror_TileMode }; in onDraw()
159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode ty) { in make_bm()
162 return SkShader::MakeBitmapShader(bm, tx, ty); in make_bm()
165 static sk_sp<SkShader> make_grad(SkShader::TileMode tx, SkShader::TileMode ty) { in make_grad()
184 typedef sk_sp<SkShader> (*ShaderProc)(SkShader::TileMode, SkShader::TileMode);
209 constexpr SkShader::TileMode gModes[] = { in onDraw()
[all …]
Dgiantbitmap.cpp23 SkShader::TileMode fMode;
63 GiantBitmapGM(SkShader::TileMode mode, bool doFilter, bool doRotate) : fBM(nullptr) { in GiantBitmapGM()
76 case SkShader::kClamp_TileMode: in onShortName()
79 case SkShader::kRepeat_TileMode: in onShortName()
82 case SkShader::kMirror_TileMode: in onShortName()
107 paint.setShader(SkShader::MakeBitmapShader(getBitmap(), fMode, fMode, &m)); in onDraw()
123 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, false, false); )
124 DEF_GM( return new GiantBitmapGM(SkShader::kRepeat_TileMode, false, false); )
125 DEF_GM( return new GiantBitmapGM(SkShader::kMirror_TileMode, false, false); )
126 DEF_GM( return new GiantBitmapGM(SkShader::kClamp_TileMode, true, false); )
[all …]
Dgradients_degenerate.cpp20 static const SkShader::TileMode TILE_MODES[] = { SkShader::kDecal_TileMode,
21 SkShader::kRepeat_TileMode,
22 SkShader::kMirror_TileMode,
23 SkShader::kClamp_TileMode };
32 typedef sk_sp<SkShader> (*GradientFactory)(SkShader::TileMode tm);
75 static sk_sp<SkShader> make_linear(SkShader::TileMode mode) { in make_linear()
81 static sk_sp<SkShader> make_radial(SkShader::TileMode mode) { in make_radial()
86 static sk_sp<SkShader> make_sweep(SkShader::TileMode mode) { in make_sweep()
93 static sk_sp<SkShader> make_sweep_zero_ang(SkShader::TileMode mode) { in make_sweep_zero_ang()
99 static sk_sp<SkShader> make_2pt_conic(SkShader::TileMode mode) { in make_2pt_conic()
[all …]
Dgradients_2pt_conical.cpp40 static sk_sp<SkShader> Make2ConicalOutside(const SkPoint pts[2], const GradData& data, in Make2ConicalOutside()
41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside()
51 static sk_sp<SkShader> Make2ConicalOutsideStrip(const SkPoint pts[2], const GradData& data, in Make2ConicalOutsideStrip()
52SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideStrip()
61 static sk_sp<SkShader> Make2ConicalOutsideFlip(const SkPoint pts[2], const GradData& data, in Make2ConicalOutsideFlip()
62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip()
72 static sk_sp<SkShader> Make2ConicalInside(const SkPoint pts[2], const GradData& data, in Make2ConicalInside()
73 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside()
85 static sk_sp<SkShader> Make2ConicalInsideFlip(const SkPoint pts[2], const GradData& data, in Make2ConicalInsideFlip()
86 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip()
[all …]
Dcomposeshader.cpp19 static sk_sp<SkShader> make_shader(SkBlendMode mode) { in make_shader()
27 auto shaderA = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_shader()
33 auto shaderB = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_shader()
35 return SkShader::MakeComposeShader(std::move(shaderA), std::move(shaderB), mode); in make_shader()
62 sk_sp<SkShader> fShader;
83 sk_sp<SkShader> shaders[] = { in onDraw()
143 static sk_sp<SkShader> make_linear_gradient_shader(int length) { in make_linear_gradient_shader()
150 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_linear_gradient_shader()
164 fColorBitmapShader = SkShader::MakeBitmapShader(fColorBitmap, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
165 SkShader::kRepeat_TileMode, &s); in onOnceBeforeDraw()
[all …]
Dgradients.cpp55 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, in MakeLinear()
56 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeLinear()
61 static sk_sp<SkShader> MakeLinear4f(const SkPoint pts[2], const GradData& data, in MakeLinear4f()
62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeLinear4f()
68 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, in MakeRadial()
69 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeRadial()
77 static sk_sp<SkShader> MakeRadial4f(const SkPoint pts[2], const GradData& data, in MakeRadial4f()
78 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeRadial4f()
87 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep()
88 SkShader::TileMode, const SkMatrix& localMatrix) { in MakeSweep()
[all …]
/external/skia/tests/
DGradientTest.cpp26 SkShader::kClamp_TileMode)); in test_big_grad()
48 SkShader::TileMode fTileMode;
50 void gradCheck(skiatest::Reporter* reporter, const sk_sp<SkShader>& shader, in gradCheck()
51 SkShader::GradientInfo* info, in gradCheck()
52 SkShader::GradientType gt) const { in gradCheck()
72 sk_sp<SkShader> s(SkShader::MakeEmptyShader()); in none_gradproc()
73 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(nullptr)); in none_gradproc()
77 sk_sp<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc()
78 REPORTER_ASSERT(reporter, SkShader::kColor_GradientType == s->asAGradient(nullptr)); in color_gradproc()
80 SkShader::GradientInfo info; in color_gradproc()
[all …]
/external/skqp/tests/
DGradientTest.cpp26 SkShader::kClamp_TileMode)); in test_big_grad()
48 SkShader::TileMode fTileMode;
50 void gradCheck(skiatest::Reporter* reporter, const sk_sp<SkShader>& shader, in gradCheck()
51 SkShader::GradientInfo* info, in gradCheck()
52 SkShader::GradientType gt) const { in gradCheck()
72 sk_sp<SkShader> s(SkShader::MakeEmptyShader()); in none_gradproc()
73 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(nullptr)); in none_gradproc()
77 sk_sp<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc()
78 REPORTER_ASSERT(reporter, SkShader::kColor_GradientType == s->asAGradient(nullptr)); in color_gradproc()
80 SkShader::GradientInfo info; in color_gradproc()
[all …]
DShaderOpacityTest.cpp21 auto shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
22 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap()
30 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
31 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap()
37 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
38 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap()
44 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
45 SkShader::kClamp_TileMode, SkShader::kClamp_TileMode); in test_bitmap()
57 SkShader::TileMode mode = SkShader::kClamp_TileMode; in test_gradient()

12345678910>>...22