Home | History | Annotate | Download | only in gpu

Lines Matching refs:Row

44     struct Row {
53 Row fRows[16];
67 void initRow(Row* row, int rowHeight) {
68 row->fLoc.set(0, fNextStripY);
69 row->fRowHeight = rowHeight;
83 We use bsearch, but there may be more than one row with the same height,
92 Row* row = &fRows[HeightToRowIndex(height)];
93 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height);
95 if (0 == row->fRowHeight) {
99 this->initRow(row, height);
101 if (!row->canAddWidth(width, this->width())) {
105 // that row is now "full", so retarget our Row record for
107 this->initRow(row, height);
111 SkASSERT(row->fRowHeight == height);
112 SkASSERT(row->canAddWidth(width, this->width()));
113 *loc = row->fLoc;
114 row->fLoc.fX += width;
116 SkASSERT(row->fLoc.fX <= this->width());
117 SkASSERT(row->fLoc.fY <= this->height());