Lines Matching refs:c0
181 static void Build16bitCache(uint16_t[], SkColor c0, SkColor c1, int count);
182 static void Build32bitCache(SkPMColor[], SkColor c0, SkColor c1, int count,
467 void Gradient_Shader::Build16bitCache(uint16_t cache[], SkColor c0, SkColor c1,
470 SkASSERT(SkColorGetA(c0) == 0xFF);
473 SkFixed r = SkColorGetR(c0);
474 SkFixed g = SkColorGetG(c0);
475 SkFixed b = SkColorGetB(c0);
516 void Gradient_Shader::Build32bitCache(SkPMColor cache[], SkColor c0, SkColor c1,
521 SkFixed a = SkMulDiv255Round(SkColorGetA(c0), paintAlpha);
528 SkFixed r = SkColorGetR(c0);
529 SkFixed g = SkColorGetG(c0);
530 SkFixed b = SkColorGetB(c0);