Lines Matching refs:format
98 GLenum colorFormat; //!< Internal format for color buffer texture or renderbuffer
151 deUint32 createTex2D (deUint32 name, GLenum format, int width, int height);
152 deUint32 createRbo (deUint32 name, GLenum format, int width, int height);
162 static std::vector<std::string> getEnablingExtensions (deUint32 format)
166 switch (format)
258 // Verify that color format is supported
335 deUint32 Framebuffer::createTex2D (deUint32 name, GLenum format, int width, int height)
341 m_context.texImage2D(GL_TEXTURE_2D, 0, format, width, 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)
379 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType);
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)
391 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType);
397 context.texImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, dataType, level.getAccess().getDataPtr());
758 // Check for format support.
1338 deUint32 format = ndx == 0 ? fbo.getConfig().colorFormat
1351 ctx.texImage2D(GL_TEXTURE_2D, 0, format, width, height);
1359 ctx.renderbufferStorage(GL_RENDERBUFFER, format, width, height);
1480 deUint32 format;
1524 deUint32 format;
1551 FboConfig config(GL_COLOR_BUFFER_BIT|GL_STENCIL_BUFFER_BIT, colorType, colorFmt, stencilType, depthStencilFormats[fmtNdx].format);
1566 FboConfig config(GL_COLOR_BUFFER_BIT, objectTypes[typeNdx], colorFormats[colorFmtNdx].format, GL_NONE, GL_NONE);
1582 colorFormats[colorFmtNdx].format == GL_RGBA32F ||
1583 colorFormats[colorFmtNdx].format == GL_RGB32F ||
1584 colorFormats[colorFmtNdx].format == GL_RG32F ||
1585 colorFormats[colorFmtNdx].format == GL_R32F)
1590 FboConfig colorOnlyConfig (GL_COLOR_BUFFER_BIT, objectTypes[typeNdx], colorFormats[colorFmtNdx].format, GL_NONE, GL_NONE);
1591 FboConfig colorDepthConfig (GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT, objectTypes[typeNdx], colorFormats[colorFmtNdx].format, depthStencilType, depthStencilFormat);
1592 FboConfig colorDepthStencilConfig (GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT, objectTypes[typeNdx], colorFormats[colorFmtNdx].format, depthStencilType, depthStencilFormat);
1616 FboConfig config(GL_COLOR_BUFFER_BIT|(depth ? GL_DEPTH_BUFFER_BIT : 0)|(stencil ? GL_STENCIL_BUFFER_BIT : 0), colorType, colorFmt, objectTypes[typeNdx], depthStencilFormats[fmtNdx].format);
1626 deUint32 colorFormat = colorFormats[colorFmtNdx].format;
1652 objectTypes[typeNdx], depthStencilFormats[depthStencilFmtNdx].format);
1664 deUint32 colorFormat = colorFormats[colorFmtNdx].format;
1692 FboConfig config(GL_COLOR_BUFFER_BIT|(depth ? GL_DEPTH_BUFFER_BIT : 0)|(stencil ? GL_STENCIL_BUFFER_BIT : 0), colorType, colorFmt, objectTypes[typeNdx], depthStencilFormats[fmtNdx].format);