Home
last modified time | relevance | path

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

/third_party/flutter/skia/bench/
DGradientBench.cpp43 static const GradData gGradData[] = { variable
177 GradData data = gGradData[0], in GradientBench()
259 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0]); )
260 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1]); )
261 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2]); )
262 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[4]); )
263 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkTileMode::kRepeat); )
264 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkTileMode::kRepeat); )
265 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkTileMode::kRepeat); )
266 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkTileMode::kMirror); )
[all …]
/third_party/skia/bench/
DGradientBench.cpp43 static const GradData gGradData[] = { variable
177 GradData data = gGradData[0], in GradientBench()
259 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0]); )
260 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1]); )
261 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2]); )
262 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[4]); )
263 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkTileMode::kRepeat); )
264 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkTileMode::kRepeat); )
265 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkTileMode::kRepeat); )
266 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkTileMode::kMirror); )
[all …]
/third_party/skia/gm/
Dgradient_dirty_laundry.cpp44 constexpr GradData gGradData[] = { variable
93 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
96 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in onDraw()
Dgradients_no_texture.cpp37 constexpr GradData gGradData[] = { variable
121 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); ++i) { in onDraw()
124 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
Dgradients.cpp65 constexpr GradData gGradData[] = { variable
207 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
217 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, scale)); in onDraw()
264 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
274 paint.setShader(gGradMakers4f[j](pts, gGradData[i], tm, scale)); in onDraw()
316 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
325 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); in onDraw()
Dgradients_2pt_conical.cpp46 constexpr GradData gGradData[] = { variable
367 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
377 paint.setShader(gradMaker[j](pts, gGradData[i], fMode, scale)); in onDraw()
/third_party/flutter/skia/gm/
Dgradient_dirty_laundry.cpp44 constexpr GradData gGradData[] = { variable
93 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
96 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in onDraw()
Dgradients_no_texture.cpp37 constexpr GradData gGradData[] = { variable
121 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); ++i) { in onDraw()
124 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
Dgradients.cpp65 constexpr GradData gGradData[] = { variable
207 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
217 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, scale)); in onDraw()
264 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
274 paint.setShader(gGradMakers4f[j](pts, gGradData[i], tm, scale)); in onDraw()
316 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
325 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); in onDraw()
Dgradients_2pt_conical.cpp46 constexpr GradData gGradData[] = { variable
367 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
377 paint.setShader(gradMaker[j](pts, gGradData[i], fMode, scale)); in onDraw()
/third_party/skia/samplecode/
DSampleGradients.cpp55 static const GradData gGradData[] = { variable
136 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDrawContent()
139 paint.setShader(gGradMakers[j](pts, gGradData[i], (SkTileMode)tm)); in onDrawContent()
147 canvas->translate(SK_ARRAY_COUNT(gGradData)*SkIntToScalar(120), 0); in onDrawContent()
DSampleSlides.cpp169 static const GradData gGradData[] = { variable
224 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in gradient_slide()
227 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in gradient_slide()
/third_party/flutter/skia/samplecode/
DSampleGradients.cpp56 static const GradData gGradData[] = { variable
137 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDrawContent()
140 paint.setShader(gGradMakers[j](pts, gGradData[i], (SkTileMode)tm)); in onDrawContent()
148 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()