Searched refs:red_bits (Results 1 – 2 of 2) sorted by relevance
764 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local821 red_bits = util_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()829 red_bits = depth / 3; in XMesaCreateVisual()830 depth -= red_bits; in XMesaCreateVisual()835 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()847 vis->redBits = red_bits; in XMesaCreateVisual()851 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
201 int red_bits; in driCreateConfigs() local264 red_bits = _mesa_get_format_bits(format, GL_RED_BITS); in driCreateConfigs()290 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()300 modes->redBits = red_bits; in driCreateConfigs()