Home
last modified time | relevance | path

Searched refs:red_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
821 red_bits = util_bitcount(GET_REDMASK(v)); in XMesaCreateVisual()
829 red_bits = depth / 3; in XMesaCreateVisual()
830 depth -= red_bits; in XMesaCreateVisual()
835 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()
847 vis->redBits = red_bits; in XMesaCreateVisual()
851 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c201 int red_bits; in driCreateConfigs() local
264 red_bits = _mesa_get_format_bits(format, GL_RED_BITS); in driCreateConfigs()
290 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()
300 modes->redBits = red_bits; in driCreateConfigs()