Searched refs:srcBaseFormat (Results 1 – 2 of 2) sorted by relevance
41 _mesa_need_rgb_to_luminance_conversion(GLenum srcBaseFormat,45 _mesa_need_luminance_to_rgb_conversion(GLenum srcBaseFormat,
50 _mesa_need_rgb_to_luminance_conversion(GLenum srcBaseFormat, in _mesa_need_rgb_to_luminance_conversion() argument53 return (srcBaseFormat == GL_RG || in _mesa_need_rgb_to_luminance_conversion()54 srcBaseFormat == GL_RGB || in _mesa_need_rgb_to_luminance_conversion()55 srcBaseFormat == GL_RGBA) && in _mesa_need_rgb_to_luminance_conversion()64 _mesa_need_luminance_to_rgb_conversion(GLenum srcBaseFormat, in _mesa_need_luminance_to_rgb_conversion() argument67 return (srcBaseFormat == GL_LUMINANCE || in _mesa_need_luminance_to_rgb_conversion()68 srcBaseFormat == GL_LUMINANCE_ALPHA || in _mesa_need_luminance_to_rgb_conversion()69 srcBaseFormat == GL_INTENSITY) && in _mesa_need_luminance_to_rgb_conversion()89 GLenum srcBaseFormat = _mesa_get_format_base_format(texFormat); in _mesa_get_readpixels_transfer_ops() local127 !_mesa_need_rgb_to_luminance_conversion(srcBaseFormat, dstBaseFormat)) { in _mesa_get_readpixels_transfer_ops()