Searched refs:red_bits (Results 1 – 4 of 4) sorted by relevance
367 uint8_t red_bits = 0; in DecodeRGB() local374 red_bits++; in DecodeRGB()377 red_bits += green_bits; in DecodeRGB()378 if (blue_bits > 8 || green_bits < 8 || red_bits < 8) in DecodeRGB()382 red_bits -= 8; in DecodeRGB()390 static_cast<uint8_t>((*buf++ & mask_red) >> red_bits); in DecodeRGB()
188 int red_bits; in driCreateConfigs() local225 red_bits = _mesa_get_format_bits(format, GL_RED_BITS); in driCreateConfigs()250 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()259 modes->redBits = red_bits; in driCreateConfigs()
760 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local816 red_bits = _mesa_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()824 red_bits = depth / 3; in XMesaCreateVisual()825 depth -= red_bits; in XMesaCreateVisual()830 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()843 vis->redBits = red_bits; in XMesaCreateVisual()847 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
761 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local831 red_bits = _mesa_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()839 red_bits = depth / 3; in XMesaCreateVisual()840 depth -= red_bits; in XMesaCreateVisual()845 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()852 red_bits, green_bits, in XMesaCreateVisual()