Home | History | Annotate | Download | only in utils

Lines Matching refs:rows

14                          int texW, int texH, int rows, int cols) {
15 if (rows < 2 || cols < 2) {
27 fTexCount = rows * cols;
28 rows -= 1;
30 fIndexCount = rows * cols * 6;
47 for (int x = 0; x < rows; x++) {
49 *idx++ = index + rows + 1;
53 *idx++ = index + rows + 1;
54 *idx++ = index + rows + 2;
65 const SkScalar dx = SkIntToScalar(texW) / rows;
68 for (int x = 0; x <= rows; x++) {
82 int rows, int cols, const SkPoint verts[],
86 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) {
92 rows * cols, verts, idx.tex(), colors, NULL,