Home
last modified time | relevance | path

Searched refs:viewportX (Results 1 – 25 of 37) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fRandomFragmentOpTests.cpp137 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()
Des2fShaderBuiltinVarTests.cpp514 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()
Des2fDepthRangeTests.cpp147 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()
Des2fDitheringTests.cpp247 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()
Des2fDepthStencilTests.cpp414 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()
Des2fBlendTests.cpp211 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()
Des2fStencilTests.cpp290 int viewportX = rnd.getInt(0, renderTarget.getWidth()-width); in iterate() local
292 IVec4 viewport = IVec4(viewportX, viewportY, width, height); in iterate()
Des2fTextureUnitTests.cpp765 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/
Des3fRandomFragmentOpTests.cpp137 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()
Des3fShaderBuiltinVarTests.cpp538 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 …]
Des3fDitheringTests.cpp253 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()
Des3fFragDepthTests.cpp131 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()
Des3fDepthStencilTests.cpp414 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()
Des3fBlendTests.cpp259 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()
Des3fStencilTests.cpp293 int viewportX = rnd.getInt(0, renderTarget.getWidth()-width); in iterate() local
295 IVec4 viewport = IVec4(viewportX, viewportY, width, height); in iterate()
Des3fShaderDerivateTests.cpp685 …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()
Des3fTransformFeedbackTests.cpp1076 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/
DglcFragDepthTests.cpp148 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()
DglcShaderLibraryCase.cpp275 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/
Des2aVaryingInterpolationTests.cpp162 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/
Des3aVaryingInterpolationTests.cpp165 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/
DglsRandomShaderCase.cpp477 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()
DglsFragOpInteractionCase.cpp288 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()
DglsShaderLibraryCase.cpp929 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/
Des31fAdvancedBlendTests.cpp405 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()

12