Lines Matching refs:dstBaseFormat
51 GLenum dstBaseFormat) in _mesa_need_rgb_to_luminance_conversion() argument
56 (dstBaseFormat == GL_LUMINANCE || in _mesa_need_rgb_to_luminance_conversion()
57 dstBaseFormat == GL_LUMINANCE_ALPHA); in _mesa_need_rgb_to_luminance_conversion()
65 GLenum dstBaseFormat) in _mesa_need_luminance_to_rgb_conversion() argument
70 (dstBaseFormat == GL_GREEN || in _mesa_need_luminance_to_rgb_conversion()
71 dstBaseFormat == GL_BLUE || in _mesa_need_luminance_to_rgb_conversion()
72 dstBaseFormat == GL_RG || in _mesa_need_luminance_to_rgb_conversion()
73 dstBaseFormat == GL_RGB || in _mesa_need_luminance_to_rgb_conversion()
74 dstBaseFormat == GL_BGR || in _mesa_need_luminance_to_rgb_conversion()
75 dstBaseFormat == GL_RGBA || in _mesa_need_luminance_to_rgb_conversion()
76 dstBaseFormat == GL_BGRA); in _mesa_need_luminance_to_rgb_conversion()
90 GLenum dstBaseFormat = _mesa_unpack_format_to_base_format(format); in _mesa_get_readpixels_transfer_ops() local
127 !_mesa_need_rgb_to_luminance_conversion(srcBaseFormat, dstBaseFormat)) { in _mesa_get_readpixels_transfer_ops()
150 GLenum dstBaseFormat = _mesa_unpack_format_to_base_format(format); in _mesa_readpixels_needs_slow_path() local
172 dstBaseFormat)) { in _mesa_readpixels_needs_slow_path()
445 GLenum dstBaseFormat = _mesa_unpack_format_to_base_format(format); in read_rgba_pixels() local
457 _mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, dstBaseFormat); in read_rgba_pixels()