Searched refs:viewportH (Results 1 - 25 of 26) sorted by relevance

12

/external/deqp/modules/glshared/
H A DglsShaderPerformanceCase.cpp71 int viewportH = m_renderCtx.getRenderTarget().getHeight(); local
76 int numFrag = viewportW*viewportH;
99 while (viewportW*viewportH > numFrag)
101 if (viewportW > viewportH)
104 viewportH -= 1;
109 float finalRatio = (float)(viewportW*viewportH) / (float)((gridW+1)*(gridH+1));
115 setViewportSize(viewportW, viewportH);
H A DglsFragOpInteractionCase.cpp291 const int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1;
301 ctx.viewport(viewportX, viewportY, viewportW, viewportH);
462 const int viewportH = de::min<int>(m_renderCtx.getRenderTarget().getHeight(), VIEWPORT_HEIGHT);
464 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportH);
477 m_referenceCtx = new ReferenceContext(m_renderCtx, viewportW, viewportH);
480 m_glCtx = new sglr::GLContext(m_renderCtx, m_testCtx.getLog(), sglr::GLCONTEXT_LOG_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, IVec4(viewportX, viewportY, viewportW, viewportH));
485 m_viewportSize = tcu::IVec2(viewportW, viewportH);
H A DglsBufferTestUtil.cpp761 const int viewportH = de::min<int>(INDEX_ARRAY_DRAW_VIEWPORT_HEIGHT, renderTarget.getHeight());
771 tcu::Surface indexBufferImg (viewportW, viewportH);
772 tcu::Surface referenceImg (viewportW, viewportH);
789 glViewport (0, 0, viewportW, viewportH);
H A DglsUniformBlockCase.cpp1898 const int viewportH = de::min(renderTarget.getHeight(), 128); local
1900 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH);
1916 gl.viewport(viewportX, viewportY, viewportW, viewportH);
1926 tcu::Surface pixels (viewportW, viewportH);
/external/deqp/modules/gles2/functional/
H A Des2fDepthRangeTests.cpp146 const int viewportH = de::min(128, renderTarget.getHeight()); local
148 const int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH);
149 tcu::Surface renderedFrame (viewportW, viewportH);
150 tcu::Surface referenceFrame (viewportW, viewportH);
169 glViewport(viewportX, viewportY, viewportW, viewportH);
295 const int viewportH = de::min(128, renderTarget.getHeight()); local
297 const int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH);
298 tcu::Surface renderedFrame (viewportW, viewportH);
299 tcu::Surface referenceFrame (viewportW, viewportH);
319 glViewport(viewportX, viewportY, viewportW, viewportH);
[all...]
H A Des2fShaderFragDataTests.cpp152 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128); local
191 gl.viewport (0, 0, viewportW, viewportH);
200 tcu::Surface result (viewportW, viewportH);
H A Des2fBufferTestUtil.cpp572 const int viewportH = de::min<int>(INDEX_ARRAY_DRAW_VIEWPORT_HEIGHT, renderTarget.getHeight());
582 tcu::Surface indexBufferImg (viewportW, viewportH);
583 tcu::Surface referenceImg (viewportW, viewportH);
599 glViewport (0, 0, viewportW, viewportH);
H A Des2fFlushFinishTests.cpp223 const int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), MAX_VIEWPORT_SIZE); local
235 gl.viewport(0, 0, viewportW, viewportH);
H A Des2fRandomFragmentOpTests.cpp140 int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1;
149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH);
H A Des2fDepthStencilTests.cpp564 int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), VIEWPORT_HEIGHT); local
565 m_renderTarget = TestRenderTarget(viewportW, viewportH, m_context.getRenderTarget().getDepthBits(), m_context.getRenderTarget().getStencilBits());
582 m_refColorBuffer = new tcu::Surface(viewportW, viewportH);
583 m_refDepthBuffer = new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT), viewportW, viewportH);
584 m_refStencilBuffer = new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT32), viewportW, viewportH);
H A Des2fTextureFilteringTests.cpp225 const float viewportH = (float)de::min<int>(VIEWPORT_HEIGHT, m_renderCtx.getRenderTarget().getHeight()); local
235 const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeight());
H A Des2fUniformApiTests.cpp1658 const int viewportH = de::min(renderTarget.getHeight(), MAX_RENDER_HEIGHT); local
1660 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH);
1661 tcu::Surface renderedImg (viewportW, viewportH);
1685 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportW, viewportH));
/external/deqp/modules/gles3/functional/
H A Des3fFragDepthTests.cpp130 int viewportH = de::min(128, renderTarget.getHeight()); local
132 int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH);
133 tcu::Surface renderedFrame (viewportW, viewportH);
134 tcu::Surface referenceFrame (viewportW, viewportH);
140 gl.viewport(viewportX, viewportY, viewportW, viewportH);
301 int viewportH = de::min(128, renderTarget.getHeight()); local
303 int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH);
304 tcu::Surface renderedFrame (viewportW, viewportH);
305 tcu::Surface referenceFrame (viewportW, viewportH);
312 gl.viewport(viewportX, viewportY, viewportW, viewportH);
[all...]
H A Des3fShaderFragDataTests.cpp152 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128); local
191 gl.viewport (0, 0, viewportW, viewportH);
200 tcu::Surface result (viewportW, viewportH);
H A Des3fShaderBuiltinVarTests.cpp755 const int viewportH = (numQuads/maxQuadsX + (numQuads%maxQuadsX != 0 ? 1 : 0))*quadHeight; local
757 if (viewportH > height)
760 DE_ASSERT(viewportW <= width && viewportH <= height);
826 const float h = 2.0f * float(quadHeight)/float(viewportH);
852 m_viewportH = viewportH;
968 const int viewportH = m_viewportH; local
973 tcu::Surface refImg (viewportW, viewportH);
974 tcu::Surface testImg (viewportW, viewportH);
977 const int viewportY = rnd.getInt(0, height-viewportH);
984 gl.viewport (viewportX, viewportY, viewportW, viewportH);
[all...]
H A Des3fFlushFinishTests.cpp241 const int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), MAX_VIEWPORT_SIZE);
253 gl.viewport(0, 0, viewportW, viewportH);
H A Des3fRandomFragmentOpTests.cpp140 int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1;
149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH);
H A Des3fDepthStencilTests.cpp564 int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), VIEWPORT_HEIGHT); local
565 m_renderTarget = TestRenderTarget(viewportW, viewportH, m_context.getRenderTarget().getDepthBits(), m_context.getRenderTarget().getStencilBits());
582 m_refColorBuffer = new tcu::Surface(viewportW, viewportH);
583 m_refDepthBuffer = new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT), viewportW, viewportH);
584 m_refStencilBuffer = new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT32), viewportW, viewportH);
H A Des3fTextureShadowTests.cpp294 const float viewportH = (float)de::min<int>(TEX2D_VIEWPORT_HEIGHT, m_context.getRenderTarget().getHeight()); local
305 const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeight());
848 const float viewportH = (float)de::min<int>(TEX2D_VIEWPORT_HEIGHT, m_context.getRenderTarget().getHeight()); local
862 const float sY = deFloatExp2(lodY)*viewportH / float(tex->getRefTexture().getHeight());
H A Des3fTransformFeedbackTests.cpp1075 int viewportH = de::min((int)VIEWPORT_HEIGHT, height);
1077 int viewportY = rnd.getInt(0, height-viewportH);
1078 tcu::Surface frameWithTf (viewportW, viewportH);
1079 tcu::Surface frameWithoutTf (viewportW, viewportH);
1138 gl.viewport(viewportX, viewportY, viewportW, viewportH);
H A Des3fFragmentOutputTests.cpp566 const int viewportH = minBufSize.y(); local
768 gl.viewport(0, 0, viewportW, viewportH);
858 const tcu::PixelBufferAccess viewportBuf = getSubregion(buf, 0, 0, 0, viewportW, viewportH, 1);
H A Des3fUniformApiTests.cpp2070 const int viewportH = de::min(renderTarget.getHeight(), MAX_RENDER_HEIGHT); local
2072 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH);
2073 tcu::Surface renderedImg (viewportW, viewportH);
2097 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportW, viewportH));
/external/deqp/external/vulkancts/modules/vulkan/texture/
H A DvktTextureTestUtil.hpp188 void setViewport (float viewportX, float viewportY, float viewportW, float viewportH);
H A DvktTextureTestUtil.cpp896 void TextureRenderer::setViewport (float viewportX, float viewportY, float viewportW, float viewportH) argument
898 m_viewportHeight = viewportH;
/external/deqp/modules/gles31/functional/
H A Des31fProgramUniformTests.cpp1573 const int viewportH = de::min<int>(renderTarget.getHeight(), MAX_RENDER_HEIGHT); local
1575 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH);
1576 tcu::Surface renderedImg (viewportW, viewportH);
1600 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportW, viewportH));

Completed in 318 milliseconds

12