Home
last modified time | relevance | path

Searched refs:TileMode (Results 1 – 25 of 193) sorted by relevance

12345678

/external/skqp/gm/
Dtilemodes.cpp39 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup()
94 constexpr SkShader::TileMode gModes[] = { in onDraw()
159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode 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()
271 std::function<void(SkPaint*, SkShader::TileMode, SkShader::TileMode)> shader_procs[] = {
272 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { in __anon95c5c3820202()
277 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { in __anon95c5c3820302()
282 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { in __anon95c5c3820402()
[all …]
Dgradients_degenerate.cpp20 static const SkShader::TileMode TILE_MODES[] = { SkShader::kDecal_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()
105 static sk_sp<SkShader> make_2pt_conic_zero_rad(SkShader::TileMode mode) { in make_2pt_conic_zero_rad()
Dgradients_2pt_conical.cpp41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside()
52 … SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideStrip()
62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip()
73 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside()
86 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip()
99 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideCenter()
110 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideCenterReversed()
121 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRad()
134 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRadFlip()
147 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRadCenter()
[all …]
Dtilemodes_scaled.cpp38 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup()
98 constexpr SkShader::TileMode gModes[] = { in onDraw()
159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode 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()
/external/skia/gm/
Dtilemodes.cpp39 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup()
94 constexpr SkShader::TileMode gModes[] = { in onDraw()
159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode 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()
271 std::function<void(SkPaint*, SkShader::TileMode, SkShader::TileMode)> shader_procs[] = {
272 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { in __anon1ba6918b0202()
277 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { in __anon1ba6918b0302()
282 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { in __anon1ba6918b0402()
[all …]
Dgradients_degenerate.cpp20 static const SkShader::TileMode TILE_MODES[] = { SkShader::kDecal_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()
105 static sk_sp<SkShader> make_2pt_conic_zero_rad(SkShader::TileMode mode) { in make_2pt_conic_zero_rad()
Dgradients_2pt_conical.cpp41 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutside()
52 … SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideStrip()
62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalOutsideFlip()
73 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInside()
86 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideFlip()
99 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideCenter()
110 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalInsideCenterReversed()
121 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRad()
134 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRadFlip()
147 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2ConicalZeroRadCenter()
[all …]
Dtilemodes_scaled.cpp38 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup()
98 constexpr SkShader::TileMode gModes[] = { in onDraw()
159 static sk_sp<SkShader> make_bm(SkShader::TileMode tx, SkShader::TileMode 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()
/external/skia/modules/canvaskit/htmlcanvas/
Dpattern.js12 this._tileX = CanvasKit.TileMode.Repeat;
17 this._tileY = CanvasKit.TileMode.Decal;
20 this._tileX = CanvasKit.TileMode.Decal;
21 this._tileY = CanvasKit.TileMode.Repeat;
24 this._tileX = CanvasKit.TileMode.Repeat;
25 this._tileY = CanvasKit.TileMode.Repeat;
28 this._tileX = CanvasKit.TileMode.Decal;
29 this._tileY = CanvasKit.TileMode.Decal;
/external/skqp/experimental/canvaskit/htmlcanvas/
Dpattern.js12 this._tileX = CanvasKit.TileMode.Repeat;
17 this._tileY = CanvasKit.TileMode.Decal;
20 this._tileX = CanvasKit.TileMode.Decal;
21 this._tileY = CanvasKit.TileMode.Repeat;
24 this._tileX = CanvasKit.TileMode.Repeat;
25 this._tileY = CanvasKit.TileMode.Repeat;
28 this._tileX = CanvasKit.TileMode.Decal;
29 this._tileY = CanvasKit.TileMode.Decal;
/external/skia/include/effects/
DSkGradientShader.h72 SkShader::TileMode mode,
76 SkShader::TileMode mode) { in MakeLinear()
94 const SkScalar pos[], int count, SkShader::TileMode mode,
98 const SkScalar pos[], int count, SkShader::TileMode mode) { in MakeLinear()
117 SkShader::TileMode mode,
121 SkShader::TileMode mode) { in MakeRadial()
140 const SkScalar pos[], int count, SkShader::TileMode mode,
144 const SkScalar pos[], int count, SkShader::TileMode mode) { in MakeRadial()
158 int count, SkShader::TileMode mode,
163 int count, SkShader::TileMode mode) { in MakeTwoPointConical()
[all …]
/external/skqp/include/effects/
DSkGradientShader.h72 SkShader::TileMode mode,
76 SkShader::TileMode mode) { in MakeLinear()
94 const SkScalar pos[], int count, SkShader::TileMode mode,
98 const SkScalar pos[], int count, SkShader::TileMode mode) { in MakeLinear()
117 SkShader::TileMode mode,
121 SkShader::TileMode mode) { in MakeRadial()
140 const SkScalar pos[], int count, SkShader::TileMode mode,
144 const SkScalar pos[], int count, SkShader::TileMode mode) { in MakeRadial()
158 int count, SkShader::TileMode mode,
163 int count, SkShader::TileMode mode) { in MakeTwoPointConical()
[all …]
/external/skia/src/shaders/
DSkImageShader.h19 SkShader::TileMode tx,
20 SkShader::TileMode ty,
34 SkShader::TileMode tx,
35 SkShader::TileMode ty,
43 SkImage* onIsAImage(SkMatrix*, SkShader::TileMode*) const override;
53 const SkShader::TileMode fTileModeX;
54 const SkShader::TileMode fTileModeY;
DSkImageShader.cpp23 static SkShader::TileMode optimize(SkShader::TileMode tm, int dimension) { in optimize()
35 TileMode tmx, TileMode tmy, in SkImageShader()
49 const TileMode tx = (TileMode)buffer.readUInt(); in CreateProc()
50 const TileMode ty = (TileMode)buffer.readUInt(); in CreateProc()
140 SkImage* SkImageShader::onIsAImage(SkMatrix* texM, TileMode xy[]) const { in onIsAImage()
145 xy[0] = (TileMode)fTileModeX; in onIsAImage()
146 xy[1] = (TileMode)fTileModeY; in onIsAImage()
152 TileMode tx, TileMode ty, in Make()
173 static GrSamplerState::WrapMode tile_mode_to_wrap_mode(const SkShader::TileMode tileMode) { in tile_mode_to_wrap_mode()
175 case SkShader::TileMode::kClamp_TileMode: in tile_mode_to_wrap_mode()
[all …]
DSkPictureShader.h28 static sk_sp<SkShader> Make(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*,
47 SkPictureShader(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*, const SkRect*,
72 TileMode fTmx, fTmy;
/external/skqp/src/shaders/
DSkImageShader.h19 SkShader::TileMode tx,
20 SkShader::TileMode ty,
34 SkShader::TileMode tx,
35 SkShader::TileMode ty,
43 SkImage* onIsAImage(SkMatrix*, SkShader::TileMode*) const override;
53 const SkShader::TileMode fTileModeX;
54 const SkShader::TileMode fTileModeY;
DSkImageShader.cpp23 static SkShader::TileMode optimize(SkShader::TileMode tm, int dimension) { in optimize()
35 TileMode tmx, TileMode tmy, in SkImageShader()
49 const TileMode tx = (TileMode)buffer.readUInt(); in CreateProc()
50 const TileMode ty = (TileMode)buffer.readUInt(); in CreateProc()
136 SkImage* SkImageShader::onIsAImage(SkMatrix* texM, TileMode xy[]) const { in onIsAImage()
141 xy[0] = (TileMode)fTileModeX; in onIsAImage()
142 xy[1] = (TileMode)fTileModeY; in onIsAImage()
148 TileMode tx, TileMode ty, in Make()
168 static GrSamplerState::WrapMode tile_mode_to_wrap_mode(const SkShader::TileMode tileMode) { in tile_mode_to_wrap_mode()
170 case SkShader::TileMode::kClamp_TileMode: in tile_mode_to_wrap_mode()
[all …]
DSkPictureShader.h28 static sk_sp<SkShader> Make(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*,
47 SkPictureShader(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*, const SkRect*,
72 TileMode fTmx, fTmy;
/external/skia/include/core/
DSkShader.h42 enum TileMode { enum
90 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const;
144 TileMode fTileMode; //!< The tile mode used.
243 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy,
262 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
/external/skqp/include/core/
DSkShader.h42 enum TileMode { enum
90 SkImage* isAImage(SkMatrix* localMatrix, TileMode xy[2]) const;
144 TileMode fTileMode; //!< The tile mode used.
243 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy,
262 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy,
/external/skqp/tests/
DShaderTest.cpp20 SkShader::TileMode expectedX, SkShader::TileMode expectedY, in check_isaimage()
22 SkShader::TileMode tileModes[2]; in check_isaimage()
27 tileModes[0] = tileModes[1] = (SkShader::TileMode)99; in check_isaimage()
45 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode; in DEF_TEST()
46 const SkShader::TileMode tmy = SkShader::kMirror_TileMode; in DEF_TEST()
/external/skia/tests/
DShaderTest.cpp20 SkShader::TileMode expectedX, SkShader::TileMode expectedY, in check_isaimage()
22 SkShader::TileMode tileModes[2]; in check_isaimage()
27 tileModes[0] = tileModes[1] = (SkShader::TileMode)99; in check_isaimage()
45 const SkShader::TileMode tmx = SkShader::kRepeat_TileMode; in DEF_TEST()
46 const SkShader::TileMode tmy = SkShader::kMirror_TileMode; in DEF_TEST()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
Dtilingtraits.h36 static const SWR_TILE_MODE TileMode{ mode };
49 static const SWR_TILE_MODE TileMode{ SWR_TILE_NONE };
60 static const SWR_TILE_MODE TileMode{ SWR_TILE_SWRZ };
73 static const SWR_TILE_MODE TileMode{ SWR_TILE_SWRZ };
85 static const SWR_TILE_MODE TileMode{ SWR_TILE_SWRZ };
99 static const SWR_TILE_MODE TileMode{ SWR_TILE_MODE_YMAJOR };
112 static const SWR_TILE_MODE TileMode{ SWR_TILE_MODE_XMAJOR };
124 static const SWR_TILE_MODE TileMode{ SWR_TILE_MODE_WMAJOR };
/external/skia/bench/
DGradientBench.cpp51 SkShader::TileMode tm, float scale) { in MakeLinear()
56 SkShader::TileMode tm, float scale) { in MakeRadial()
66 SkShader::TileMode tm, float scale) { in MakeSweep()
75 SkShader::TileMode tm, float scale) { in MakeConical()
88 SkShader::TileMode tm, float scale) { in MakeConicalZeroRad()
101 SkShader::TileMode tm, float scale) { in MakeConicalOutside()
115 SkShader::TileMode tm, float scale) { in MakeConicalOutsideZeroRad()
128 SkShader::TileMode tm, float scale);
158 static const char* tilemodename(SkShader::TileMode tm) { in tilemodename()
190 SkShader::TileMode tm = SkShader::kClamp_TileMode, in GradientBench()
[all …]
/external/skqp/bench/
DGradientBench.cpp51 SkShader::TileMode tm, float scale) { in MakeLinear()
56 SkShader::TileMode tm, float scale) { in MakeRadial()
66 SkShader::TileMode tm, float scale) { in MakeSweep()
75 SkShader::TileMode tm, float scale) { in MakeConical()
88 SkShader::TileMode tm, float scale) { in MakeConicalZeroRad()
101 SkShader::TileMode tm, float scale) { in MakeConicalOutside()
115 SkShader::TileMode tm, float scale) { in MakeConicalOutsideZeroRad()
128 SkShader::TileMode tm, float scale);
158 static const char* tilemodename(SkShader::TileMode tm) { in tilemodename()
190 SkShader::TileMode tm = SkShader::kClamp_TileMode, in GradientBench()
[all …]

12345678