Lines Matching refs:fColorCount
43 int fColorCount; member
53 SkAutoTMalloc<SkColor> colorStorage(fColorCount); in gradCheck()
54 SkAutoTMalloc<SkScalar> posStorage(fColorCount); in gradCheck()
56 info->fColorCount = fColorCount; in gradCheck()
61 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount); in gradCheck()
63 !memcmp(info->fColors, fColors, fColorCount * sizeof(SkColor))); in gradCheck()
65 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
82 info.fColorCount = 0; in color_gradproc()
84 REPORTER_ASSERT(reporter, 1 == info.fColorCount); in color_gradproc()
90 buildRec.fColorCount, buildRec.fTileMode)); in linear_gradproc()
101 buildRec.fColorCount, buildRec.fTileMode)); in radial_gradproc()
113 buildRec.fColorCount)); in sweep_gradproc()
128 buildRec.fColorCount, in conical_gradproc()
171 rec.fColorCount = SK_ARRAY_COUNT(gColors); in TestGradientShaders()
250 rec.fColorCount = gTests[t].fCount; in TestGradientOptimization()
259 expected.fColorCount = gTests[t].fExpectedCount; in TestGradientOptimization()