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] );
Dxm_tri.c271 pRow[i] = PACK_5R6G5B(FixedToInt(span.red), \
492 GLushort p = PACK_5R6G5B( v2->color[0], v2->color[1], v2->color[2] );
698 pRow[i] = (PIXEL_TYPE) PACK_5R6G5B(FixedToInt(span.red), \
865 unsigned long p = PACK_5R6G5B( v2->color[0], \
DxmesaP.h292 #define PACK_5R6G5B( R, G, B) ( (((R) & 0xf8) << 8) | (((G) & 0xfc) << 3) | ((B) >> 3) ) macro
Dxm_api.c666 return PACK_5R6G5B( r, g, b ); in xmesa_color_to_pixel()
1588 return PACK_5R6G5B( r, g, b ); in XMesaDitherColor()