Lines Matching refs:fColorCount
45 int fColorCount; member
55 SkAutoTMalloc<SkColor> colorStorage(fColorCount); in gradCheck()
56 SkAutoTMalloc<SkScalar> posStorage(fColorCount); in gradCheck()
58 info->fColorCount = fColorCount; in gradCheck()
63 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount); in gradCheck()
65 !memcmp(info->fColors, fColors, fColorCount * sizeof(SkColor))); in gradCheck()
67 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
84 info.fColorCount = 0; in color_gradproc()
86 REPORTER_ASSERT(reporter, 1 == info.fColorCount); in color_gradproc()
92 buildRec.fColorCount, buildRec.fTileMode)); in linear_gradproc()
103 buildRec.fColorCount, buildRec.fTileMode)); in radial_gradproc()
115 buildRec.fColorCount)); in sweep_gradproc()
130 buildRec.fColorCount, in conical_gradproc()
173 rec.fColorCount = SK_ARRAY_COUNT(gColors); in TestGradientShaders()
256 rec.fColorCount = gTests[t].fCount; in TestGradientOptimization()
265 expected.fColorCount = gTests[t].fExpectedCount; in TestGradientOptimization()