Searched refs:mapGLChannelType (Results 1 – 1 of 1) sorted by relevance
/external/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 396 static tcu::TextureFormat::ChannelType mapGLChannelType (deUint32 dataType, bool normalized) in mapGLChannelType() function 440 case GL_ALPHA: return TextureFormat(TextureFormat::A, mapGLChannelType(dataType, true)); in mapGLTransferFormat() 441 case GL_LUMINANCE: return TextureFormat(TextureFormat::L, mapGLChannelType(dataType, true)); in mapGLTransferFormat() 442 …case GL_LUMINANCE_ALPHA: return TextureFormat(TextureFormat::LA, mapGLChannelType(dataType, true)… in mapGLTransferFormat() 443 case GL_RGB: return TextureFormat(TextureFormat::RGB, mapGLChannelType(dataType, true)); in mapGLTransferFormat() 444 case GL_RGBA: return TextureFormat(TextureFormat::RGBA, mapGLChannelType(dataType, true)); in mapGLTransferFormat() 445 case GL_BGRA: return TextureFormat(TextureFormat::BGRA, mapGLChannelType(dataType, true)); in mapGLTransferFormat() 446 case GL_RG: return TextureFormat(TextureFormat::RG, mapGLChannelType(dataType, true)); in mapGLTransferFormat() 447 case GL_RED: return TextureFormat(TextureFormat::R, mapGLChannelType(dataType, true)); in mapGLTransferFormat() 448 …case GL_RGBA_INTEGER: return TextureFormat(TextureFormat::RGBA, mapGLChannelType(dataType, false)… in mapGLTransferFormat() [all …]
|