Lines Matching defs:width
297 const int width = m_context.getRenderTarget().getWidth();
300 const tcu::Vec3 scale (1.f / float(width), 1.f / float(height), 1.0f);
302 tcu::Surface testImg (width, height);
303 tcu::Surface refImg (width, height);
394 const int width = m_context.getRenderTarget().getWidth();
398 tcu::Surface testImg (width, height);
399 tcu::Surface refImg (width, height);
484 const int width = de::min(256, m_context.getRenderTarget().getWidth());
494 tcu::Surface testImg (width, height);
495 tcu::Surface refImg (width, height);
538 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width);
541 gl.viewport(viewportX, viewportY, width, height);
558 const int x0 = deRoundFloatToInt32(float(width) *(pointIter->x()*0.5f + 0.5f) - pointIter->z()*0.5f);
560 const int x1 = deRoundFloatToInt32(float(width) *(pointIter->x()*0.5f + 0.5f) + pointIter->z()*0.5f);
609 const int width = de::min(64, m_context.getRenderTarget().getWidth());
611 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width);
615 tcu::Surface testImg (width, height);
616 tcu::Surface refImg (width, height);
659 gl.viewport(viewportX, viewportY, width/2, height/2);
663 gl.viewport(viewportX + width/2, viewportY, width-width/2, height/2);
669 gl.viewport(viewportX, viewportY + height/2, width/2, height-height/2);
673 gl.viewport(viewportX + width/2, viewportY + height/2, width-width/2, height-height/2);
762 const int width = m_context.getRenderTarget().getWidth();
768 if (width < quadWidth)
771 const int maxQuadsX = width/quadWidth;
781 DE_ASSERT(viewportW <= width && viewportH <= height);
986 const int width = m_context.getRenderTarget().getWidth();
997 const int viewportX = rnd.getInt(0, width-viewportW);