Lines Matching full:direct
399 r = color->red >> (16 - Ones(format->direct.redMask)); in miRenderColorToPixel()
400 g = color->green >> (16 - Ones(format->direct.greenMask)); in miRenderColorToPixel()
401 b = color->blue >> (16 - Ones(format->direct.blueMask)); in miRenderColorToPixel()
402 a = color->alpha >> (16 - Ones(format->direct.alphaMask)); in miRenderColorToPixel()
403 r = r << format->direct.red; in miRenderColorToPixel()
404 g = g << format->direct.green; in miRenderColorToPixel()
405 b = b << format->direct.blue; in miRenderColorToPixel()
406 a = a << format->direct.alpha; in miRenderColorToPixel()
479 r = (pixel >> format->direct.red) & format->direct.redMask; in miRenderPixelToColor()
480 g = (pixel >> format->direct.green) & format->direct.greenMask; in miRenderPixelToColor()
481 b = (pixel >> format->direct.blue) & format->direct.blueMask; in miRenderPixelToColor()
482 a = (pixel >> format->direct.alpha) & format->direct.alphaMask; in miRenderPixelToColor()
483 color->red = miFillColor(r, Ones(format->direct.redMask)); in miRenderPixelToColor()
484 color->green = miFillColor(g, Ones(format->direct.greenMask)); in miRenderPixelToColor()
485 color->blue = miFillColor(b, Ones(format->direct.blueMask)); in miRenderPixelToColor()
486 color->alpha = miFillColor(a, Ones(format->direct.alphaMask)); in miRenderPixelToColor()