Searched refs:GrColorUnpackB (Results 1 – 10 of 10) sorted by relevance
70 #define GrColorUnpackB(color) (((color) >> GrColor_SHIFT_B) & 0xFF) macro90 unsigned b = GrColorUnpackB(c); in GrColorIsPMAssert()103 U8CPU b = GrColorUnpackB(c); in GrInvertColor()110 U8CPU b = SkMulDiv255Round(GrColorUnpackB(c0), GrColorUnpackB(c1)); in GrColorMul()118 unsigned b = SkTMin<unsigned>(GrColorUnpackB(c0) + GrColorUnpackB(c1), 0xff); in GrColorSatAdd()128 rgba[2] = GrColorUnpackB(color) * ONE_OVER_255; in GrColorToRGBAFloat()146 unsigned b = GrColorUnpackB(color); in GrPremulColor()159 unsigned b = GrColorUnpackB(color); in GrUnpremulColor()
18 return SkPackARGB32(GrColorUnpackA(c), GrColorUnpackR(c), GrColorUnpackG(c), GrColorUnpackB(c)); in GrColorToSkPMColor()59 SkAbs32(GrColorUnpackB(baselineColor) - GrColorUnpackB(outColor)) > 1) { in DEF_TEST()
57 testComp = GrColorUnpackB(test); in check_4444()82 uint8_t testComp = GrColorUnpackB(test); in check_565()
61 expectedBytes0[2] = GrColorUnpackB(color0); in test_clear()76 expectedBytes1[2] = GrColorUnpackB(color1); in test_clear()
384 GrColorUnpackB(output) <= GrColorUnpackB(input); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()389 GrColorUnpackB(output) <= GrColorUnpackA(input); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
31 matchColor = GrColorPackRGBA(GrColorUnpackB(clearColor), in does_full_buffer_contain_correct_color()
68 if ((kB_GrColorComponentFlag & fFlags) && value == GrColorUnpackB(fColor)) { in componentsWithValue()
183 uint32_t v = GrColorUnpackB(tempYUV.get()[j * yuvSize.fWidth + i]); in GrTextureToYUVPlanes()
249 GrColorUnpackB(colorNoPreMul) >> kDistanceAdjustLumShift, in setupDfProcessor()
2094 b = GrColorUnpackB(color) * scaleRGB; in clear()3909 channels[2] = GrColorUnpackB(color) * scale255; in drawDebugWireRect()