Lines Matching refs:RGB

78 		case TextureFormat::RGB:	format = isInt ? GL_RGB_INTEGER		: GL_RGB;	break;  in getTransferFormat()
152 case FMT_CASE(RGB, UNORM_SHORT_565): return GL_RGB565; in getInternalFormat()
172 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8; in getInternalFormat()
173 case FMT_CASE(RGB, UNSIGNED_INT_11F_11F_10F_REV): return GL_R11F_G11F_B10F; in getInternalFormat()
174 case FMT_CASE(RGB, FLOAT): return GL_RGB32F; in getInternalFormat()
175 case FMT_CASE(RGB, SIGNED_INT32): return GL_RGB32I; in getInternalFormat()
176 case FMT_CASE(RGB, UNSIGNED_INT32): return GL_RGB32UI; in getInternalFormat()
177 case FMT_CASE(RGB, UNORM_INT16): return GL_RGB16; in getInternalFormat()
178 case FMT_CASE(RGB, SNORM_INT16): return GL_RGB16_SNORM; in getInternalFormat()
179 case FMT_CASE(RGB, HALF_FLOAT): return GL_RGB16F; in getInternalFormat()
180 case FMT_CASE(RGB, SIGNED_INT16): return GL_RGB16I; in getInternalFormat()
181 case FMT_CASE(RGB, UNSIGNED_INT16): return GL_RGB16UI; in getInternalFormat()
182 case FMT_CASE(RGB, SNORM_INT8): return GL_RGB8_SNORM; in getInternalFormat()
183 case FMT_CASE(RGB, SIGNED_INT8): return GL_RGB8I; in getInternalFormat()
184 case FMT_CASE(RGB, UNSIGNED_INT8): return GL_RGB8UI; in getInternalFormat()
186 case FMT_CASE(RGB, UNSIGNED_INT_999_E5_REV): return GL_RGB9_E5; in getInternalFormat()
187 case FMT_CASE(RGB, UNORM_INT_1010102_REV): return GL_RGB10; in getInternalFormat()
443 case GL_RGB: return TextureFormat(TextureFormat::RGB, mapGLChannelType(dataType, true)); in mapGLTransferFormat()
449 case GL_RGB_INTEGER: return TextureFormat(TextureFormat::RGB, mapGLChannelType(dataType, false)); in mapGLTransferFormat()
476 case GL_RGB565: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_SHORT_565); in mapGLInternalFormat()
496 case GL_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
497 …case GL_R11F_G11F_B10F: return TextureFormat(TextureFormat::RGB, TextureFormat::UNSIGNED_INT_11F_… in mapGLInternalFormat()
498 case GL_RGB32F: return TextureFormat(TextureFormat::RGB, TextureFormat::FLOAT); in mapGLInternalFormat()
499 case GL_RGB32I: return TextureFormat(TextureFormat::RGB, TextureFormat::SIGNED_INT32); in mapGLInternalFormat()
500 case GL_RGB32UI: return TextureFormat(TextureFormat::RGB, TextureFormat::UNSIGNED_INT32); in mapGLInternalFormat()
501 case GL_RGB16: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT16); in mapGLInternalFormat()
502 case GL_RGB16_SNORM: return TextureFormat(TextureFormat::RGB, TextureFormat::SNORM_INT16); in mapGLInternalFormat()
503 case GL_RGB16F: return TextureFormat(TextureFormat::RGB, TextureFormat::HALF_FLOAT); in mapGLInternalFormat()
504 case GL_RGB16I: return TextureFormat(TextureFormat::RGB, TextureFormat::SIGNED_INT16); in mapGLInternalFormat()
505 case GL_RGB16UI: return TextureFormat(TextureFormat::RGB, TextureFormat::UNSIGNED_INT16); in mapGLInternalFormat()
506 case GL_RGB8_SNORM: return TextureFormat(TextureFormat::RGB, TextureFormat::SNORM_INT8); in mapGLInternalFormat()
507 case GL_RGB8I: return TextureFormat(TextureFormat::RGB, TextureFormat::SIGNED_INT8); in mapGLInternalFormat()
508 case GL_RGB8UI: return TextureFormat(TextureFormat::RGB, TextureFormat::UNSIGNED_INT8); in mapGLInternalFormat()
510 …case GL_RGB9_E5: return TextureFormat(TextureFormat::RGB, TextureFormat::UNSIGNED_INT_999_E5_REV… in mapGLInternalFormat()
511 case GL_RGB10: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT_1010102_REV); in mapGLInternalFormat()