Home | History | Annotate | Download | only in gpu

Lines Matching refs:row

38     struct Row {
47 Row fRows[16];
61 void initRow(Row* row, int rowHeight) {
62 row->fLoc.set(0, fNextStripY);
63 row->fRowHeight = rowHeight;
77 We use bsearch, but there may be more than one row with the same height,
86 Row* row = &fRows[HeightToRowIndex(height)];
87 GrAssert(row->fRowHeight == 0 || row->fRowHeight == height);
89 if (0 == row->fRowHeight) {
93 this->initRow(row, height);
95 if (!row->canAddWidth(width, this->width())) {
99 // that row is now "full", so retarget our Row record for
101 this->initRow(row, height);
105 GrAssert(row->fRowHeight == height);
106 GrAssert(row->canAddWidth(width, this->width()));
107 *loc = row->fLoc;
108 row->fLoc.fX += width;
110 GrAssert(row->fLoc.fX <= this->width());
111 GrAssert(row->fLoc.fY <= this->height());