Lines Matching refs:height
11 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) { in addRect() argument
13 (unsigned)height > (unsigned)this->height()) { in addRect()
17 int32_t area = width * height; // computed here since height will be modified in addRect()
19 height = GrNextPow2(height); in addRect()
20 if (height < kMIN_HEIGHT_POW2) { in addRect()
21 height = kMIN_HEIGHT_POW2; in addRect()
24 Row* row = &fRows[HeightToRowIndex(height)]; in addRect()
25 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height); in addRect()
28 if (!this->canAddStrip(height)) { in addRect()
31 this->initRow(row, height); in addRect()
34 if (!this->canAddStrip(height)) { in addRect()
39 this->initRow(row, height); in addRect()
43 SkASSERT(row->fRowHeight == height); in addRect()
49 SkASSERT(row->fLoc.fY <= this->height()); in addRect()
50 SkASSERT(fNextStripY <= this->height()); in addRect()