Home
last modified time | relevance | path

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

/external/skia/gm/
Dtilemodes.cpp90 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDraw() local
96 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
97 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
117 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
118 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
126 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDraw()
209 static const SkShader::TileMode 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_scaled.cpp94 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDraw() local
100 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
101 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
120 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
121 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw()
129 setup(&paint, fTexture[i], gFilterQualitys[j], gModes[kx], gModes[ky]); in onDraw()
213 static const SkShader::TileMode 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()
244 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw()
[all …]
Ddrawatlascolor.cpp82 } gModes[] = { in onDraw() local
121 const int numModes = SK_ARRAY_COUNT(gModes); in onDraw()
144 canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), in onDraw()
155 gModes[i].fMode, nullptr, nullptr); in onDraw()
159 gModes[i].fMode, nullptr, &paint); in onDraw()
Dcolortypexfermode.cpp71 } gModes[] = { in onDraw() local
128 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw()
129 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDraw()
147 canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), in onDraw()
Dxfermodes.cpp78 } gModes[] = { variable
280 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw()
281 if ((gModes[i].fSourceTypeMask & sourceType) == 0) { in onDraw()
285 if (gModes[i].fSourceTypeMask & kCustomMask) { in onDraw()
286 mode.reset(make_custom(gModes[i].fSourceTypeMask & kCustomMask)); in onDraw()
288 mode.reset(SkXfermode::Create(gModes[i].fMode)); in onDraw()
309 canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), in onDraw()
Dlcdblendmodes.cpp91 } gModes[] = { in drawColumn() local
128 for (size_t m = 0; m < SK_ARRAY_COUNT(gModes); m++) { in drawColumn()
129 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(gModes[m].fMode)); in drawColumn()
143 SkString string(gModes[m].fLabel); in drawColumn()
144 canvas->drawText(gModes[m].fLabel, string.size(), 0, y, paint); in drawColumn()
Dhairmodes.cpp16 } gModes[] = { variable
100 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDraw()
106 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDraw()
Daarectmodes.cpp64 } gModes[] = { variable
155 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDraw()
161 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDraw()
Dxfermodeimagefilter.cpp54 } gModes[] = { in onDraw() local
89 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw()
90 SkAutoTUnref<SkXfermode> mode(SkXfermode::Create(gModes[i].fMode)); in onDraw()
/external/skia/samplecode/
DSampleTiling.cpp93 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDrawContent() local
106 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDrawContent()
107 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDrawContent()
128 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDrawContent()
129 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDrawContent()
131 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDrawContent()
DSampleXfermodesBlur.cpp122 } gModes[] = { in onDrawContent() local
170 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDrawContent()
171 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDrawContent()
190 canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), in onDrawContent()
DSampleXfer.cpp23 } gModes[] = { variable
34 const int N_Modes = SK_ARRAY_COUNT(gModes);
164 SkAutoTUnref<SkView> v(new PushButtonWig(gModes[i].fName, gModes[i].fMode)); in addButtons()
213 if (fSelected->fMode == gModes[i].fMode) { in onDrawContent()
DSampleAARectModes.cpp18 } gModes[] = { variable
106 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDrawContent()
112 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDrawContent()
DSampleHairModes.cpp18 } gModes[] = { variable
104 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDrawContent()
110 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDrawContent()
DSampleColorFilter.cpp160 static const SkXfermode::Mode gModes[] = { in onDrawContent() local
190 for (size_t x = 0; x < SK_ARRAY_COUNT(gModes); x++) { in onDrawContent()
191 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[y], gModes[x]); in onDrawContent()