Lines Matching defs:width
85 int width,
124 int width,
135 , m_width (width)
261 tcu::Surface renderedFrame (viewport.width, viewport.height);
264 tcu::Surface idealFrame (viewport.width, viewport.height);
269 int cellWidth = viewport.width / gridWidth;
273 if (viewport.width < defViewportWidth || viewport.height < defViewportHeight)
317 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
482 static void randomPartition (vector<IVec4>& dst, de::Random& rnd, int x, int y, int width, int height)
488 bool partitionX = partition && width > minWidth && rnd.getBool();
493 int split = width/2 + rnd.getInt(-width/4, +width/4);
495 randomPartition(dst, rnd, x+split, y, width-split, height);
500 randomPartition(dst, rnd, x, y, width, split);
501 randomPartition(dst, rnd, x, y+split, width, height-split);
504 dst.push_back(IVec4(x, y, width, height));
507 static void computeGridLayout (vector<IVec4>& dst, int width, int height)
510 randomPartition(dst, rnd, 0, 0, width, height);
535 tcu::Surface renderedFrame (viewport.width, viewport.height);
538 tcu::Surface idealFrame (viewport.width, viewport.height);
541 if (viewport.width < defViewportWidth || viewport.height < defViewportHeight)
561 computeGridLayout(gridLayout, viewport.width, viewport.height);