Searched refs:red_bits (Results 1 – 4 of 4) sorted by relevance
398 uint8_t red_bits = 0; in DecodeRGB() local405 red_bits++; in DecodeRGB()408 red_bits += green_bits; in DecodeRGB()409 if (blue_bits > 8 || green_bits < 8 || red_bits < 8) in DecodeRGB()413 red_bits -= 8; in DecodeRGB()421 static_cast<uint8_t>((*buf++ & mask_red_) >> red_bits); in DecodeRGB()
230 int red_bits; in driCreateConfigs() local292 red_bits = _mesa_get_format_bits(format, GL_RED_BITS); in driCreateConfigs()318 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()328 modes->redBits = red_bits; in driCreateConfigs()
764 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local823 red_bits = util_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()831 red_bits = depth / 3; in XMesaCreateVisual()832 depth -= red_bits; in XMesaCreateVisual()837 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()849 vis->redBits = red_bits; in XMesaCreateVisual()853 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
760 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local830 red_bits = util_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()838 red_bits = depth / 3; in XMesaCreateVisual()839 depth -= red_bits; in XMesaCreateVisual()844 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()851 red_bits, green_bits, in XMesaCreateVisual()