Home
last modified time | relevance | path

Searched refs:GrColorUnpackR (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/gpu/
DGrColor.h68 #define GrColorUnpackR(color) (((color) >> GrColor_SHIFT_R) & 0xFF) macro
88 unsigned r = GrColorUnpackR(c); in GrColorIsPMAssert()
101 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255; in GrColorToRGBAFloat()
120 unsigned r = GrColorUnpackR(color); in GrUnPreMulColor()
DGrInvariantOutput.h122 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()
/external/skia/src/gpu/
DGrBlend.cpp45 unsigned r = saturated_add(GrColorUnpackR(src), GrColorUnpackR(dst)); in add_colors()
DGrInvariantOutput.cpp28 return(GrColorUnpackR(fColor) == colorA && in colorComponentsAllEqual()
DGrAtlasTextContext.cpp1980 (*fDistanceAdjustTable)[GrColorUnpackR(colorNoPreMul) >> kDistanceAdjustLumShift]; in setupDfProcessor()
/external/skia/src/gpu/effects/
DGrConstColorProcessor.cpp49 GrColorUnpackR(color) * scale, in setData()
72 GrColor r = GrColorUnpackR(fColor); in onComputeInvariantOutput()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1555 r = GrColorUnpackR(color) * scaleRGB; in onClear()