Home
last modified time | relevance | path

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

12345

/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/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/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 __anon559bd9a00202()
277 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { in __anon559bd9a00302()
282 [img](SkPaint* paint, SkShader::TileMode tx, SkShader::TileMode ty) { in __anon559bd9a00402()
[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()
DgradientDirtyLaundry.cpp37 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear()
41 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeRadial()
46 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() argument
52 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData&, SkShader::TileMode);
74 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw()
Dgradients.cpp56 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeLinear()
62 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeLinear4f()
69 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeRadial()
78 SkShader::TileMode tm, const SkMatrix& localMatrix) { in MakeRadial4f()
88 SkShader::TileMode, const SkMatrix& localMatrix) { in MakeSweep() argument
97 SkShader::TileMode, const SkMatrix& localMatrix) { in MakeSweep4f() argument
107 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2Radial()
120 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2Radial4f()
134 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2Conical()
146 SkShader::TileMode tm, const SkMatrix& localMatrix) { in Make2Conical4f()
[all …]
Dgradients_no_texture.cpp29 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear()
33 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeRadial()
40 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { in MakeSweep() argument
47 static sk_sp<SkShader> Make2Radial(const SkPoint pts[2], const GradData& data, SkShader::TileMode t… in Make2Radial()
59 static sk_sp<SkShader> Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode in Make2Conical()
72 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode
97 constexpr SkShader::TileMode kTM = SkShader::kClamp_TileMode; in onDraw()
/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/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 …]
DSkBlurImageFilter.h16 enum TileMode { enum
30 TileMode tileMode = TileMode::kClampToBlack_TileMode);
DSkMatrixConvolutionImageFilter.h28 enum TileMode { enum
66 TileMode tileMode,
77 TileMode tileMode,
98 TileMode fTileMode;
/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/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/skqp/src/core/
DSkBitmapProcState.h32 SkBitmapProcInfo(const SkBitmapProvider&, SkShader::TileMode tmx, SkShader::TileMode tmy);
42 SkShader::TileMode fTileModeX;
43 SkShader::TileMode fTileModeY;
58 SkBitmapProcState(const SkBitmapProvider& prov, SkShader::TileMode tmx, SkShader::TileMode tmy) in SkBitmapProcState()
/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 …]
/external/skqp/samplecode/
DSampleGradients.cpp64 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeLinear()
68 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm… in MakeRadial()
76 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm)… in MakeSweep()
83 static sk_sp<SkShader> Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode in Make2Conical()
96 SkShader::TileMode tm) { in Make2ConicalConcentric()
106 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode
146 paint.setShader(gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm)); in onDrawContent()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLinearGradient.java17 private Shader.TileMode tile;
21 float x0, float y0, float x1, float y1, int color0, int color1, Shader.TileMode tile) { in __constructor__()
55 public Shader.TileMode getTile() { in getTile()
/external/skqp/experimental/svg/model/
DSkSVGGradient.cpp89 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kPad) == in onAsPaint()
91 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kRepeat) == in onAsPaint()
93 static_assert(static_cast<SkShader::TileMode>(SkSVGSpreadMethod::Type::kReflect) == in onAsPaint()
95 const auto tileMode = static_cast<SkShader::TileMode>(fSpreadMethod.type()); in onAsPaint()
/external/skqp/src/c/
Dsk_effects.cpp22 SkShader::TileMode fSK;
29 static bool from_c_tilemode(sk_shader_tilemode_t cMode, SkShader::TileMode* skMode) { in from_c_tilemode()
55 SkShader::TileMode mode; in sk_shader_new_linear_gradient()
82 SkShader::TileMode mode; in sk_shader_new_radial_gradient()
126 SkShader::TileMode mode; in sk_shader_new_two_point_conical_gradient()
/external/skqp/fuzz/
DFuzzGradients.cpp27 std::vector<SkScalar>* pos, SkShader::TileMode* mode) { in initGradientParams()
35 *mode = static_cast<SkShader::TileMode>(m); in initGradientParams()
69 SkShader::TileMode mode, in logLinearGradient()
114 SkShader::TileMode mode; in fuzzLinearGradient()
152 SkShader::TileMode mode; in fuzzRadialGradient()
190 SkShader::TileMode mode; in fuzzTwoPointConicalGradient()
224 SkShader::TileMode mode; in fuzzSweepGradient()

12345