Searched refs:green_bits (Results 1 – 4 of 4) sorted by relevance
366 uint8_t green_bits = 0; in DecodeRGB() local372 green_bits++; in DecodeRGB()376 green_bits += blue_bits; in DecodeRGB()377 red_bits += green_bits; in DecodeRGB()378 if (blue_bits > 8 || green_bits < 8 || red_bits < 8) in DecodeRGB()381 green_bits -= 8; in DecodeRGB()388 static_cast<uint8_t>((*buf & mask_green) >> green_bits); in DecodeRGB()
189 int green_bits; in driCreateConfigs() local226 green_bits = _mesa_get_format_bits(format, GL_GREEN_BITS); in driCreateConfigs()250 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()260 modes->greenBits = green_bits; in driCreateConfigs()
768 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local825 green_bits = _mesa_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()834 green_bits = depth / 2; in XMesaCreateVisual()835 depth -= green_bits; in XMesaCreateVisual()838 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()852 vis->greenBits = green_bits; in XMesaCreateVisual()855 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
761 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local832 green_bits = _mesa_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()841 green_bits = depth / 2; in XMesaCreateVisual()842 depth -= green_bits; in XMesaCreateVisual()845 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()852 red_bits, green_bits, in XMesaCreateVisual()