Home
last modified time | relevance | path

Searched refs:green_bits (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c764 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local
822 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()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c202 int green_bits; in driCreateConfigs() local
265 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()