Home
last modified time | relevance | path

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

12

/external/deqp/modules/glshared/
DglsShaderPerformanceCase.cpp70 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()
DglsFragOpInteractionCase.cpp290 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()
DglsBufferTestUtil.cpp760 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()
/external/deqp/modules/gles2/functional/
Des2fDepthRangeTests.cpp145 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()
Des2fClipControlTests.cpp175 glw::GLuint viewportW = renderTarget.getWidth(); 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()
503 glw::GLsizei viewportW = renderTarget.getWidth(); in ValidateFramebuffer() local
505 tcu::Surface renderedFrame(viewportW, viewportH); in ValidateFramebuffer()
506 tcu::Surface referenceFrame(viewportW, viewportH); in ValidateFramebuffer()
705 glw::GLsizei viewportW = renderTarget.getWidth(); in ValidateFramebuffer() local
707 tcu::Surface renderedColorFrame(viewportW, viewportH); in ValidateFramebuffer()
708 tcu::Surface referenceColorFrame(viewportW, viewportH); in ValidateFramebuffer()
1009 glw::GLuint viewportW = renderTarget.getWidth(); in init() local
[all …]
Des2fShaderFragDataTests.cpp151 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()
Des2fBufferTestUtil.cpp571 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()
Des2fFlushFinishTests.cpp222 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()
Des2fDepthStencilTests.cpp563 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()
Des2fRandomFragmentOpTests.cpp139 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()
Des2fTextureFilteringTests.cpp224 …const float viewportW = (float)de::min<int>(VIEWPORT_WIDTH, m_renderCtx.getRenderTarget().getWidth… in init() local
234 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init()
/external/deqp/modules/gles3/functional/
Des3fFragDepthTests.cpp129 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()
Des3fShaderFragDataTests.cpp169 const int viewportW = de::min(renderCtx.getRenderTarget().getWidth(), 128); in iterate() local
209 gl.viewport (0, 0, viewportW, viewportH); in iterate()
218 tcu::Surface result (viewportW, viewportH); in iterate()
Des3fShaderBuiltinVarTests.cpp775 const int viewportW = de::min(numQuads, maxQuadsX)*quadWidth; in init() local
781 DE_ASSERT(viewportW <= width && viewportH <= height); in init()
848 const float w = 2.0f * float(quadWidth)/float(viewportW); in init()
872 m_viewportW = viewportW; in init()
988 const int viewportW = m_viewportW; in iterate() local
994 tcu::Surface refImg (viewportW, viewportH); in iterate()
995 tcu::Surface testImg (viewportW, viewportH); in iterate()
997 const int viewportX = rnd.getInt(0, width-viewportW); in iterate()
1005 gl.viewport (viewportX, viewportY, viewportW, viewportH); in iterate()
Des3fDepthStencilTests.cpp563 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()
Des3fFlushFinishTests.cpp242 const int viewportW = de::min<int>(m_context.getRenderTarget().getWidth(), MAX_VIEWPORT_SIZE); in setupRenderState() local
255 gl.viewport(0, 0, viewportW, viewportH); in setupRenderState()
Des3fRandomFragmentOpTests.cpp139 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()
Des3fTextureShadowTests.cpp293 …const float viewportW = (float)de::min<int>(TEX2D_VIEWPORT_WIDTH, m_context.getRenderTarget().getW… in init() local
304 …const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth… in init()
847 …const float viewportW = (float)de::min<int>(TEX2D_VIEWPORT_WIDTH, m_context.getRenderTarget().getW… in init() local
861 const float sX = deFloatExp2(lodX)*viewportW / float(tex->getRefTexture().getWidth()); in init()
Des3fTransformFeedbackTests.cpp1074 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()
/external/deqp/external/openglcts/modules/gl/
Dgl4cClipControlTests.cpp187 glw::GLuint viewportW = renderTarget.getWidth(); 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()
511 glw::GLuint viewportW = renderTarget.getWidth(); in ValidateFramebuffer() local
513 tcu::Surface renderedFrame(viewportW, viewportH); in ValidateFramebuffer()
514 tcu::Surface referenceFrame(viewportW, viewportH); in ValidateFramebuffer()
696 glw::GLuint viewportW = renderTarget.getWidth(); 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 …]
/external/deqp/external/openglcts/modules/common/
DglcFragDepthTests.cpp146 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() local
148 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); 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()
299 int viewportW = de::min(128, renderTarget.getWidth()); in iterate() local
301 int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); 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()
DglcUniformBlockCase.cpp1864 const int viewportW = de::min(renderTarget.getWidth(), 128); in render() local
1866 const int viewportX = rnd.getInt(0, renderTarget.getWidth() - viewportW); in render()
1875 gl.viewport(viewportX, viewportY, viewportW, viewportH); in render()
1885 tcu::Surface pixels(viewportW, viewportH); in render()
/external/deqp/doc/testspecs/GLES2/
Dperformance.texture.format.txt49 In this configuration viewportW*viewportH*numTextures unique texels are
/external/deqp/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp2186 int viewportW = de::min(16, renderTarget.getWidth()); in iterate() local
2188 tcu::Surface renderedFrame(viewportW, viewportH); in iterate()
2200 gl.viewport(0, 0, viewportW, viewportH); in iterate()
2660 int viewportW = de::min(16, renderTarget.getWidth()); in iterate() local
2662 tcu::Surface renderedFrame(viewportW, viewportH); in iterate()
2672 gl.viewport(0, 0, viewportW, viewportH); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.hpp229 void setViewport (float viewportX, float viewportY, float viewportW, float viewportH);

12