Home
last modified time | relevance | path

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

12

/external/skia/gm/
Dtilemodes_scaled.cpp106 constexpr SkTileMode gModes[] = { in onDraw() local
113 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
114 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], gFilterQualitys[j], gModes[kx], gModes[ky]); in onDraw()
212 constexpr SkTileMode gModes[] = { in onDraw() local
224 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
233 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
240 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
[all …]
Dtilemodes.cpp105 constexpr SkTileMode gModes[] = { in onDraw() local
112 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
113 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
132 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
133 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
141 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDraw()
216 constexpr SkTileMode gModes[] = { in onDraw() local
228 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
237 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
245 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()
/external/skqp/gm/
Dtilemodes_scaled.cpp98 constexpr SkShader::TileMode gModes[] = { in onDraw() local
105 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
106 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
122 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
123 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
131 setup(&paint, fTexture[i], gFilterQualitys[j], gModes[kx], gModes[ky]); in onDraw()
209 constexpr SkShader::TileMode gModes[] = { in onDraw() local
221 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
230 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
237 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
[all …]
Dtilemodes.cpp94 constexpr SkShader::TileMode gModes[] = { in onDraw() local
101 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
102 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
121 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
122 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
130 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDraw()
209 constexpr SkShader::TileMode gModes[] = { in onDraw() local
221 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
230 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
238 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
[all …]
Ddrawatlascolor.cpp75 const SkBlendMode gModes[] = { in onDraw() local
114 const int numModes = SK_ARRAY_COUNT(gModes); in onDraw()
134 const char* label = SkBlendMode_Name(gModes[i]); in onDraw()
145 gModes[i], nullptr, nullptr); in onDraw()
149 gModes[i], nullptr, &paint); in onDraw()
Dcoloremoji_blendmodes.cpp77 const SkBlendMode gModes[] = { in onDraw() local
128 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw()
145 textP.setBlendMode(gModes[i]); in onDraw()
153 const char* label = SkBlendMode_Name(gModes[i]); in onDraw()
Dlcdblendmodes.cpp82 const SkBlendMode gModes[] = { in drawColumn() local
118 for (size_t m = 0; m < SK_ARRAY_COUNT(gModes); m++) { in drawColumn()
121 paint.setBlendMode(gModes[m]); in drawColumn()
130 SkString string(SkBlendMode_Name(gModes[m])); in drawColumn()
Dxfermodes.cpp44 } gModes[] = { variable
239 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw()
240 if ((gModes[i].fSourceTypeMask & sourceType) == 0) { in onDraw()
251 draw_mode(canvas, gModes[i].fMode, static_cast<SrcType>(sourceType), in onDraw()
261 const char* label = SkBlendMode_Name(gModes[i].fMode); in onDraw()
Dhairmodes.cpp13 constexpr SkBlendMode gModes[] = { variable
95 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDraw()
104 SkScalar dy = drawCell(canvas, gModes[i], in onDraw()
Daarectmodes.cpp61 constexpr SkBlendMode gModes[] = { variable
132 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) {
140 SkScalar dy = drawCell(canvas, gModes[i],
/external/skqp/samplecode/
DSampleTiling.cpp92 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDrawContent() local
105 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDrawContent()
106 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDrawContent()
126 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDrawContent()
127 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDrawContent()
129 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDrawContent()
DSampleXfer.cpp21 const SkBlendMode gModes[] = { variable
32 const int N_Modes = SK_ARRAY_COUNT(gModes);
121 fModeButtons[i].init(SkBlendMode_Name(gModes[i]), SkRect::MakeXYWH(x, y, 70, 25)); in addButtons()
157 if (fSelected->fMode == gModes[i]) { in onDrawContent()
194 fSelected->fMode = gModes[mode]; in onClick()
DSampleXfermodesBlur.cpp87 const SkBlendMode gModes[] = { in onDrawContent() local
119 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDrawContent()
129 draw_mode(canvas, gModes[i], twice ? 0x88 : 0xFF, r.fLeft, r.fTop); in onDrawContent()
137 const char* label = SkBlendMode_Name(gModes[i]); in onDrawContent()
DSampleHairModes.cpp14 static const SkBlendMode gModes[] = { variable
96 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDrawContent()
104 SkScalar dy = drawCell(canvas, gModes[i], in onDrawContent()
DSampleAARectModes.cpp14 static const SkBlendMode gModes[] = { variable
99 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDrawContent()
108 SkScalar dy = drawCell(canvas, gModes[i], gAlphaValue[alpha & 1], in onDrawContent()
/external/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()
/external/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()

12