Lines Matching defs:width
89 int width,
128 int width,
139 , m_width (width)
269 tcu::Surface renderedFrame (viewport.width, viewport.height);
272 tcu::Surface idealFrame (viewport.width, viewport.height);
277 int cellWidth = viewport.width / gridWidth;
281 if (viewport.width < defViewportWidth || viewport.height < defViewportHeight)
325 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
495 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height)
501 bool partitionX = partition && width > minWidth && rnd.getBool();
506 int split = width/2 + rnd.getInt(-width/4, +width/4);
508 randomPartition(dst, rnd, x+split, y, width-split, height);
513 randomPartition(dst, rnd, x, y, width, split);
514 randomPartition(dst, rnd, x, y+split, width, height-split);
517 dst.push_back(IVec4(x, y, width, height));
520 static void computeGridLayout (vector<IVec4>& dst, int width, int height)
523 randomPartition(dst, rnd, 0, 0, width, height);
547 tcu::Surface renderedFrame (viewport.width, viewport.height);
550 tcu::Surface idealFrame (viewport.width, viewport.height);
553 if (viewport.width < defViewportWidth || viewport.height < defViewportHeight)
573 computeGridLayout(gridLayout, viewport.width, viewport.height);