Home
last modified time | relevance | path

Searched refs:gGradData (Results 1 – 9 of 9) sorted by relevance

/external/skia/bench/
DGradientBench.cpp42 static const GradData gGradData[] = { variable
193 GradData data = gGradData[0], in GradientBench()
284 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kClamp_TileMode,
286 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kClamp_TileMode,
288 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kClamp_TileMode,
290 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kRepeat_TileMode,
292 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kRepeat_TileMode,
294 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kRepeat_TileMode,
296 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kMirror_TileMode,
298 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kMirror_TileMode,
[all …]
/external/skia/gm/
DgradientDirtyLaundry.cpp32 static const GradData gGradData[] = { variable
86 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
89 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm); in onDraw()
Dshadertext.cpp44 static const GradData gGradData[] = { variable
122 static const int gradCount = SK_ARRAY_COUNT(gGradData) * in onDraw()
129 for (size_t d = 0; d < SK_ARRAY_COUNT(gGradData); ++d) { in onDraw()
132 gGradData[d], in onDraw()
Dgradients_no_texture.cpp22 static const GradData gGradData[] = { variable
107 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); ++i) { in onDraw()
110 SkShader* shader = gGradMakers[j](kPts, gGradData[i], kTM); in onDraw()
Dgradients.cpp34 static const GradData gGradData[] = { variable
129 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
139 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, scale); in onDraw()
190 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
199 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, perspective); in onDraw()
Dgradients_2pt_conical.cpp33 static const GradData gGradData[] = { variable
340 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
350 SkShader* shader = gradMaker[j](pts, gGradData[i], tm, scale); in onDraw()
/external/skia/samplecode/
DSampleShaderText.cpp52 static const GradData gGradData[] = { variable
132 static const int gradCount = SK_ARRAY_COUNT(gGradData) * in onDrawContent()
139 for (size_t d = 0; d < SK_ARRAY_COUNT(gGradData); ++d) { in onDrawContent()
142 gGradData[d], in onDrawContent()
DSampleGradients.cpp58 static const GradData gGradData[] = { variable
146 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDrawContent()
150 shader = gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm); in onDrawContent()
159 canvas->translate(SK_ARRAY_COUNT(gGradData)*SkIntToScalar(120), 0); in onDrawContent()
DSampleSlides.cpp173 static const GradData gGradData[] = { variable
229 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in gradient_slide()
232 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm); in gradient_slide()