Lines Matching refs:UNORM_INT8
101 case TextureFormat::UNORM_INT8: type = GL_UNSIGNED_BYTE; break; in getTransferFormat()
164 case FMT_CASE(RGBA, UNORM_INT8): return GL_RGBA8; in getInternalFormat()
167 case FMT_CASE(sRGBA, UNORM_INT8): return GL_SRGB8_ALPHA8; in getInternalFormat()
172 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8; in getInternalFormat()
185 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8; in getInternalFormat()
197 case FMT_CASE(RG, UNORM_INT8): return GL_RG8; in getInternalFormat()
201 case FMT_CASE(sRG, UNORM_INT8): return GL_SRG8_EXT; in getInternalFormat()
211 case FMT_CASE(R, UNORM_INT8): return GL_R8; in getInternalFormat()
215 case FMT_CASE(sR, UNORM_INT8): return GL_SR8_EXT; in getInternalFormat()
403 …case GL_UNSIGNED_BYTE: return normalized ? TextureFormat::UNORM_INT8 : TextureFormat::UNSIGNED… in mapGLChannelType()
493 case GL_RGBA8: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
496 case GL_SRGB8_ALPHA8: return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
501 case GL_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
514 case GL_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
526 case GL_RG8: return TextureFormat(TextureFormat::RG, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
530 case GL_SRG8_EXT: return TextureFormat(TextureFormat::sRG, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
540 case GL_R8: return TextureFormat(TextureFormat::R, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
544 case GL_SR8_EXT: return TextureFormat(TextureFormat::sR, TextureFormat::UNORM_INT8); in mapGLInternalFormat()