Home | History | Annotate | Download | only in gpu

Lines Matching refs:height

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