Home
last modified time | relevance | path

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

/external/skia/include/gpu/
DGrColor.h69 #define GrColorUnpackG(color) (((color) >> GrColor_SHIFT_G) & 0xFF) macro
89 unsigned g = GrColorUnpackG(c); in GrColorIsPMAssert()
102 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255; in GrColorToRGBAFloat()
121 unsigned g = GrColorUnpackG(color); in GrUnPreMulColor()
DGrInvariantOutput.h123 SkMulDiv255Round(GrColorUnpackG(fColor), alpha), in mulByKnownSingleComponent()
141 SkMulDiv255Round(GrColorUnpackG(fColor), GrColorUnpackG(color)), in mulByKnownFourComponents()
167 SkMulDiv255Round(preAlpha, GrColorUnpackG(color)), in mulAlphaByKnownFourComponents()
264 return *alpha == GrColorUnpackR(color) && *alpha == GrColorUnpackG(color) && in GetAlphaAndCheckSingleChannel()
/external/skia/src/gpu/
DGrBlend.cpp46 unsigned g = saturated_add(GrColorUnpackG(src), GrColorUnpackG(dst)); in add_colors()
DGrInvariantOutput.cpp29 GrColorUnpackG(fColor) == colorA && in colorComponentsAllEqual()
DGrAtlasTextContext.cpp1982 (*fDistanceAdjustTable)[GrColorUnpackG(colorNoPreMul) >> kDistanceAdjustLumShift]; in setupDfProcessor()
/external/skia/src/gpu/effects/
DGrConstColorProcessor.cpp50 GrColorUnpackG(color) * scale, in setData()
73 bool colorIsSingleChannel = r == GrColorUnpackG(fColor) && r == GrColorUnpackB(fColor) && in onComputeInvariantOutput()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1556 g = GrColorUnpackG(color) * scaleRGB; in onClear()