/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderPerformanceCase.cpp | 71 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()
|
D | glsFragOpInteractionCase.cpp | 291 const int viewportH = de::abs(quad.posA.y()-quad.posB.y())+1; in renderQuad() local 301 ctx.viewport(viewportX, viewportY, viewportW, viewportH); in renderQuad() 462 const int viewportH = de::min<int>(m_renderCtx.getRenderTarget().getHeight(), VIEWPORT_HEIGHT); in init() local 464 const int viewportY = rnd.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportH); 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 | 761 …const int viewportH = de::min<int>(INDEX_ARRAY_DRAW_VIEWPORT_HEIGHT, renderTarget.getHeight(… 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 | 1901 const int viewportH = de::min(renderTarget.getHeight(), 128); in render() local 1903 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in render() 1919 gl.viewport(viewportX, viewportY, viewportW, viewportH); in render() 1929 tcu::Surface pixels (viewportW, viewportH); in render()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 146 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()
|
D | es2fClipControlTests.cpp | 176 glw::GLuint viewportH = renderTarget.getHeight(); in init() local 184 gl.renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, viewportW, viewportH); in init() 187 …gl.texImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, viewportW, viewportH, 0, GL_DEPTH_COMPONENT, G… in init() 504 glw::GLsizei viewportH = renderTarget.getHeight(); in ValidateFramebuffer() local 505 tcu::Surface renderedFrame(viewportW, viewportH); in ValidateFramebuffer() 506 tcu::Surface referenceFrame(viewportW, viewportH); in ValidateFramebuffer() 706 glw::GLsizei viewportH = renderTarget.getHeight(); in ValidateFramebuffer() local 707 tcu::Surface renderedColorFrame(viewportW, viewportH); in ValidateFramebuffer() 708 tcu::Surface referenceColorFrame(viewportW, viewportH); in ValidateFramebuffer() 1010 glw::GLuint viewportH = renderTarget.getHeight(); in init() local [all …]
|
D | es2fShaderFragDataTests.cpp | 152 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()
|
D | es2fBufferTestUtil.cpp | 572 …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()
|
D | es2fFlushFinishTests.cpp | 223 const int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), MAX_VIEWPORT_SIZE); in setupRenderState() local 235 gl.viewport(0, 0, viewportW, viewportH); in setupRenderState()
|
D | es2fDepthStencilTests.cpp | 564 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()
|
D | es2fRandomFragmentOpTests.cpp | 140 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cClipControlTests.cpp | 188 glw::GLuint viewportH = renderTarget.getHeight(); in init() local 196 gl.renderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, viewportW, viewportH); in init() 198 gl.renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT24, viewportW, viewportH); in init() 512 glw::GLuint viewportH = renderTarget.getHeight(); in ValidateFramebuffer() local 513 tcu::Surface renderedFrame(viewportW, viewportH); in ValidateFramebuffer() 514 tcu::Surface referenceFrame(viewportW, viewportH); in ValidateFramebuffer() 697 glw::GLuint viewportH = renderTarget.getHeight(); in ValidateFramebuffer() local 698 tcu::Surface renderedColorFrame(viewportW, viewportH); in ValidateFramebuffer() 699 tcu::Surface referenceColorFrame(viewportW, viewportH); in ValidateFramebuffer() 701 tcu::TextureLevel renderedDepthFrame(depthFormat, viewportW, viewportH); in ValidateFramebuffer() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFragDepthTests.cpp | 130 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()
|
D | es3fShaderBuiltinVarTests.cpp | 776 const int viewportH = (numQuads/maxQuadsX + (numQuads%maxQuadsX != 0 ? 1 : 0))*quadHeight; in init() local 778 if (viewportH > height) in init() 781 DE_ASSERT(viewportW <= width && viewportH <= height); in init() 847 const float h = 2.0f * float(quadHeight)/float(viewportH); in init() 873 m_viewportH = viewportH; in init() 989 const int viewportH = m_viewportH; in iterate() local 994 tcu::Surface refImg (viewportW, viewportH); in iterate() 995 tcu::Surface testImg (viewportW, viewportH); in iterate() 998 const int viewportY = rnd.getInt(0, height-viewportH); in iterate() 1005 gl.viewport (viewportX, viewportY, viewportW, viewportH); in iterate()
|
D | es3fShaderFragDataTests.cpp | 170 const int viewportH = de::min(renderCtx.getRenderTarget().getHeight(), 128); in iterate() local 209 gl.viewport (0, 0, viewportW, viewportH); in iterate() 218 tcu::Surface result (viewportW, viewportH); in iterate()
|
D | es3fDepthStencilTests.cpp | 564 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()
|
D | es3fFlushFinishTests.cpp | 243 const int viewportH = de::min<int>(m_context.getRenderTarget().getHeight(), MAX_VIEWPORT_SIZE); in setupRenderState() local 255 gl.viewport(0, 0, viewportW, viewportH); in setupRenderState()
|
D | es3fRandomFragmentOpTests.cpp | 140 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()
|
D | es3fTextureShadowTests.cpp | 294 …const float viewportH = (float)de::min<int>(TEX2D_VIEWPORT_HEIGHT, m_context.getRenderTarget().get… in init() local 305 …const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeigh… in init() 848 …const float viewportH = (float)de::min<int>(TEX2D_VIEWPORT_HEIGHT, m_context.getRenderTarget().get… in init() local 862 const float sY = deFloatExp2(lodY)*viewportH / float(tex->getRefTexture().getHeight()); in init()
|
D | es3fTransformFeedbackTests.cpp | 1075 int viewportH = de::min((int)VIEWPORT_HEIGHT, height); in runTest() local 1077 int viewportY = rnd.getInt(0, height-viewportH); 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcFragDepthTests.cpp | 147 int viewportH = de::min(128, renderTarget.getHeight()); in iterate() local 149 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in iterate() 150 tcu::Surface renderedFrame(viewportW, viewportH); in iterate() 151 tcu::Surface referenceFrame(viewportW, viewportH); in iterate() 157 gl.viewport(viewportX, viewportY, viewportW, viewportH); in iterate() 300 int viewportH = de::min(128, renderTarget.getHeight()); in iterate() local 302 int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in iterate() 303 tcu::Surface renderedFrame(viewportW, viewportH); in iterate() 304 tcu::Surface referenceFrame(viewportW, viewportH); in iterate() 311 gl.viewport(viewportX, viewportY, viewportW, viewportH); in iterate()
|
D | glcUniformBlockCase.cpp | 1865 const int viewportH = de::min(renderTarget.getHeight(), 128); in render() local 1867 const int viewportY = rnd.getInt(0, renderTarget.getHeight() - viewportH); in render() 1875 gl.viewport(viewportX, viewportY, viewportW, viewportH); in render() 1885 tcu::Surface pixels(viewportW, viewportH); in render()
|
/third_party/vk-gl-cts/doc/testspecs/GLES2/ |
D | performance.texture.format.txt | 49 In this configuration viewportW*viewportH*numTextures unique texels are
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cSeparateShaderObjsTests.cpp | 2187 int viewportH = de::min(16, renderTarget.getHeight()); in iterate() local 2188 tcu::Surface renderedFrame(viewportW, viewportH); in iterate() 2200 gl.viewport(0, 0, viewportW, viewportH); in iterate() 2661 int viewportH = de::min(16, renderTarget.getHeight()); in iterate() local 2662 tcu::Surface renderedFrame(viewportW, viewportH); in iterate() 2672 gl.viewport(0, 0, viewportW, viewportH); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.hpp | 261 void setViewport (float viewportX, float viewportY, float viewportW, float viewportH);
|