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