/external/deqp/modules/glshared/ |
H A D | glsShaderPerformanceCase.cpp | 71 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 D | glsFragOpInteractionCase.cpp | 291 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 D | glsBufferTestUtil.cpp | 761 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 D | glsUniformBlockCase.cpp | 1898 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 D | es2fDepthRangeTests.cpp | 146 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 D | es2fShaderFragDataTests.cpp | 152 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 D | es2fBufferTestUtil.cpp | 572 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 D | es2fFlushFinishTests.cpp | 223 const int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), MAX_VIEWPORT_SIZE); local 235 gl.viewport(0, 0, viewportW, viewportH);
|
H A D | es2fRandomFragmentOpTests.cpp | 140 int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1; 149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH);
|
H A D | es2fDepthStencilTests.cpp | 564 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 D | es2fTextureFilteringTests.cpp | 225 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 D | es2fUniformApiTests.cpp | 1658 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 D | es3fFragDepthTests.cpp | 130 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 D | es3fShaderFragDataTests.cpp | 152 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 D | es3fShaderBuiltinVarTests.cpp | 755 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 D | es3fFlushFinishTests.cpp | 241 const int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), MAX_VIEWPORT_SIZE); 253 gl.viewport(0, 0, viewportW, viewportH);
|
H A D | es3fRandomFragmentOpTests.cpp | 140 int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1; 149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH);
|
H A D | es3fDepthStencilTests.cpp | 564 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 D | es3fTextureShadowTests.cpp | 294 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 D | es3fTransformFeedbackTests.cpp | 1075 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 D | es3fFragmentOutputTests.cpp | 566 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 D | es3fUniformApiTests.cpp | 2070 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 D | vktTextureTestUtil.hpp | 188 void setViewport (float viewportX, float viewportY, float viewportW, float viewportH);
|
H A D | vktTextureTestUtil.cpp | 896 void TextureRenderer::setViewport (float viewportX, float viewportY, float viewportW, float viewportH) argument 898 m_viewportHeight = viewportH;
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fProgramUniformTests.cpp | 1573 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));
|