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,
51 _mesa_need_rgb_to_luminance_conversion(GLenum srcBaseFormat, in _mesa_need_rgb_to_luminance_conversion() argument54 return (srcBaseFormat == GL_RG || in _mesa_need_rgb_to_luminance_conversion()55 srcBaseFormat == GL_RGB || in _mesa_need_rgb_to_luminance_conversion()56 srcBaseFormat == GL_RGBA) && in _mesa_need_rgb_to_luminance_conversion()65 _mesa_need_luminance_to_rgb_conversion(GLenum srcBaseFormat, in _mesa_need_luminance_to_rgb_conversion() argument68 return (srcBaseFormat == GL_LUMINANCE || in _mesa_need_luminance_to_rgb_conversion()69 srcBaseFormat == GL_LUMINANCE_ALPHA || in _mesa_need_luminance_to_rgb_conversion()70 srcBaseFormat == GL_INTENSITY) && in _mesa_need_luminance_to_rgb_conversion()90 GLenum srcBaseFormat = _mesa_get_format_base_format(texFormat); in _mesa_get_readpixels_transfer_ops() local137 !_mesa_need_rgb_to_luminance_conversion(srcBaseFormat, dstBaseFormat)) { in _mesa_get_readpixels_transfer_ops()