Home | History | Annotate | Download | only in bench

Lines Matching full:colors

18  * (passing texture coordinates and colors, only textures coordinates, only colors or none).
120 SkColor colors[4];
121 colors[0] = cornerColors[i][j];
122 colors[1] = cornerColors[i][j + 1];
123 colors[3] = cornerColors[i + 1][j];
124 colors[2] = cornerColors[i + 1][j + 1];
137 fGrid.setPatch(j, i, points, colors, nullptr);
143 fGrid.setPatch(j, i, points, colors, texs);
154 const SkColor colors[] = {
160 return SkGradientShader::CreateLinear(pts, colors, nullptr,
161 SK_ARRAY_COUNT(colors),
173 vertexMode.set("colors");