Lines Matching refs:cols
14 int texW, int texH, int rows, int cols) { in init() argument
15 if (rows < 2 || cols < 2) { in init()
27 fTexCount = rows * cols; in init()
29 cols -= 1; in init()
30 fIndexCount = rows * cols * 6; in init()
46 for (int y = 0; y < cols; y++) { in init()
66 const SkScalar dy = SkIntToScalar(texH) / cols; in init()
67 for (int y = 0; y <= cols; y++) { in init()
82 int rows, int cols, const SkPoint verts[], in Draw() argument
86 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) { in Draw()
92 rows * cols, verts, idx.tex(), colors, NULL, in Draw()