Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp46 …tureHeaderV3& sTextureHeader, PVRTuint32& glInternalFormat, PVRTuint32& glFormat, PVRTuint32& glTy… in PVRTGetOGLES3TextureFormat() argument
53 glFormat = 0; in PVRTGetOGLES3TextureFormat()
209 glFormat = GL_RGB; in PVRTGetOGLES3TextureFormat()
222 glFormat = GL_RGBA; in PVRTGetOGLES3TextureFormat()
229 glFormat = GL_RGB; in PVRTGetOGLES3TextureFormat()
236 glFormat = GL_RG; in PVRTGetOGLES3TextureFormat()
243 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat()
250 glFormat = GL_LUMINANCE_ALPHA; in PVRTGetOGLES3TextureFormat()
257 glFormat = GL_LUMINANCE; in PVRTGetOGLES3TextureFormat()
264 glFormat = GL_ALPHA; in PVRTGetOGLES3TextureFormat()
[all …]
/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 …d IMPLEMENTATION_COLOR_READ_FORMAT: " + de::toString(glu::getTextureFormatStr(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::getTextureFormatStr(glFormat) <<… in iterate()
[all …]
Des2fNegativeTextureApiTests.cpp2013 const deInt32 glFormat = accepted[i]; in init()
2017 const tcu::CompressedTexFormat format = glu::mapGLCompressedTexFormat(glFormat); in init()
2027 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2042 m_log << TestLog::Message << "Skipping unknown format: " << glFormat << TestLog::EndMessage; in init()
2063 const deInt32 glFormat = accepted[i]; in init()
2067 const tcu::CompressedTexFormat format = glu::mapGLCompressedTexFormat(glFormat); in init()
2077 …glCompressedTexImage2D(GL_TEXTURE_2D, 0, glFormat, blockPixelSize.x(), blockPixelSize.y(), 0, bloc… in init()
2093 m_log << TestLog::Message << "Skipping unknown format: " << glFormat << TestLog::EndMessage; in init()
2114 const deInt32 glFormat = accepted[i]; in init()
2118 const tcu::CompressedTexFormat format = glu::mapGLCompressedTexFormat(glFormat); in init()
[all …]
/external/deqp/modules/gles31/functional/
Des31fFboTestUtil.hpp133 tcu::RGBA getFormatThreshold (const deUint32 glFormat);
Des31fFboTestUtil.cpp612 tcu::RGBA getFormatThreshold (deUint32 glFormat) in getFormatThreshold() argument
614 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat); in getFormatThreshold()
Des31fCopyImageTests.cpp674 void genTexel (de::Random& rng, deUint32 glFormat, int texelBlockSize, const int texelCount, deUint… in genTexel() argument
676 if (isFloatFormat(glFormat)) in genTexel()
678 const tcu::TextureFormat format = glu::mapGLInternalFormat(glFormat); in genTexel()
694 else if (glu::isCompressedFormat(glFormat)) in genTexel()
696 const tcu::CompressedTexFormat compressedFormat = glu::mapGLCompressedTexFormat(glFormat); in genTexel()
793 const deUint32 glFormat = getFormatForInternalFormat(format); in genericTexImage() local
800 …lTarget, level, format, (glw::GLsizei)size.x(), (glw::GLsizei)size.y(), 0, glFormat, glType, data); in genericTexImage()
805 …(glw::GLsizei)size.x(), (glw::GLsizei)size.y(), (glw::GLsizei)size.z(), 0, glFormat, glType, data); in genericTexImage()
Des31fDrawBuffersIndexedTests.cpp410 const deUint32 glFormat = glu::getInternalFormat(format); in genRenderbuffers() local
416 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()