Home
last modified time | relevance | path

Searched refs:gModes (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/gm/
Dtilemodes_scaled.cpp107 constexpr SkTileMode gModes[] = { in onDraw() local
114 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
115 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
131 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
132 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
140 setup(&paint, fTexture[i], gSamplings[j], gModes[kx], gModes[ky]); in onDraw()
213 constexpr SkTileMode gModes[] = { in onDraw() local
225 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
234 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
241 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
[all …]
Dtilemodes.cpp104 constexpr SkTileMode gModes[] = { in onDraw() local
111 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
112 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
130 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
131 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
139 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDraw()
214 constexpr SkTileMode gModes[] = { in onDraw() local
226 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
235 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
243 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
[all …]
Ddrawatlascolor.cpp88 const SkBlendMode gModes[] = { in onDraw() local
127 const int numModes = SK_ARRAY_COUNT(gModes); in onDraw()
147 const char* label = SkBlendMode_Name(gModes[i]); in onDraw()
158 gModes[i], SkSamplingOptions(), nullptr, nullptr); in onDraw()
162 gModes[i], SkSamplingOptions(), nullptr, &paint); in onDraw()
Dlcdblendmodes.cpp93 const SkBlendMode gModes[] = { in drawColumn() local
129 for (size_t m = 0; m < SK_ARRAY_COUNT(gModes); m++) { in drawColumn()
132 paint.setBlendMode(gModes[m]); in drawColumn()
141 SkString string(SkBlendMode_Name(gModes[m])); in drawColumn()
Dcoloremoji_blendmodes.cpp79 const SkBlendMode gModes[] = { in onDraw() local
129 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw()
146 textP.setBlendMode(gModes[i]); in onDraw()
154 const char* label = SkBlendMode_Name(gModes[i]); in onDraw()
Dxfermodes.cpp58 } gModes[] = { variable
254 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw()
255 if ((gModes[i].fSourceTypeMask & sourceType) == 0) { in onDraw()
266 draw_mode(canvas, gModes[i].fMode, static_cast<SrcType>(sourceType), in onDraw()
276 const char* label = SkBlendMode_Name(gModes[i].fMode); in onDraw()
Dhairmodes.cpp25 constexpr SkBlendMode gModes[] = { variable
106 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDraw()
115 SkScalar dy = drawCell(canvas, gModes[i], in onDraw()
Daarectmodes.cpp73 constexpr SkBlendMode gModes[] = { variable
143 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) {
151 SkScalar dy = drawCell(canvas, gModes[i],
Dxfermodeimagefilter.cpp58 const SkBlendMode gModes[] = { in onDraw() local
93 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw()
94 paint.setImageFilter(SkImageFilters::Blend(gModes[i], background)); in onDraw()
/third_party/skia/modules/skottie/src/layers/shapelayer/
DMergePaths.cpp33 static constexpr sksg::Merge::Mode gModes[] = { in AttachMergeGeometryEffect() local
41 const auto mode = gModes[std::min<size_t>(ParseDefault<size_t>(jmerge["mm"], 1) - 1, in AttachMergeGeometryEffect()
42 SK_ARRAY_COUNT(gModes) - 1)]; in AttachMergeGeometryEffect()
DTrimPaths.cpp81 } gModes[] = { Mode::kParallel, Mode::kSerial}; in AttachTrimGeometryEffect() local
83 const auto mode = gModes[std::min<size_t>(ParseDefault<size_t>(jtrim["m"], 1) - 1, in AttachTrimGeometryEffect()
84 SK_ARRAY_COUNT(gModes) - 1)]; in AttachTrimGeometryEffect()
/third_party/skia/samplecode/
DSampleXfermodesBlur.cpp81 const SkBlendMode gModes[] = { in onDrawContent() local
112 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDrawContent()
122 draw_mode(canvas, gModes[i], twice ? 0x88 : 0xFF, r.fLeft, r.fTop); in onDrawContent()
130 const char* label = SkBlendMode_Name(gModes[i]); in onDrawContent()
DSampleAARectModes.cpp14 static const SkBlendMode gModes[] = { variable
87 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDrawContent()
96 SkScalar dy = drawCell(canvas, gModes[i], gAlphaValue[alpha & 1], in onDrawContent()
DSampleHairModes.cpp14 static const SkBlendMode gModes[] = { variable
87 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDrawContent()
95 SkScalar dy = drawCell(canvas, gModes[i], in onDrawContent()
DSampleXfer.cpp19 const SkBlendMode gModes[] = { variable
30 const int N_Modes = SK_ARRAY_COUNT(gModes);
119 fModeButtons[i].init(SkBlendMode_Name(gModes[i]), SkRect::MakeXYWH(x, y, 70, 25)); in addButtons()
149 if (fSelected->fMode == gModes[i]) { in onDrawContent()
186 fSelected->fMode = gModes[mode]; in onClick()