Lines Matching defs:srcColor

259 static void emit_advanced_xfermode_code(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
262 SkASSERT(srcColor);
267 outputColor, srcColor, srcColor, dstColor);
272 hard_light(fsBuilder, outputColor, dstColor, srcColor);
278 srcColor, dstColor, srcColor,
279 dstColor, srcColor, dstColor);
285 srcColor, dstColor, srcColor,
286 dstColor, srcColor, dstColor);
289 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r');
290 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'g');
291 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'b');
294 color_burn_component(fsBuilder, outputColor, srcColor, dstColor, 'r');
295 color_burn_component(fsBuilder, outputColor, srcColor, dstColor, 'g');
296 color_burn_component(fsBuilder, outputColor, srcColor, dstColor, 'b');
299 hard_light(fsBuilder, outputColor, srcColor, dstColor);
303 fsBuilder->codeAppendf("%s.rgba = %s;", outputColor, srcColor);
305 soft_light_component_pos_dst_alpha(fsBuilder, outputColor, srcColor, dstColor, 'r');
306 soft_light_component_pos_dst_alpha(fsBuilder, outputColor, srcColor, dstColor, 'g');
307 soft_light_component_pos_dst_alpha(fsBuilder, outputColor, srcColor, dstColor, 'b');
313 outputColor, srcColor, dstColor, srcColor, dstColor,
314 dstColor, srcColor);
319 outputColor, dstColor, srcColor, dstColor, srcColor);
325 outputColor, srcColor, dstColor, dstColor, srcColor,
326 srcColor, dstColor);
334 dstColor, srcColor);
337 outputColor, setLum.c_str(), setSat.c_str(), srcColor,
340 outputColor, srcColor, dstColor, dstColor, srcColor);
349 dstColor, srcColor);
352 outputColor, setLum.c_str(), setSat.c_str(), srcColor,
355 outputColor, srcColor, dstColor, dstColor, srcColor);
363 srcColor, dstColor);
365 outputColor, setLum.c_str(), dstColor, srcColor);
367 outputColor, srcColor, dstColor, dstColor, srcColor);
375 srcColor, dstColor);
377 outputColor, setLum.c_str(), dstColor, srcColor);
379 outputColor, srcColor, dstColor, dstColor, srcColor);
438 void GrGLSLBlend::AppendMode(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
452 bool didAppend = append_porterduff_term(fsBuilder, srcCoeff, srcColor, srcColor, dstColor,
455 if(!append_porterduff_term(fsBuilder, dstCoeff, dstColor, srcColor, dstColor, didAppend)) {
463 emit_advanced_xfermode_code(fsBuilder, srcColor, dstColor, outColor, mode);
467 void GrGLSLBlend::AppendRegionOp(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
504 bool didAppend = append_porterduff_term(fsBuilder, srcCoeff, srcColor, srcColor, dstColor,
507 if(!append_porterduff_term(fsBuilder, dstCoeff, dstColor, srcColor, dstColor, didAppend)) {