• Home
  • Raw
  • Download

Lines Matching refs:RGBA

79 		case TextureFormat::RGBA:	format = isInt ? GL_RGBA_INTEGER	: GL_RGBA;	break;  in getTransferFormat()
150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1; in getInternalFormat()
151 case FMT_CASE(RGBA, UNORM_SHORT_4444): return GL_RGBA4; in getInternalFormat()
156 case FMT_CASE(RGBA, FLOAT): return GL_RGBA32F; in getInternalFormat()
157 case FMT_CASE(RGBA, SIGNED_INT32): return GL_RGBA32I; in getInternalFormat()
158 case FMT_CASE(RGBA, UNSIGNED_INT32): return GL_RGBA32UI; in getInternalFormat()
159 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16; in getInternalFormat()
160 case FMT_CASE(RGBA, SNORM_INT16): return GL_RGBA16_SNORM; in getInternalFormat()
161 case FMT_CASE(RGBA, HALF_FLOAT): return GL_RGBA16F; in getInternalFormat()
162 case FMT_CASE(RGBA, SIGNED_INT16): return GL_RGBA16I; in getInternalFormat()
163 case FMT_CASE(RGBA, UNSIGNED_INT16): return GL_RGBA16UI; in getInternalFormat()
164 case FMT_CASE(RGBA, UNORM_INT8): return GL_RGBA8; in getInternalFormat()
165 case FMT_CASE(RGBA, SIGNED_INT8): return GL_RGBA8I; in getInternalFormat()
166 case FMT_CASE(RGBA, UNSIGNED_INT8): return GL_RGBA8UI; in getInternalFormat()
168 case FMT_CASE(RGBA, UNORM_INT_1010102_REV): return GL_RGB10_A2; in getInternalFormat()
169 case FMT_CASE(RGBA, UNSIGNED_INT_1010102_REV): return GL_RGB10_A2UI; in getInternalFormat()
170 case FMT_CASE(RGBA, SNORM_INT8): return GL_RGBA8_SNORM; in getInternalFormat()
447 case GL_RGBA: return TextureFormat(TextureFormat::RGBA, mapGLChannelType(dataType, true)); in mapGLTransferFormat()
451 …case GL_RGBA_INTEGER: return TextureFormat(TextureFormat::RGBA, mapGLChannelType(dataType, false)… in mapGLTransferFormat()
479 case GL_RGB5_A1: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_5551); in mapGLInternalFormat()
480 case GL_RGBA4: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_4444); in mapGLInternalFormat()
485 case GL_RGBA32F: return TextureFormat(TextureFormat::RGBA, TextureFormat::FLOAT); in mapGLInternalFormat()
486 case GL_RGBA32I: return TextureFormat(TextureFormat::RGBA, TextureFormat::SIGNED_INT32); in mapGLInternalFormat()
487 case GL_RGBA32UI: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT32); in mapGLInternalFormat()
488 case GL_RGBA16: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT16); in mapGLInternalFormat()
489 case GL_RGBA16_SNORM: return TextureFormat(TextureFormat::RGBA, TextureFormat::SNORM_INT16); in mapGLInternalFormat()
490 case GL_RGBA16F: return TextureFormat(TextureFormat::RGBA, TextureFormat::HALF_FLOAT); in mapGLInternalFormat()
491 case GL_RGBA16I: return TextureFormat(TextureFormat::RGBA, TextureFormat::SIGNED_INT16); in mapGLInternalFormat()
492 case GL_RGBA16UI: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT16); in mapGLInternalFormat()
493 case GL_RGBA8: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
494 case GL_RGBA8I: return TextureFormat(TextureFormat::RGBA, TextureFormat::SIGNED_INT8); in mapGLInternalFormat()
495 case GL_RGBA8UI: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT8); in mapGLInternalFormat()
497 …case GL_RGB10_A2: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT_1010102_REV… in mapGLInternalFormat()
498 …case GL_RGB10_A2UI: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT_101010… in mapGLInternalFormat()
499 case GL_RGBA8_SNORM: return TextureFormat(TextureFormat::RGBA, TextureFormat::SNORM_INT8); in mapGLInternalFormat()