Lines Matching defs:height

356 						Framebuffer			(sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fbo = 0, deUint32 colorbuffer = 0, deUint32 depthbuffer = 0, deUint32 stencilbuffer = 0);
368 void createRbo (deUint32& name, GLenum format, int width, int height);
409 Framebuffer::Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fbo, deUint32 colorbuffer, deUint32 depthbuffer, deUint32 stencilbuffer)
430 context.texImage2D(GL_TEXTURE_2D, 0, m_config.colorbufferFormat, width, height);
433 if (!deIsPowerOfTwo32(width) || !deIsPowerOfTwo32(height))
448 createRbo(m_colorbuffer, m_config.colorbufferFormat, width, height);
459 createRbo(m_depthbuffer, m_config.depthbufferFormat, width, height);
467 createRbo(m_stencilbuffer, m_config.stencilbufferFormat, width, height);
493 void Framebuffer::createRbo (deUint32& name, GLenum format, int width, int height)
498 m_context.renderbufferStorage(GL_RENDERBUFFER, format, width, height);
511 static void createMetaballsTex2D (sglr::Context& context, deUint32 name, GLenum format, GLenum dataType, int width, int height)
514 tcu::TextureLevel level (texFormat, width, height);
516 tcu::fillWithMetaballs(level.getAccess(), 5, name ^ width ^ height);
519 context.texImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, dataType, level.getAccess().getDataPtr());
523 static void createQuadsTex2D (sglr::Context& context, deUint32 name, GLenum format, GLenum dataType, int width, int height)
526 tcu::TextureLevel level (texFormat, width, height);
531 context.texImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, dataType, level.getAccess().getDataPtr());
571 int height = deMin32(renderTarget.getHeight(), 128);
573 int yMax = renderTarget.getHeight()-height+1;
577 tcu::Surface gles2Frame (width, height);
578 tcu::Surface refFrame (width, height);
585 sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(x, y, width, height));
608 sglr::ReferenceContextBuffers buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDepthBits(), renderTarget.getStencilBits(), width, height);
662 int height = 128;
668 Framebuffer fbo(context, getConfig(), width, height);
673 context.viewport(0, 0, width, height);
684 int cY = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % height;
686 int cHeight = (int)(deRandom_getUint32(&rnd) & 0x7fffffff) % (height-cY);
728 context.readPixels(dst, 0, 0, width, height);
782 int height = m_fboHeight;
783 Framebuffer fbo(ctx, getConfig(), width, height);
791 ctx.viewport(0, 0, width, height);
821 ctx.readPixels(dst, 0, 0, width, height);
962 int height = m_fboHeight;
967 Framebuffer fbo(context, getConfig(), width, height);
973 context.viewport(0, 0, width, height);
993 context.readPixels(dst, 0, 0, width, height);
1017 int height = 128;
1021 createQuadsTex2D(context, quadsTex, GL_RGBA, GL_UNSIGNED_BYTE, width, height);
1022 createMetaballsTex2D(context, metaballsTex, GL_RGBA, GL_UNSIGNED_BYTE, width, height);
1024 Framebuffer fbo(context, getConfig(), width, height);
1029 context.viewport(0, 0, width, height);
1082 context.readPixels(dst, 0, 0, width, height);
1134 int height = m_fboHeight;
1144 Framebuffer fbo(ctx, getConfig(), width, height);
1149 ctx.viewport(0, 0, width, height);
1191 ctx.readPixels(dst, 0, 0, width, height);
1213 int height = 128;
1223 context.viewport(0, 0, width, height);
1228 Framebuffer fboA(context, getConfig(), width, height);
1235 Framebuffer fboB(context, cfg, width, height);
1317 context.readPixels(dst, 0, 0, width, height);
1345 int height = 128;
1354 context.texImage2D(GL_TEXTURE_2D, 0, getConfig().colorbufferFormat, width, height);
1361 context.renderbufferStorage(GL_RENDERBUFFER, getConfig().colorbufferFormat, width, height);
1385 context.viewport(0, 0, width, height);
1424 context.readPixels(dst, 0, 0, width, height);
1454 int height = 128;
1467 context.viewport(0, 0, width, height);
1470 Framebuffer fboA(context, getConfig(), width, height);
1477 Framebuffer fboB(context, cfg, width, height);
1537 context.readPixels(dst, 0, 0, width, height);
1879 int height = 128;
1887 Framebuffer fbo(ctx, getConfig(), width, height);
1895 ctx.viewport(0, 0, width, height);
1907 ctx.scissor(width/4, height/4, width/2, height/2);
1925 ctx.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorbufferFormat, width, height);
1935 ctx.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorbufferFormat, width, height);
1953 ctx.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthbufferFormat, width, height);
1966 ctx.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().stencilbufferFormat, width, height);
1993 ctx.readPixels(dst, 0, 0, width, height);