Lines Matching refs:m_format
82 GLint m_format;
101 , m_format (format)
208 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &m_format));
211 if (m_format != GL_RGBA && m_format != GL_BGRA && m_format != GL_RGB)
212 TCU_THROW(NotSupportedError, ("Unsupported IMPLEMENTATION_COLOR_READ_FORMAT: " + de::toString(glu::getTextureFormatStr(m_format))).c_str());
217 format = glu::mapGLTransferFormat(m_format, m_type);
249 else if (m_format == GL_RGBA || m_format == GL_BGRA || m_format == GL_RGB)
259 if (m_format == GL_RGBA || m_format == GL_BGRA || m_format == GL_RGB)
275 else if (m_format == GL_RGBA_INTEGER)
318 GLU_CHECK_CALL(glReadPixels(0, 0, m_width, m_height, m_format, m_type, &(pixelData[0])));
333 m_testCtx.getLog() << tcu::TestLog::Message << "Format: " << glu::getTextureFormatStr(m_format) << ", Type: " << glu::getTypeStr(m_type) << tcu::TestLog::EndMessage;