Home
last modified time | relevance | path

Searched refs:PACK_5R6G5B (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/x11/
Dxm_line.c220 GLushort pixel = PACK_5R6G5B( color[0], color[1], color[2] );
369 GLushort pixel = PACK_5R6G5B( color[0], color[1], color[2] );
DxmesaP.h292 #define PACK_5R6G5B( R, G, B) ( (((R) & 0xf8) << 8) | (((G) & 0xfc) << 3) | ((B) >> 3) ) macro
Dxm_tri.c272 pRow[i] = PACK_5R6G5B(FixedToInt(span.red), \
493 GLushort p = PACK_5R6G5B( v2->color[0], v2->color[1], v2->color[2] );
699 pRow[i] = (PIXEL_TYPE) PACK_5R6G5B(FixedToInt(span.red), \
866 unsigned long p = PACK_5R6G5B( v2->color[0], \
Dxm_api.c668 return PACK_5R6G5B( r, g, b ); in xmesa_color_to_pixel()
1585 return PACK_5R6G5B( r, g, b ); in XMesaDitherColor()