Lines Matching refs:format
69 ReadPixelsTest (Context& context, const char* name, const char* description, int flags, int alignment, GLint rowLength, GLint skipRows, GLint skipPixels, GLenum format = GL_RGBA, GLenum type = GL_UNSIGNED_BYTE);
88 void getFormatInfo (tcu::TextureFormat& format, int& pixelSize);
92 ReadPixelsTest::ReadPixelsTest (Context& context, const char* name, const char* description, int flags, int alignment, GLint rowLength, GLint skipRows, GLint skipPixels, GLenum format, GLenum type)
101 , m_format (format)
204 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, int& pixelSize)
217 format = glu::mapGLTransferFormat(m_format, m_type);
218 pixelSize = format.getPixelSize();
329 tcu::TextureFormat format(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8);
332 getFormatInfo(format, pixelSize);
335 tcu::Texture2D reference(format, m_width, m_height);
357 const tcu::ConstPixelBufferAccess resultAccess = tcu::ConstPixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[pixelSize * m_skipPixels + m_skipRows * rowPitch]));
362 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format);
385 const tcu::IVec4 formatBitDepths = tcu::getTextureFormatBitDepth(format);