Lines Matching defs:m_config

143 	const FboConfig&	getConfig				(void) const { return m_config;				}
155 FboConfig m_config;
250 : m_config (config)
263 if (m_config.buffers & (GL_COLOR_BUFFER_BIT))
265 switch (m_config.colorType)
268 m_colorBuffer = createTex2D(colorBufferName, m_config.colorFormat, width, height);
273 m_colorBuffer = createRbo(colorBufferName, m_config.colorFormat, width, height);
282 if (m_config.buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT))
284 switch (m_config.depthStencilType)
286 case GL_TEXTURE_2D: m_depthStencilBuffer = createTex2D(depthStencilBufferName, m_config.depthStencilFormat, width, height); break;
287 case GL_RENDERBUFFER: m_depthStencilBuffer = createRbo(depthStencilBufferName, m_config.depthStencilFormat, width, height); break;
298 if ((m_config.buffers & bit) == 0)
301 switch (m_config.depthStencilType)
320 destroyBuffer(m_colorBuffer, m_config.colorType);
321 destroyBuffer(m_depthStencilBuffer, m_config.depthStencilType);
411 const FboConfig m_config;
416 , m_config (config)
505 const tcu::RGBA threshold (tcu::max(getFormatThreshold(m_config.colorFormat), tcu::RGBA(12, 12, 12, 12)));
529 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat);
553 Framebuffer fbo(context, m_config, width, height);
629 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0;
640 Framebuffer fboA(context, m_config, width, height);
644 FboConfig cfg = m_config;
652 switch (m_config.colorType)
750 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat);
757 checkColorFormatSupport(context, m_config.colorFormat);
760 if (m_config.colorType == GL_TEXTURE_2D)
763 context.texImage2D(GL_TEXTURE_2D, 0, m_config.colorFormat, width, height);
769 DE_ASSERT(m_config.colorType == GL_RENDERBUFFER);
771 context.renderbufferStorage(GL_RENDERBUFFER, m_config.colorFormat, width, height);
779 if (m_config.colorType == GL_TEXTURE_2D)
821 if (m_config.colorType == GL_TEXTURE_2D)
865 // bool depth = (m_config.buffers & GL_DEPTH_BUFFER_BIT) != 0;
866 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0;
877 Framebuffer fboA(context, m_config, width, height);
881 FboConfig cfg = m_config;
894 if ((m_config.buffers & bit) == 0)
897 switch (m_config.depthStencilType)
949 if (m_config.colorType == GL_TEXTURE_2D)
964 readPixels(context, dst, 0, 0, width, height, glu::mapGLInternalFormat(m_config.colorFormat), Vec4(1.0f), Vec4(0.0f));
1111 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat);
1127 bool depth = (m_config.buffers & GL_DEPTH_BUFFER_BIT) != 0;
1128 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0;
1140 Framebuffer fbo(context, m_config, initialWidth, initialHeight);
1233 if (m_config.colorType == GL_TEXTURE_2D)
1267 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat);
1285 bool stencil = (m_config.buffers & GL_STENCIL_BUFFER_BIT) != 0;
1290 Framebuffer fbo(ctx, m_config, width, height);
1327 (m_buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)) == (m_config.buffers & (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)));