Searched refs:green_bits (Results 1 – 4 of 4) sorted by relevance
397 uint8_t green_bits = 0; in DecodeRGB() local403 green_bits++; in DecodeRGB()407 green_bits += blue_bits; in DecodeRGB()408 red_bits += green_bits; in DecodeRGB()409 if (blue_bits > 8 || green_bits < 8 || red_bits < 8) in DecodeRGB()412 green_bits -= 8; in DecodeRGB()419 static_cast<uint8_t>((*buf & mask_green_) >> green_bits); in DecodeRGB()
231 int green_bits; in driCreateConfigs() local293 green_bits = _mesa_get_format_bits(format, GL_GREEN_BITS); in driCreateConfigs()318 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()329 modes->greenBits = green_bits; in driCreateConfigs()
764 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local824 green_bits = util_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()833 green_bits = depth / 2; in XMesaCreateVisual()834 depth -= green_bits; in XMesaCreateVisual()837 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()850 vis->greenBits = green_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() local831 green_bits = util_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()840 green_bits = depth / 2; in XMesaCreateVisual()841 depth -= green_bits; in XMesaCreateVisual()844 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()851 red_bits, green_bits, in XMesaCreateVisual()