Home
last modified time | relevance | path

Searched refs:red_bits (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c684 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local
740 red_bits = _mesa_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()
748 red_bits = depth / 3; in XMesaCreateVisual()
749 depth -= red_bits; in XMesaCreateVisual()
754 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()
767 vis->redBits = red_bits; in XMesaCreateVisual()
771 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c758 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local
828 red_bits = _mesa_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()
836 red_bits = depth / 3; in XMesaCreateVisual()
837 depth -= red_bits; in XMesaCreateVisual()
842 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()
849 red_bits, green_bits, in XMesaCreateVisual()
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwmesa.c1011 GLint red_bits, green_bits, blue_bits, alpha_bits; in WMesaCreateContext() local
1051 red_bits = green_bits = blue_bits = 5; in WMesaCreateContext()
1055 red_bits = green_bits = blue_bits = 8; in WMesaCreateContext()
1062 red_bits, green_bits, blue_bits, /* color RGB */ in WMesaCreateContext()