Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dreadpix.h41 _mesa_need_rgb_to_luminance_conversion(GLenum srcBaseFormat,
45 _mesa_need_luminance_to_rgb_conversion(GLenum srcBaseFormat,
Dreadpix.c50 _mesa_need_rgb_to_luminance_conversion(GLenum srcBaseFormat, in _mesa_need_rgb_to_luminance_conversion() argument
53 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() argument
67 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() local
127 !_mesa_need_rgb_to_luminance_conversion(srcBaseFormat, dstBaseFormat)) { in _mesa_get_readpixels_transfer_ops()