/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fRandomFragmentOpTests.cpp | 137 int viewportX = de::min(quad.posA.x(), quad.posB.x()); in renderQuad() local 149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH); in renderQuad() 153 static void setGLState (glu::CallLogWrapper& wrapper, const RenderState& state, int viewportX, int … in setGLState() argument 158 wrapper.glScissor(viewportX+state.scissorRectangle.left, viewportY+state.scissorRectangle.bottom, in setGLState() 302 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate() local 331 m_callLogWrapper.glViewport(viewportX, viewportY, width, height); in iterate() 335 setGLState(m_callLogWrapper, cmd->state, viewportX, viewportY); in iterate() 343 renderQuad(gl, *m_renderer, cmd->quad, viewportX, viewportY); in iterate() 371 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate()
|
D | es2fShaderBuiltinVarTests.cpp | 514 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate() local 517 gl.viewport(viewportX, viewportY, width, height); in iterate() 526 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, testImg.getAccess()); in iterate() 587 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate() local 632 gl.viewport(viewportX, viewportY, width/2, height/2); in iterate() 636 gl.viewport(viewportX + width/2, viewportY, width-width/2, height/2); in iterate() 642 gl.viewport(viewportX, viewportY + height/2, width/2, height-height/2); in iterate() 646 gl.viewport(viewportX + width/2, viewportY + height/2, width-width/2, height-height/2); in iterate() 650 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, testImg.getAccess()); in iterate()
|
D | es2fDepthRangeTests.cpp | 147 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() local 169 glViewport(viewportX, viewportY, viewportW, viewportH); in iterate() 226 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate() 296 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() local 319 glViewport(viewportX, viewportY, viewportW, viewportH); in iterate() 373 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
|
D | es2fDitheringTests.cpp | 247 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient() local 254 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckGradient() 272 glu::readPixels(m_renderCtx, viewportX, viewportY, renderedImg.getAccess()); in drawAndCheckGradient() 366 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad() local 371 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckUnicoloredQuad() 389 glu::readPixels(m_renderCtx, viewportX, viewportY, renderedImg.getAccess()); in drawAndCheckUnicoloredQuad()
|
D | es2fDepthStencilTests.cpp | 414 void render (const vector<ClearCommand>& clears, int viewportX, int viewportY) in render() argument 427 …glScissor(clear.rect.left+viewportX, clear.rect.bottom+viewportY, clear.rect.width, clear.rect.hei… in render() 434 …FragmentOpUtil::QuadRenderer& renderer, const RenderCommand& command, int viewportX, int viewportY) in render() argument 466 …glViewport(command.rect.left+viewportX, command.rect.bottom+viewportY, command.rect.width, command… in render() 615 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-m_renderTarget.width); in iterate() local 645 render(m_baseClears, viewportX, viewportY); in iterate() 649 render(*m_renderer, *cmd, viewportX, viewportY); in iterate() 652 render(*m_renderer, testCmd, viewportX, viewportY); in iterate() 656 render(*m_renderer, *cmd, viewportX, viewportY); in iterate() 696 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate()
|
D | es2fBlendTests.cpp | 211 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth() - m_viewportW); in iterate() local 248 glViewport(viewportX, viewportY, m_viewportW, m_viewportH); in iterate() 268 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate()
|
D | es2fStencilTests.cpp | 290 int viewportX = rnd.getInt(0, renderTarget.getWidth()-width); in iterate() local 292 IVec4 viewport = IVec4(viewportX, viewportY, width, height); in iterate()
|
D | es2fTextureUnitTests.cpp | 765 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate() local 797 …log, sglr::GLCONTEXT_LOG_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, tcu::IVec4(viewportX, viewportY, view… in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fRandomFragmentOpTests.cpp | 137 int viewportX = de::min(quad.posA.x(), quad.posB.x()); in renderQuad() local 149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH); in renderQuad() 153 static void setGLState (glu::CallLogWrapper& wrapper, const RenderState& state, int viewportX, int … in setGLState() argument 158 wrapper.glScissor(viewportX+state.scissorRectangle.left, viewportY+state.scissorRectangle.bottom, in setGLState() 302 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate() local 331 m_callLogWrapper.glViewport(viewportX, viewportY, width, height); in iterate() 335 setGLState(m_callLogWrapper, cmd->state, viewportX, viewportY); in iterate() 343 renderQuad(gl, *m_renderer, cmd->quad, viewportX, viewportY); in iterate() 371 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate()
|
D | es3fShaderBuiltinVarTests.cpp | 538 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate() local 541 gl.viewport(viewportX, viewportY, width, height); in iterate() 550 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, testImg.getAccess()); in iterate() 611 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width); in iterate() local 659 gl.viewport(viewportX, viewportY, width/2, height/2); in iterate() 663 gl.viewport(viewportX + width/2, viewportY, width-width/2, height/2); in iterate() 669 gl.viewport(viewportX, viewportY + height/2, width/2, height-height/2); in iterate() 673 gl.viewport(viewportX + width/2, viewportY + height/2, width-width/2, height-height/2); in iterate() 677 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, testImg.getAccess()); in iterate() 997 const int viewportX = rnd.getInt(0, width-viewportW); in iterate() local [all …]
|
D | es3fDitheringTests.cpp | 253 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckGradient() local 260 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckGradient() 278 glu::readPixels(m_renderCtx, viewportX, viewportY, renderedImg.getAccess()); in drawAndCheckGradient() 371 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWid); in drawAndCheckUnicoloredQuad() local 376 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportWid, viewportHei)); in drawAndCheckUnicoloredQuad() 394 glu::readPixels(m_renderCtx, viewportX, viewportY, renderedImg.getAccess()); in drawAndCheckUnicoloredQuad()
|
D | es3fFragDepthTests.cpp | 131 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() local 140 gl.viewport(viewportX, viewportY, viewportW, viewportH); in iterate() 233 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate() 302 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); in iterate() local 312 gl.viewport(viewportX, viewportY, viewportW, viewportH); in iterate() 399 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
|
D | es3fDepthStencilTests.cpp | 414 void render (const vector<ClearCommand>& clears, int viewportX, int viewportY) in render() argument 427 …glScissor(clear.rect.left+viewportX, clear.rect.bottom+viewportY, clear.rect.width, clear.rect.hei… in render() 434 …FragmentOpUtil::QuadRenderer& renderer, const RenderCommand& command, int viewportX, int viewportY) in render() argument 466 …glViewport(command.rect.left+viewportX, command.rect.bottom+viewportY, command.rect.width, command… in render() 615 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-m_renderTarget.width); in iterate() local 645 render(m_baseClears, viewportX, viewportY); in iterate() 649 render(*m_renderer, *cmd, viewportX, viewportY); in iterate() 652 render(*m_renderer, testCmd, viewportX, viewportY); in iterate() 656 render(*m_renderer, *cmd, viewportX, viewportY); in iterate() 696 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate()
|
D | es3fBlendTests.cpp | 259 int viewportX = rnd.getInt(0, m_renderWidth - m_viewportWidth); in iterate() local 296 glViewport(viewportX, viewportY, m_viewportWidth, m_viewportHeight); in iterate() 316 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedImg.getAccess()); in iterate()
|
D | es3fStencilTests.cpp | 293 int viewportX = rnd.getInt(0, renderTarget.getWidth()-width); in iterate() local 295 IVec4 viewport = IVec4(viewportX, viewportY, width, height); in iterate()
|
D | es3fShaderDerivateTests.cpp | 685 …const int viewportX = useFbo ? 0 : rnd.getInt(0, m_context.getRenderTarget().getWidth() - vi… in iterate() local 811 gl.viewport(viewportX, viewportY, viewportSize.x(), viewportSize.y()); in iterate() 846 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, result); in iterate() 855 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, in iterate()
|
D | es3fTransformFeedbackTests.cpp | 1076 int viewportX = rnd.getInt(0, width-viewportW); in runTest() local 1138 gl.viewport(viewportX, viewportY, viewportW, viewportH); in runTest() 1283 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, frameWithTf.getAccess()); in runTest() 1298 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, frameWithoutTf.getAccess()); in runTest()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcFragDepthTests.cpp | 148 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in iterate() local 157 gl.viewport(viewportX, viewportY, viewportW, viewportH); in iterate() 231 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate() 301 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in iterate() local 311 gl.viewport(viewportX, viewportY, viewportW, viewportH); in iterate() 384 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, renderedFrame.getAccess()); in iterate()
|
D | glcShaderLibraryCase.cpp | 275 int viewportX = rnd.getInt(0, renderTarget.getWidth() - width); in execute() local 282 gl.viewport(viewportX, viewportY, width, height); in execute() 473 glu::readPixels(m_renderCtx, viewportX, viewportY, surface.getAccess()); in execute()
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 162 int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth() - viewportWidth); in iterate() local 260 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate() 266 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, rendered.getAccess()); in iterate()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 165 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportWidth); in iterate() local 266 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate() 272 glu::readPixels(m_context.getRenderContext(), viewportX, viewportY, rendered.getAccess()); in iterate()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsRandomShaderCase.cpp | 477 int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportWidth); in iterate() local 545 glViewport(viewportX, viewportY, viewportWidth, viewportHeight); in iterate() 557 glu::readPixels(m_renderCtx, viewportX, viewportY, readBuf.getAccess()); in iterate() 562 glu::readPixels(m_renderCtx, viewportX, viewportY, rendered.getAccess()); in iterate()
|
D | glsFragOpInteractionCase.cpp | 288 const int viewportX = de::min(quad.posA.x(), quad.posB.x()); in renderQuad() local 301 ctx.viewport(viewportX, viewportY, viewportW, viewportH); in renderQuad() 463 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportW); in init() local 480 …getLog(), sglr::GLCONTEXT_LOG_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, IVec4(viewportX, viewportY, view… in init()
|
D | glsShaderLibraryCase.cpp | 929 const int viewportX = rnd.getInt(0, renderTarget.getWidth() - width); in execute() local 1133 gl.viewport(viewportX, viewportY, width, height); in execute() 1320 glu::readPixels(m_renderCtx, viewportX, viewportY, surface.getAccess()); in execute()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fAdvancedBlendTests.cpp | 405 const int viewportX = rnd.getInt(0, m_renderWidth - m_viewportWidth); in iterate() local 466 gl.viewport(viewportX, viewportY, m_viewportWidth, m_viewportHeight); in iterate() 542 glu::readPixels(renderCtx, viewportX, viewportY, renderedImg.getAccess()); in iterate()
|