Home
last modified time | relevance | path

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

/external/skia/bench/
DGradientBench.cpp41 static const GradData gGradData[] = { variable
190 GradData data = gGradData[0], in GradientBench()
278 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kClamp_TileMode,
280 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kClamp_TileMode,
282 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kClamp_TileMode,
284 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kRepeat_TileMode,
286 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kRepeat_TileMode,
288 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kRepeat_TileMode,
290 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kMirror_TileMode,
292 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kMirror_TileMode,
[all …]
/external/skia/gm/
DgradientDirtyLaundry.cpp32 constexpr GradData gGradData[] = { variable
81 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
84 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in onDraw()
Dshadertext.cpp45 constexpr GradData gGradData[] = { variable
123 constexpr int gradCount = SK_ARRAY_COUNT(gGradData) * in onDraw()
130 for (size_t d = 0; d < SK_ARRAY_COUNT(gGradData); ++d) { in onDraw()
133 gGradData[d], in onDraw()
Dgradients_no_texture.cpp23 constexpr GradData gGradData[] = { variable
107 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); ++i) { in onDraw()
110 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
Dgradients.cpp48 constexpr GradData gGradData[] = { variable
198 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
208 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, scale)); in onDraw()
254 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
264 paint.setShader(gGradMakers4f[j](pts, gGradData[i], tm, scale)); in onDraw()
312 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
321 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); in onDraw()
Dgradients_2pt_conical.cpp34 constexpr GradData gGradData[] = { variable
324 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
334 paint.setShader(gradMaker[j](pts, gGradData[i], tm, scale)); in onDraw()
/external/skia/samplecode/
DSampleGradients.cpp57 static const GradData gGradData[] = { variable
144 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDrawContent()
147 paint.setShader(gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm)); in onDrawContent()
155 canvas->translate(SK_ARRAY_COUNT(gGradData)*SkIntToScalar(120), 0); in onDrawContent()
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()
DSampleSlides.cpp171 static const GradData gGradData[] = { variable
226 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in gradient_slide()
229 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in gradient_slide()