Lines Matching refs:UNORM_INT16
102 case TextureFormat::UNORM_INT16: type = GL_UNSIGNED_SHORT; break; in getTransferFormat()
153 case FMT_CASE(D, UNORM_INT16): return GL_DEPTH_COMPONENT16; in getInternalFormat()
159 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16; in getInternalFormat()
177 case FMT_CASE(RGB, UNORM_INT16): return GL_RGB16; in getInternalFormat()
192 case FMT_CASE(RG, UNORM_INT16): return GL_RG16; in getInternalFormat()
206 case FMT_CASE(R, UNORM_INT16): return GL_R16; in getInternalFormat()
405 …case GL_UNSIGNED_SHORT: return normalized ? TextureFormat::UNORM_INT16 : TextureFormat::UNSIGN… in mapGLChannelType()
482 case GL_DEPTH_COMPONENT16: return TextureFormat(TextureFormat::D, TextureFormat::UNORM_INT16); in mapGLInternalFormat()
488 case GL_RGBA16: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT16); in mapGLInternalFormat()
506 case GL_RGB16: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT16); in mapGLInternalFormat()
521 case GL_RG16: return TextureFormat(TextureFormat::RG, TextureFormat::UNORM_INT16); in mapGLInternalFormat()
535 case GL_R16: return TextureFormat(TextureFormat::R, TextureFormat::UNORM_INT16); in mapGLInternalFormat()