Lines Matching refs:cols
21 int texW, int texH, int rows, int cols) { in init() argument
22 if (rows < 2 || cols < 2) { in init()
34 fTexCount = rows * cols; in init()
36 cols -= 1; in init()
37 fIndexCount = rows * cols * 6; in init()
53 for (int y = 0; y < cols; y++) { in init()
73 const SkScalar dy = SkIntToScalar(texH) / cols; in init()
74 for (int y = 0; y <= cols; y++) { in init()
89 int rows, int cols, const SkPoint verts[], in Draw() argument
93 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) { in Draw()
99 rows * cols, verts, idx.tex(), colors, NULL, in Draw()