Searched refs:green_bits (Results 1 – 2 of 2) sorted by relevance
764 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local822 green_bits = util_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()831 green_bits = depth / 2; in XMesaCreateVisual()832 depth -= green_bits; in XMesaCreateVisual()835 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()848 vis->greenBits = green_bits; in XMesaCreateVisual()851 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
202 int green_bits; in driCreateConfigs() local265 green_bits = _mesa_get_format_bits(format, GL_GREEN_BITS); in driCreateConfigs()290 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()301 modes->greenBits = green_bits; in driCreateConfigs()