Searched refs:gGradData (Results 1 – 9 of 9) sorted by relevance
/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/skia/gm/ |
D | gradientDirtyLaundry.cpp | 32 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()
|
D | shadertext.cpp | 45 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()
|
D | gradients_no_texture.cpp | 23 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()
|
D | gradients.cpp | 47 constexpr GradData gGradData[] = { variable 197 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw() 207 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, scale)); in onDraw() 253 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw() 263 paint.setShader(gGradMakers4f[j](pts, gGradData[i], tm, scale)); in onDraw() 311 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw() 320 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective)); in onDraw()
|
D | gradients_2pt_conical.cpp | 34 constexpr GradData gGradData[] = { variable 335 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw() 345 paint.setShader(gradMaker[j](pts, gGradData[i], fMode, scale)); in onDraw()
|
/external/skia/samplecode/ |
D | SampleGradients.cpp | 57 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()
|
D | SampleShaderText.cpp | 52 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()
|
D | SampleSlides.cpp | 172 static const GradData gGradData[] = { variable 227 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in gradient_slide() 230 paint.setShader(gGradMakers[j](pts, gGradData[i], tm)); in gradient_slide()
|