Home
last modified time | relevance | path

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

/external/deqp/modules/glshared/
DglsShaderPerformanceCase.cpp71 int viewportH = m_renderCtx.getRenderTarget().getHeight(); in setVertexFragmentRatio() local
76 int numFrag = viewportW*viewportH; in setVertexFragmentRatio()
99 while (viewportW*viewportH > numFrag) in setVertexFragmentRatio()
101 if (viewportW > viewportH) in setVertexFragmentRatio()
104 viewportH -= 1; in setVertexFragmentRatio()
109 float finalRatio = (float)(viewportW*viewportH) / (float)((gridW+1)*(gridH+1)); in setVertexFragmentRatio()
115 setViewportSize(viewportW, viewportH); in setVertexFragmentRatio()
DglsFragOpInteractionCase.cpp291 const int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1; in renderQuad() local
301 ctx.viewport(viewportX, viewportY, viewportW, viewportH); in renderQuad()
417 const int viewportH = de::min<int>(m_renderCtx.getRenderTarget().getHeight(), VIEWPORT_HEIGHT); in init() local
419 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportH); in init()
432 m_referenceCtx = new ReferenceContext(m_renderCtx, viewportW, viewportH); in init()
435 …CONTEXT_LOG_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, IVec4(viewportX, viewportY, viewportW, viewportH)); in init()
440 m_viewportSize = tcu::IVec2(viewportW, viewportH); in init()
DglsBufferTestUtil.cpp760 …const int viewportH = de::min<int>(INDEX_ARRAY_DRAW_VIEWPORT_HEIGHT, renderTarget.getHeight(… in verify() local
770 tcu::Surface indexBufferImg (viewportW, viewportH); in verify()
771 tcu::Surface referenceImg (viewportW, viewportH); in verify()
788 glViewport (0, 0, viewportW, viewportH); in verify()
DglsUniformBlockCase.cpp1898 const int viewportH = de::min(renderTarget.getHeight(), 128); in render() local
1900 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in render()
1916 gl.viewport(viewportX, viewportY, viewportW, viewportH); in render()
1926 tcu::Surface pixels (viewportW, viewportH); in render()
/external/deqp/modules/gles2/functional/
Des2fDepthRangeTests.cpp146 const int viewportH = de::min(128, renderTarget.getHeight()); in iterate() local
148 const int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH); in iterate()
149 tcu::Surface renderedFrame (viewportW, viewportH); in iterate()
150 tcu::Surface referenceFrame (viewportW, viewportH); in iterate()
169 glViewport(viewportX, viewportY, viewportW, viewportH); in iterate()
295 const int viewportH = de::min(128, renderTarget.getHeight()); in iterate() local
297 const int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH); in iterate()
298 tcu::Surface renderedFrame (viewportW, viewportH); in iterate()
299 tcu::Surface referenceFrame (viewportW, viewportH); in iterate()
319 glViewport(viewportX, viewportY, viewportW, viewportH); in iterate()
Des2fShaderFragDataTests.cpp152 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128); in iterate() local
191 gl.viewport (0, 0, viewportW, viewportH); in iterate()
200 tcu::Surface result (viewportW, viewportH); in iterate()
Des2fBufferTestUtil.cpp572 …const int viewportH = de::min<int>(INDEX_ARRAY_DRAW_VIEWPORT_HEIGHT, renderTarget.getHeight(… in verify() local
582 tcu::Surface indexBufferImg (viewportW, viewportH); in verify()
583 tcu::Surface referenceImg (viewportW, viewportH); in verify()
599 glViewport (0, 0, viewportW, viewportH); in verify()
Des2fFlushFinishTests.cpp222 const int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), MAX_VIEWPORT_SIZE); in setupRenderState() local
234 gl.viewport(0, 0, viewportW, viewportH); in setupRenderState()
Des2fDepthStencilTests.cpp564 int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), VIEWPORT_HEIGHT); in init() local
565 …m_renderTarget = TestRenderTarget(viewportW, viewportH, m_context.getRenderTarget().getDepthBits()… in init()
582 m_refColorBuffer = new tcu::Surface(viewportW, viewportH); in init()
583 …evel(tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT), viewportW, viewportH); in init()
584 …u::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT32), viewportW, viewportH); in init()
Des2fRandomFragmentOpTests.cpp140 int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1; in renderQuad() local
149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH); in renderQuad()
Des2fTextureFilteringTests.cpp224 …const float viewportH = (float)de::min<int>(VIEWPORT_HEIGHT, m_renderCtx.getRenderTarget().getHeig… in init() local
234 …const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeigh… in init()
Des2fUniformApiTests.cpp1668 const int viewportH = de::min(renderTarget.getHeight(), MAX_RENDER_HEIGHT); in renderTest() local
1670 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in renderTest()
1671 tcu::Surface renderedImg (viewportW, viewportH); in renderTest()
1695 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportW, viewportH)); in renderTest()
/external/deqp/modules/gles3/functional/
Des3fFragDepthTests.cpp130 int viewportH = de::min(128, renderTarget.getHeight()); in iterate() local
132 int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH); in iterate()
133 tcu::Surface renderedFrame (viewportW, viewportH); in iterate()
134 tcu::Surface referenceFrame (viewportW, viewportH); in iterate()
140 gl.viewport(viewportX, viewportY, viewportW, viewportH); in iterate()
301 int viewportH = de::min(128, renderTarget.getHeight()); in iterate() local
303 int viewportY = rnd.getInt(0, renderTarget.getHeight()-viewportH); in iterate()
304 tcu::Surface renderedFrame (viewportW, viewportH); in iterate()
305 tcu::Surface referenceFrame (viewportW, viewportH); in iterate()
312 gl.viewport(viewportX, viewportY, viewportW, viewportH); in iterate()
Des3fShaderBuiltinVarTests.cpp755 const int viewportH = (numQuads/maxQuadsX + (numQuads%maxQuadsX != 0 ? 1 : 0))*quadHeight; in init() local
757 if (viewportH > height) in init()
760 DE_ASSERT(viewportW <= width && viewportH <= height); in init()
826 const float h = 2.0f * float(quadHeight)/float(viewportH); in init()
852 m_viewportH = viewportH; in init()
968 const int viewportH = m_viewportH; in iterate() local
973 tcu::Surface refImg (viewportW, viewportH); in iterate()
974 tcu::Surface testImg (viewportW, viewportH); in iterate()
977 const int viewportY = rnd.getInt(0, height-viewportH); in iterate()
984 gl.viewport (viewportX, viewportY, viewportW, viewportH); in iterate()
Des3fShaderFragDataTests.cpp152 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128); in iterate() local
191 gl.viewport (0, 0, viewportW, viewportH); in iterate()
200 tcu::Surface result (viewportW, viewportH); in iterate()
Des3fDepthStencilTests.cpp564 int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), VIEWPORT_HEIGHT); in init() local
565 …m_renderTarget = TestRenderTarget(viewportW, viewportH, m_context.getRenderTarget().getDepthBits()… in init()
582 m_refColorBuffer = new tcu::Surface(viewportW, viewportH); in init()
583 …evel(tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT), viewportW, viewportH); in init()
584 …u::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT32), viewportW, viewportH); in init()
Des3fFlushFinishTests.cpp231 const int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), MAX_VIEWPORT_SIZE); in setupRenderState() local
243 gl.viewport(0, 0, viewportW, viewportH); in setupRenderState()
Des3fRandomFragmentOpTests.cpp140 int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1; in renderQuad() local
149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH); in renderQuad()
Des3fTextureShadowTests.cpp292 …const float viewportH = (float)de::min<int>(TEX2D_VIEWPORT_HEIGHT, m_context.getRenderTarget().get… in init() local
303 …const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeigh… in init()
846 …const float viewportH = (float)de::min<int>(TEX2D_VIEWPORT_HEIGHT, m_context.getRenderTarget().get… in init() local
860 const float sY = deFloatExp2(lodY)*viewportH / float(tex->getRefTexture().getHeight()); in init()
Des3fTransformFeedbackTests.cpp1062 int viewportH = de::min((int)VIEWPORT_HEIGHT, height); in runTest() local
1064 int viewportY = rnd.getInt(0, height-viewportH); in runTest()
1065 tcu::Surface frameWithTf (viewportW, viewportH); in runTest()
1066 tcu::Surface frameWithoutTf (viewportW, viewportH); in runTest()
1125 gl.viewport(viewportX, viewportY, viewportW, viewportH); in runTest()
Des3fFragmentOutputTests.cpp501 const int viewportH = minBufSize.y(); in iterate() local
703 gl.viewport(0, 0, viewportW, viewportH); in iterate()
787 const tcu::PixelBufferAccess viewportBuf = getSubregion(buf, 0, 0, 0, viewportW, viewportH, 1); in iterate()
Des3fUniformApiTests.cpp2080 const int viewportH = de::min(renderTarget.getHeight(), MAX_RENDER_HEIGHT); in renderTest() local
2082 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in renderTest()
2083 tcu::Surface renderedImg (viewportW, viewportH); in renderTest()
2107 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportW, viewportH)); in renderTest()
Des3fTextureFilteringTests.cpp224 …const float viewportH = (float)de::min<int>(TEX2D_VIEWPORT_HEIGHT, m_renderCtx.getRenderTarget().g… in init() local
234 …const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeigh… in init()
/external/deqp/doc/testspecs/GLES2/
Dperformance.texture.format.txt49 In this configuration viewportW*viewportH*numTextures unique texels are
/external/deqp/modules/gles31/functional/
Des31fProgramUniformTests.cpp1583 const int viewportH = de::min<int>(renderTarget.getHeight(), MAX_RENDER_HEIGHT); in renderTest() local
1585 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in renderTest()
1586 tcu::Surface renderedImg (viewportW, viewportH); in renderTest()
1610 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportW, viewportH)); in renderTest()