/third_party/flutter/skia/bench/ |
D | GradientBench.cpp | 43 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/ |
D | GradientBench.cpp | 43 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/ |
D | gradient_dirty_laundry.cpp | 44 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()
|
D | gradients_no_texture.cpp | 37 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()
|
D | gradients.cpp | 65 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()
|
D | gradients_2pt_conical.cpp | 46 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/ |
D | gradient_dirty_laundry.cpp | 44 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()
|
D | gradients_no_texture.cpp | 37 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()
|
D | gradients.cpp | 65 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()
|
D | gradients_2pt_conical.cpp | 46 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/ |
D | SampleGradients.cpp | 55 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()
|
D | SampleSlides.cpp | 169 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/ |
D | SampleGradients.cpp | 56 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()
|
D | SampleSlides.cpp | 170 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()
|