Home
last modified time | relevance | path

Searched refs:srcBaseFormat (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dreadpix.h41 _mesa_need_rgb_to_luminance_conversion(GLenum srcBaseFormat,
45 _mesa_need_luminance_to_rgb_conversion(GLenum srcBaseFormat,
Dreadpix.c51 _mesa_need_rgb_to_luminance_conversion(GLenum srcBaseFormat, in _mesa_need_rgb_to_luminance_conversion() argument
54 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() argument
68 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() local
137 !_mesa_need_rgb_to_luminance_conversion(srcBaseFormat, dstBaseFormat)) { in _mesa_get_readpixels_transfer_ops()