Home
last modified time | relevance | path

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

/external/skia/bench/
DGradientBench.cpp41 static const GradData gGradData[] = { variable
189 GradData data = gGradData[0], in GradientBench()
271 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0]); )
272 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1]); )
273 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2]); )
274 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[4]); )
275 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kRepeat_TileMode); )
276 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kRepeat_TileMode); )
277 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kRepeat_TileMode); )
278 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kMirror_TileMode); )
[all …]
/external/skqp/bench/
DGradientBench.cpp41 static const GradData gGradData[] = { variable
189 GradData data = gGradData[0], in GradientBench()
271 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0]); )
272 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1]); )
273 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2]); )
274 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[4]); )
275 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kRepeat_TileMode); )
276 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kRepeat_TileMode); )
277 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kRepeat_TileMode); )
278 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kMirror_TileMode); )
[all …]
/external/skqp/gm/
DgradientDirtyLaundry.cpp31 constexpr GradData gGradData[] = { variable
80 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
83 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in onDraw()
Dgradients_no_texture.cpp22 constexpr GradData gGradData[] = { variable
106 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); ++i) { in onDraw()
109 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
Dgradients.cpp46 constexpr GradData gGradData[] = { variable
196 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
206 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, scale)); in onDraw()
252 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
262 paint.setShader(gGradMakers4f[j](pts, gGradData[i], tm, scale)); in onDraw()
310 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
319 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); in onDraw()
Dgradients_2pt_conical.cpp33 constexpr GradData gGradData[] = { variable
355 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
365 paint.setShader(gradMaker[j](pts, gGradData[i], fMode, scale)); in onDraw()
/external/skia/gm/
DgradientDirtyLaundry.cpp31 constexpr GradData gGradData[] = { variable
80 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
83 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in onDraw()
Dgradients_no_texture.cpp22 constexpr GradData gGradData[] = { variable
106 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); ++i) { in onDraw()
109 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
Dgradients.cpp46 constexpr GradData gGradData[] = { variable
196 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
206 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, scale)); in onDraw()
252 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
262 paint.setShader(gGradMakers4f[j](pts, gGradData[i], tm, scale)); in onDraw()
310 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
319 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); in onDraw()
Dgradients_2pt_conical.cpp33 constexpr GradData gGradData[] = { variable
355 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
365 paint.setShader(gradMaker[j](pts, gGradData[i], fMode, scale)); in onDraw()
/external/skqp/samplecode/
DSampleGradients.cpp56 static const GradData gGradData[] = { variable
143 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDrawContent()
146 paint.setShader(gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm)); in onDrawContent()
154 canvas->translate(SK_ARRAY_COUNT(gGradData)*SkIntToScalar(120), 0); in onDrawContent()
DSampleSlides.cpp170 static const GradData gGradData[] = { variable
225 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in gradient_slide()
228 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in gradient_slide()
/external/skia/samplecode/
DSampleGradients.cpp56 static const GradData gGradData[] = { variable
143 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDrawContent()
146 paint.setShader(gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm)); in onDrawContent()
154 canvas->translate(SK_ARRAY_COUNT(gGradData)*SkIntToScalar(120), 0); in onDrawContent()
DSampleSlides.cpp170 static const GradData gGradData[] = { variable
225 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in gradient_slide()
228 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in gradient_slide()