Searched refs:blue_bits (Results 1 – 4 of 4) sorted by relevance
396 uint8_t blue_bits = 0; in DecodeRGB() local401 blue_bits++; in DecodeRGB()407 green_bits += blue_bits; in DecodeRGB()409 if (blue_bits > 8 || green_bits < 8 || red_bits < 8) in DecodeRGB()411 blue_bits = 8 - blue_bits; in DecodeRGB()417 static_cast<uint8_t>((*buf & mask_blue_) << blue_bits); in DecodeRGB()
232 int blue_bits; in driCreateConfigs() local294 blue_bits = _mesa_get_format_bits(format, GL_BLUE_BITS); in driCreateConfigs()318 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()330 modes->blueBits = blue_bits; in driCreateConfigs()
764 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local825 blue_bits = util_bitcount(GET_BLUEMASK(v)); in XMesaCreateVisual()835 blue_bits = depth; in XMesaCreateVisual()837 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()851 vis->blueBits = blue_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() local832 blue_bits = util_bitcount(GET_BLUEMASK(v)); in XMesaCreateVisual()842 blue_bits = depth; in XMesaCreateVisual()844 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()852 blue_bits, alpha_bits, in XMesaCreateVisual()