Home
last modified time | relevance | path

Searched refs:glFormat (Results 1 – 7 of 7) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp66 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize);
144 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int… in getFormatInfo() argument
148 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &glFormat)); in getFormatInfo()
151 if (glFormat != GL_RGBA && glFormat != GL_BGRA && glFormat != GL_RGB) in getFormatInfo()
152 …ted IMPLEMENTATION_COLOR_READ_FORMAT: " + de::toString(glu::getPixelFormatStr(glFormat))).c_str()); in getFormatInfo()
156 format = glu::mapGLTransferFormat(glFormat, glType); in getFormatInfo()
163 glFormat = GL_RGBA; in getFormatInfo()
178 GLint glFormat; in iterate() local
181 getFormatInfo(format, glFormat, glType, pixelSize); in iterate()
182 …m_testCtx.getLog() << tcu::TestLog::Message << "Format: " << glu::getPixelFormatStr(glFormat) << "… in iterate()
[all …]
/external/deqp/modules/gles31/functional/
Des31fFboTestUtil.hpp133 tcu::RGBA getFormatThreshold (const deUint32 glFormat);
Des31fCopyImageTests.cpp412 void genTexel (de::Random& rng, deUint32 glFormat, int texelBlockSize, const int texelCount, deUint… in genTexel() argument
414 if (isFloatFormat(glFormat)) in genTexel()
416 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat); in genTexel()
432 else if (glu::isCompressedFormat(glFormat)) in genTexel()
434 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(glFormat); in genTexel()
548 const deUint32 glFormat = getFormatForInternalFormat(format); in genericTexImage() local
555 …lTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), 0, glFormat, glType, data); in genericTexImage()
560 …(glw::GLsizei)size.x(), (glw::GLsizei)size.y(), (glw::GLsizei)size.z(), 0, glFormat, glType, data); in genericTexImage()
Des31fFboTestUtil.cpp612 tcu::RGBA getFormatThreshold (deUint32 glFormat) in getFormatThreshold() argument
614 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat); in getFormatThreshold()
Des31fDrawBuffersIndexedTests.cpp406 const deUint32 glFormat = glu::getInternalFormat(format); in genRenderbuffers() local
412 gl.renderbufferStorage(GL_RENDERBUFFER, glFormat, size.x(), size.y()); in genRenderbuffers()
/external/deqp/modules/gles3/functional/
Des3fFboTestUtil.hpp223 tcu::RGBA getFormatThreshold (const deUint32 glFormat);
Des3fFboTestUtil.cpp1064 tcu::RGBA getFormatThreshold (deUint32 glFormat) in getFormatThreshold() argument
1066 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat); in getFormatThreshold()