/third_party/skia/gm/ |
D | tilemodes_scaled.cpp | 107 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 …]
|
D | tilemodes.cpp | 104 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 …]
|
D | drawatlascolor.cpp | 88 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()
|
D | lcdblendmodes.cpp | 93 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()
|
D | coloremoji_blendmodes.cpp | 79 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()
|
D | xfermodes.cpp | 58 } 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()
|
D | hairmodes.cpp | 25 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()
|
D | aarectmodes.cpp | 73 constexpr SkBlendMode gModes[] = { variable 143 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { 151 SkScalar dy = drawCell(canvas, gModes[i],
|
D | xfermodeimagefilter.cpp | 58 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/ |
D | MergePaths.cpp | 33 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()
|
D | TrimPaths.cpp | 81 } 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/ |
D | SampleXfermodesBlur.cpp | 81 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()
|
D | SampleAARectModes.cpp | 14 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()
|
D | SampleHairModes.cpp | 14 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()
|
D | SampleXfer.cpp | 19 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()
|