Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleGradients.cpp59 static const GradData gGradData[] = { variable
153 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDrawContent()
157 shader = gGradMakers[j](pts, gGradData[i], (SkShader::TileMode)tm, NULL); in onDrawContent()
166 canvas->translate(SK_ARRAY_COUNT(gGradData)*SkIntToScalar(120), 0); in onDrawContent()
DSampleShaderText.cpp59 static const GradData gGradData[] = { variable
145 static const int gradCount = SK_ARRAY_COUNT(gGradData) * in onDrawContent()
152 for (size_t d = 0; d < SK_ARRAY_COUNT(gGradData); ++d) { in onDrawContent()
155 gGradData[d], in onDrawContent()
DSampleSlides.cpp167 static const GradData gGradData[] = { variable
230 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in gradient_slide()
233 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, NULL); in gradient_slide()
/external/skia/gm/
Dshadertext.cpp60 static const GradData gGradData[] = { variable
144 static const int gradCount = SK_ARRAY_COUNT(gGradData) * in onDraw()
151 for (size_t d = 0; d < SK_ARRAY_COUNT(gGradData); ++d) { in onDraw()
154 gGradData[d], in onDraw()
Dgradients.cpp28 static const GradData gGradData[] = { variable
106 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
109 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, NULL); in onDraw()
/external/skia/bench/
DGradientBench.cpp33 static const GradData gGradData[] = { variable
169 fShader = gGrads[gradType].fMaker(pts, gGradData[0], tm, NULL, scale); in GradientBench()