/external/deqp/modules/glshared/ |
D | glsShaderPerformanceCase.cpp | 70 int viewportW = m_renderCtx.getRenderTarget().getWidth(); in setVertexFragmentRatio() local 76 int numFrag = viewportW*viewportH; in setVertexFragmentRatio() 99 while (viewportW*viewportH > numFrag) in setVertexFragmentRatio() 101 if (viewportW > viewportH) in setVertexFragmentRatio() 102 viewportW -= 1; in setVertexFragmentRatio() 109 float finalRatio = (float)(viewportW*viewportH) / (float)((gridW+1)*(gridH+1)); in setVertexFragmentRatio() 115 setViewportSize(viewportW, viewportH); in setVertexFragmentRatio()
|
D | glsFragOpInteractionCase.cpp | 290 const int viewportW = de::abs(quad.posA.x()-quad.posB.x())+1; in renderQuad() local 301 ctx.viewport(viewportX, viewportY, viewportW, viewportH); in renderQuad() 461 const int viewportW = de::min<int>(m_renderCtx.getRenderTarget().getWidth(), VIEWPORT_WIDTH); in init() local 463 const int viewportX = rnd.getInt(0, m_renderCtx.getRenderTarget().getWidth() - viewportW); in init() 477 m_referenceCtx = new ReferenceContext(m_renderCtx, viewportW, viewportH); in init() 480 …CONTEXT_LOG_CALLS|sglr::GLCONTEXT_LOG_PROGRAMS, IVec4(viewportX, viewportY, viewportW, viewportH)); in init() 485 m_viewportSize = tcu::IVec2(viewportW, viewportH); in init()
|
D | glsBufferTestUtil.cpp | 760 const int viewportW = de::min<int>(INDEX_ARRAY_DRAW_VIEWPORT_WIDTH, renderTarget.getWidth()); in verify() local 771 tcu::Surface indexBufferImg (viewportW, viewportH); in verify() 772 tcu::Surface referenceImg (viewportW, viewportH); in verify() 789 glViewport (0, 0, viewportW, viewportH); in verify()
|
D | glsUniformBlockCase.cpp | 1897 const int viewportW = de::min(renderTarget.getWidth(), 128); in render() local 1899 const int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in render() 1916 gl.viewport(viewportX, viewportY, viewportW, viewportH); in render() 1926 tcu::Surface pixels (viewportW, viewportH); in render()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 145 const int viewportW = de::min(128, renderTarget.getWidth()); in iterate() local 147 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); 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() 294 const int viewportW = de::min(128, renderTarget.getWidth()); in iterate() local 296 const int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); 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()
|
D | es2fShaderFragDataTests.cpp | 151 const int viewportW = de::min(renderCtx.getRenderTarget().getWidth(), 128); in iterate() local 191 gl.viewport (0, 0, viewportW, viewportH); in iterate() 200 tcu::Surface result (viewportW, viewportH); in iterate()
|
D | es2fBufferTestUtil.cpp | 571 const int viewportW = de::min<int>(INDEX_ARRAY_DRAW_VIEWPORT_WIDTH, renderTarget.getWidth()); 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()
|
D | es2fFlushFinishTests.cpp | 222 const int viewportW = de::min<int>(m_context.getRenderTarget().getWidth(), MAX_VIEWPORT_SIZE); in setupRenderState() local 235 gl.viewport(0, 0, viewportW, viewportH); in setupRenderState()
|
D | es2fDepthStencilTests.cpp | 563 int viewportW = de::min<int>(m_context.getRenderTarget().getWidth(), VIEWPORT_WIDTH); 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()
|
D | es2fRandomFragmentOpTests.cpp | 139 int viewportW = de::abs(quad.posA.x()-quad.posB.x())+1; in renderQuad() local 149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH); in renderQuad()
|
D | es2fTextureFilteringTests.cpp | 223 …const float viewportW = (float)de::min<int>(VIEWPORT_WIDTH, m_renderCtx.getRenderTarget().getWidth… in init() local 233 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init()
|
D | es2fUniformApiTests.cpp | 1667 const int viewportW = de::min(renderTarget.getWidth(), MAX_RENDER_WIDTH); in renderTest() local 1669 const int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); 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/ |
D | es3fFragDepthTests.cpp | 129 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() local 131 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); 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() 300 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() local 302 int viewportX = rnd.getInt(0, renderTarget.getWidth()-viewportW); 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()
|
D | es3fShaderBuiltinVarTests.cpp | 754 const int viewportW = de::min(numQuads, maxQuadsX)*quadWidth; in init() local 760 DE_ASSERT(viewportW <= width && viewportH <= height); in init() 827 const float w = 2.0f * float(quadWidth)/float(viewportW); in init() 851 m_viewportW = viewportW; in init() 967 const int viewportW = m_viewportW; in iterate() local 973 tcu::Surface refImg (viewportW, viewportH); in iterate() 974 tcu::Surface testImg (viewportW, viewportH); in iterate() 976 const int viewportX = rnd.getInt(0, width-viewportW); in iterate() 984 gl.viewport (viewportX, viewportY, viewportW, viewportH); in iterate()
|
D | es3fShaderFragDataTests.cpp | 151 const int viewportW = de::min(renderCtx.getRenderTarget().getWidth(), 128); in iterate() local 191 gl.viewport (0, 0, viewportW, viewportH); in iterate() 200 tcu::Surface result (viewportW, viewportH); in iterate()
|
D | es3fDepthStencilTests.cpp | 563 int viewportW = de::min<int>(m_context.getRenderTarget().getWidth(), VIEWPORT_WIDTH); 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()
|
D | es3fRandomFragmentOpTests.cpp | 139 int viewportW = de::abs(quad.posA.x()-quad.posB.x())+1; in renderQuad() local 149 gl.viewport(baseX+viewportX, baseY+viewportY, viewportW, viewportH); in renderQuad()
|
D | es3fFlushFinishTests.cpp | 240 const int viewportW = de::min<int>(m_context.getRenderTarget().getWidth(), MAX_VIEWPORT_SIZE); in setupRenderState() local 253 gl.viewport(0, 0, viewportW, viewportH); in setupRenderState()
|
D | es3fTextureShadowTests.cpp | 291 …const float viewportW = (float)de::min<int>(TEX2D_VIEWPORT_WIDTH, m_context.getRenderTarget().getW… in init() local 302 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init() 845 …const float viewportW = (float)de::min<int>(TEX2D_VIEWPORT_WIDTH, m_context.getRenderTarget().getW… in init() local 859 const float sX = deFloatExp2(lodX)*viewportW / float(tex->getRefTexture().getWidth()); in init()
|
D | es3fTransformFeedbackTests.cpp | 1074 int viewportW = de::min((int)VIEWPORT_WIDTH, width); in runTest() local 1076 int viewportX = rnd.getInt(0, width-viewportW); in runTest() 1078 tcu::Surface frameWithTf (viewportW, viewportH); in runTest() 1079 tcu::Surface frameWithoutTf (viewportW, viewportH); in runTest() 1138 gl.viewport(viewportX, viewportY, viewportW, viewportH); in runTest()
|
D | es3fFragmentOutputTests.cpp | 565 const int viewportW = minBufSize.x(); in iterate() local 768 gl.viewport(0, 0, viewportW, viewportH); in iterate() 858 const tcu::PixelBufferAccess viewportBuf = getSubregion(buf, 0, 0, 0, viewportW, viewportH, 1); in iterate()
|
D | es3fUniformApiTests.cpp | 2079 const int viewportW = de::min(renderTarget.getWidth(), MAX_RENDER_WIDTH); in renderTest() local 2081 const int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in renderTest() 2083 tcu::Surface renderedImg (viewportW, viewportH); in renderTest() 2107 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportW, viewportH)); in renderTest()
|
D | es3fTextureFilteringTests.cpp | 223 …const float viewportW = (float)de::min<int>(TEX2D_VIEWPORT_WIDTH, m_renderCtx.getRenderTarget().ge… in init() local 233 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init()
|
/external/deqp/doc/testspecs/GLES2/ |
D | performance.texture.format.txt | 49 In this configuration viewportW*viewportH*numTextures unique texels are
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramUniformTests.cpp | 1582 const int viewportW = de::min<int>(renderTarget.getWidth(), MAX_RENDER_WIDTH); in renderTest() local 1584 const int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in renderTest() 1586 tcu::Surface renderedImg (viewportW, viewportH); in renderTest() 1610 GLU_CHECK_CALL(glViewport(viewportX, viewportY, viewportW, viewportH)); in renderTest()
|