Lines Matching refs:viewport
254 RandomViewport viewport (m_renderCtx.getRenderTarget(), defViewportWidth, defViewportHeight, deStringHash(getName()));
261 tcu::Surface renderedFrame (viewport.width, viewport.height);
264 tcu::Surface idealFrame (viewport.width, viewport.height);
269 int cellWidth = viewport.width / gridWidth;
270 int cellHeight = viewport.height / gridHeight;
272 // Accuracy measurements are off unless we get the expected viewport size.
273 if (viewport.width < defViewportWidth || viewport.height < defViewportHeight)
274 throw tcu::NotSupportedError("Too small viewport", "", __FILE__, __LINE__);
317 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
318 int curH = gridY+1 == gridHeight ? (viewport.height-curY) : cellHeight;
338 gl.viewport(viewport.x+curX, viewport.y+curY, curW, curH);
351 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess());
526 RandomViewport viewport (m_renderCtx.getRenderTarget(), defViewportWidth, defViewportHeight, deStringHash(getName()));
535 tcu::Surface renderedFrame (viewport.width, viewport.height);
538 tcu::Surface idealFrame (viewport.width, viewport.height);
540 // Accuracy measurements are off unless we get the expected viewport size.
541 if (viewport.width < defViewportWidth || viewport.height < defViewportHeight)
542 throw tcu::NotSupportedError("Too small viewport", "", __FILE__, __LINE__);
561 computeGridLayout(gridLayout, viewport.width, viewport.height);
602 gl.viewport(viewport.x+curX, viewport.y+curY, curW, curH);
614 glu::readPixels(m_renderCtx, viewport.x, viewport.y, renderedFrame.getAccess());