Searched refs:GrColorUnpackR (Results 1 – 7 of 7) sorted by relevance
68 #define GrColorUnpackR(color) (((color) >> GrColor_SHIFT_R) & 0xFF) macro88 unsigned r = GrColorUnpackR(c); in GrColorIsPMAssert()101 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255; in GrColorToRGBAFloat()120 unsigned r = GrColorUnpackR(color); in GrUnPreMulColor()
122 fColor = GrColorPackRGBA(SkMulDiv255Round(GrColorUnpackR(fColor), alpha), in mulByKnownSingleComponent()140 SkMulDiv255Round(GrColorUnpackR(fColor), GrColorUnpackR(color)), in mulByKnownFourComponents()166 SkMulDiv255Round(preAlpha, GrColorUnpackR(color)), in mulAlphaByKnownFourComponents()264 return *alpha == GrColorUnpackR(color) && *alpha == GrColorUnpackG(color) && in GetAlphaAndCheckSingleChannel()
45 unsigned r = saturated_add(GrColorUnpackR(src), GrColorUnpackR(dst)); in add_colors()
28 return(GrColorUnpackR(fColor) == colorA && in colorComponentsAllEqual()
1980 (*fDistanceAdjustTable)[GrColorUnpackR(colorNoPreMul) >> kDistanceAdjustLumShift]; in setupDfProcessor()
49 GrColorUnpackR(color) * scale, in setData()72 GrColor r = GrColorUnpackR(fColor); in onComputeInvariantOutput()
1555 r = GrColorUnpackR(color) * scaleRGB; in onClear()