/external/skia/gm/ |
D | tilemodes_scaled.cpp | 106 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 …]
|
D | tilemodes.cpp | 105 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 …]
|
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()
|
/external/skqp/gm/ |
D | tilemodes_scaled.cpp | 98 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 …]
|
D | tilemodes.cpp | 94 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 …]
|
D | drawatlascolor.cpp | 75 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()
|
D | coloremoji_blendmodes.cpp | 77 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()
|
D | lcdblendmodes.cpp | 82 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()
|
D | xfermodes.cpp | 44 } 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()
|
D | hairmodes.cpp | 13 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()
|
D | aarectmodes.cpp | 61 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/ |
D | SampleTiling.cpp | 92 …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()
|
D | SampleXfer.cpp | 21 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()
|
D | SampleXfermodesBlur.cpp | 87 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()
|
D | SampleHairModes.cpp | 14 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()
|
D | SampleAARectModes.cpp | 14 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/ |
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()
|
/external/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()
|