Searched refs:GrColorUnpackR (Results 1 – 10 of 10) sorted by relevance
68 #define GrColorUnpackR(color) (((color) >> GrColor_SHIFT_R) & 0xFF) macro88 unsigned r = GrColorUnpackR(c); in GrColorIsPMAssert()101 U8CPU r = GrColorUnpackR(c); in GrInvertColor()108 U8CPU r = SkMulDiv255Round(GrColorUnpackR(c0), GrColorUnpackR(c1)); in GrColorMul()116 unsigned r = SkTMin<unsigned>(GrColorUnpackR(c0) + GrColorUnpackR(c1), 0xff); in GrColorSatAdd()126 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255; in GrColorToRGBAFloat()144 unsigned r = GrColorUnpackR(color); in GrPremulColor()157 unsigned r = GrColorUnpackR(color); in GrUnpremulColor()
18 return SkPackARGB32(GrColorUnpackA(c), GrColorUnpackR(c), GrColorUnpackG(c), GrColorUnpackB(c)); in GrColorToSkPMColor()57 SkAbs32(GrColorUnpackR(baselineColor) - GrColorUnpackR(outColor)) > 1 || in DEF_TEST()
67 testComp = GrColorUnpackR(test); in check_4444()92 testComp = GrColorUnpackR(test); in check_565()
59 expectedBytes0[0] = GrColorUnpackR(color0); in test_clear()74 expectedBytes1[0] = GrColorUnpackR(color1); in test_clear()
382 GrColorUnpackR(output) <= GrColorUnpackR(input) && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()387 GrColorUnpackR(output) <= GrColorUnpackA(input) && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
33 GrColorUnpackR(clearColor), in does_full_buffer_contain_correct_color()
181 uint32_t y = GrColorUnpackR(tempYUV.get()[j * yuvSize.fWidth + i]); in GrTextureToYUVPlanes()222 uint32_t u = GrColorUnpackR(tempUV.get()[j * uvSize.fWidth + i]); in GrTextureToYUVPlanes()
62 if ((kR_GrColorComponentFlag & fFlags) && value == GrColorUnpackR(fColor)) { in componentsWithValue()
243 GrColorUnpackR(colorNoPreMul) >> kDistanceAdjustLumShift, in setupDfProcessor()
2092 r = GrColorUnpackR(color) * scaleRGB; in clear()3907 channels[0] = GrColorUnpackR(color) * scale255; in drawDebugWireRect()