/external/skia/bench/ |
D | GradientBench.cpp | 41 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/ |
D | GradientBench.cpp | 41 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/ |
D | gradientDirtyLaundry.cpp | 31 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()
|
D | gradients_no_texture.cpp | 22 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()
|
D | gradients.cpp | 46 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()
|
D | gradients_2pt_conical.cpp | 33 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/ |
D | gradientDirtyLaundry.cpp | 31 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()
|
D | gradients_no_texture.cpp | 22 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()
|
D | gradients.cpp | 46 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()
|
D | gradients_2pt_conical.cpp | 33 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/ |
D | SampleGradients.cpp | 56 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()
|
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()
|
/external/skia/samplecode/ |
D | SampleGradients.cpp | 56 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()
|
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()
|