Lines Matching refs:UNORM_INT8

100 		case TextureFormat::UNORM_INT8:						type = GL_UNSIGNED_BYTE;					break;  in getTransferFormat()
163 case FMT_CASE(RGBA, UNORM_INT8): return GL_RGBA8; in getInternalFormat()
166 case FMT_CASE(sRGBA, UNORM_INT8): return GL_SRGB8_ALPHA8; in getInternalFormat()
171 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8; in getInternalFormat()
184 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8; in getInternalFormat()
196 case FMT_CASE(RG, UNORM_INT8): return GL_RG8; in getInternalFormat()
200 case FMT_CASE(sRG, UNORM_INT8): return GL_SRG8_EXT; in getInternalFormat()
210 case FMT_CASE(R, UNORM_INT8): return GL_R8; in getInternalFormat()
214 case FMT_CASE(sR, UNORM_INT8): return GL_SR8_EXT; in getInternalFormat()
402 …case GL_UNSIGNED_BYTE: return normalized ? TextureFormat::UNORM_INT8 : TextureFormat::UNSIGNED… in mapGLChannelType()
487 case GL_RGBA8: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
490 case GL_SRGB8_ALPHA8: return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
495 case GL_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
508 case GL_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
520 case GL_RG8: return TextureFormat(TextureFormat::RG, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
524 case GL_SRG8_EXT: return TextureFormat(TextureFormat::sRG, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
534 case GL_R8: return TextureFormat(TextureFormat::R, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
538 case GL_SR8_EXT: return TextureFormat(TextureFormat::sR, TextureFormat::UNORM_INT8); in mapGLInternalFormat()