Lines Matching defs:height
76 , height (height_)
88 , height (0)
104 int height;
140 Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fbo = 0, deUint32 colorBuffer = 0, deUint32 depthStencilBuffer = 0);
151 deUint32 createTex2D (deUint32 name, GLenum format, int width, int height);
152 deUint32 createRbo (deUint32 name, GLenum format, int width, int height);
251 Framebuffer::Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fbo, deUint32 colorBufferName, deUint32 depthStencilBufferName)
270 m_colorBuffer = createTex2D(colorBufferName, m_config.colorFormat, width, height);
275 m_colorBuffer = createRbo(colorBufferName, m_config.colorFormat, width, height);
288 case GL_TEXTURE_2D: m_depthStencilBuffer = createTex2D(depthStencilBufferName, m_config.depthStencilFormat, width, height); break;
289 case GL_RENDERBUFFER: m_depthStencilBuffer = createRbo(depthStencilBufferName, m_config.depthStencilFormat, width, height); break;
335 deUint32 Framebuffer::createTex2D (deUint32 name, GLenum format, int width, int height)
341 m_context.texImage2D(GL_TEXTURE_2D, 0, format, width, height);
343 if (!deIsPowerOfTwo32(width) || !deIsPowerOfTwo32(height))
356 deUint32 Framebuffer::createRbo (deUint32 name, GLenum format, int width, int height)
362 m_context.renderbufferStorage(GL_RENDERBUFFER, format, width, height);
377 static void createMetaballsTex2D (sglr::Context& context, deUint32 name, GLenum format, GLenum dataType, int width, int height)
380 tcu::TextureLevel level (texFormat, width, height);
382 tcu::fillWithMetaballs(level.getAccess(), 5, name ^ width ^ height);
385 context.texImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, dataType, level.getAccess().getDataPtr());
389 static void createQuadsTex2D (sglr::Context& context, deUint32 name, GLenum format, GLenum dataType, int width, int height)
392 tcu::TextureLevel level (texFormat, width, height);
397 context.texImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, dataType, level.getAccess().getDataPtr());
435 int height = deMin32(renderTarget.getHeight(), 128);
437 int yMax = renderTarget.getHeight()-height+1;
441 tcu::Surface gles3Frame (width, height);
442 tcu::Surface refFrame (width, height);
449 sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(x, y, width, height));
472 sglr::ReferenceContextBuffers buffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), renderTarget.getDepthBits(), renderTarget.getStencilBits(), width, height);
547 int height = 128;
552 createQuadsTex2D(context, quadsTex, GL_RGBA, GL_UNSIGNED_BYTE, width, height);
553 createMetaballsTex2D(context, metaballsTex, GL_RGBA, GL_UNSIGNED_BYTE, width, height);
555 Framebuffer fbo(context, m_config, width, height);
560 context.viewport(0, 0, width, height);
603 readPixels(context, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias);
628 int height = 128;
639 context.viewport(0, 0, width, height);
642 Framebuffer fboA(context, m_config, width, height);
650 Framebuffer fboB(context, cfg, width, height);
733 readPixels(context, dst, 0, 0, width, height, glu::mapGLInternalFormat(fboA.getConfig().colorFormat), Vec4(1.0f), Vec4(0.0f));
755 int height = 128;
765 context.texImage2D(GL_TEXTURE_2D, 0, m_config.colorFormat, width, height);
773 context.renderbufferStorage(GL_RENDERBUFFER, m_config.colorFormat, width, height);
797 context.viewport(0, 0, width, height);
836 readPixels(context, dst, 0, 0, width, height, colorFormat, Vec4(1.0f), Vec4(0.0f));
866 int height = 128;
876 context.viewport(0, 0, width, height);
879 Framebuffer fboA(context, m_config, width, height);
887 Framebuffer fboB(context, cfg, width, height);
966 readPixels(context, dst, 0, 0, width, height, glu::mapGLInternalFormat(m_config.colorFormat), Vec4(1.0f), Vec4(0.0f));
1284 int height = 128;
1292 Framebuffer fbo(ctx, m_config, width, height);
1304 ctx.viewport(0, 0, width, height);
1318 ctx.scissor(width/4, height/4, width/2, height/2);
1351 ctx.texImage2D(GL_TEXTURE_2D, 0, format, width, height);
1359 ctx.renderbufferStorage(GL_RENDERBUFFER, format, width, height);
1444 readPixels(ctx, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias);