Home
last modified time | relevance | path

Searched refs:viewportWid (Results 1 – 2 of 2) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDitheringTests.cpp245 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckGradient() local
247 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient()
252 Surface renderedImg (viewportWid, viewportHei); in drawAndCheckGradient()
254 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckGradient()
282 Surface errorMask (viewportWid, viewportHei); in drawAndCheckGradient()
364 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad() local
366 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad()
369 Surface renderedImg (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad()
371 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckUnicoloredQuad()
397 Surface errorMask (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDitheringTests.cpp251 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckGradient() local
253 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient()
258 Surface renderedImg (viewportWid, viewportHei); in drawAndCheckGradient()
260 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckGradient()
288 Surface errorMask (viewportWid, viewportHei); in drawAndCheckGradient()
369 const int viewportWid = de::min(m_renderCtx.getRenderTarget().getWidth(), maxViewportWid); in drawAndCheckUnicoloredQuad() local
371 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad()
374 Surface renderedImg (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad()
376 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckUnicoloredQuad()
402 Surface errorMask (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad()