Lines Matching refs:masks
129 SkMasks* SkMasks::CreateMasks(InputMasks masks, uint32_t bitsPerPixel) { in CreateMasks() argument
132 masks.red &= (1 << bitsPerPixel) - 1; in CreateMasks()
133 masks.green &= (1 << bitsPerPixel) - 1; in CreateMasks()
134 masks.blue &= (1 << bitsPerPixel) - 1; in CreateMasks()
135 masks.alpha &= (1 << bitsPerPixel) - 1; in CreateMasks()
139 if (((masks.red & masks.green) | (masks.red & masks.blue) | in CreateMasks()
140 (masks.red & masks.alpha) | (masks.green & masks.blue) | in CreateMasks()
141 (masks.green & masks.alpha) | (masks.blue & masks.alpha)) != 0) { in CreateMasks()
146 const MaskInfo red = process_mask(masks.red, bitsPerPixel); in CreateMasks()
147 const MaskInfo green = process_mask(masks.green, bitsPerPixel); in CreateMasks()
148 const MaskInfo blue = process_mask(masks.blue, bitsPerPixel); in CreateMasks()
149 const MaskInfo alpha = process_mask(masks.alpha, bitsPerPixel); in CreateMasks()