• Home
  • Raw
  • Download

Lines Matching refs:codeAppendf

86         fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn());  in onEmitCode()
95 fragBuilder->codeAppendf("distance -= %s;", distanceAdjustUniName); in onEmitCode()
106 fragBuilder->codeAppendf("afwidth = abs(" SK_DistanceFieldAAFactor "*dFdx(%s.x));", in onEmitCode()
110 fragBuilder->codeAppendf("afwidth = abs(" SK_DistanceFieldAAFactor "*dFdy(%s.y));", in onEmitCode()
121 fragBuilder->codeAppendf("half st_grad_len = length(dFdx(%s));", st.fsIn()); in onEmitCode()
124 fragBuilder->codeAppendf("half st_grad_len = length(dFdy(%s));", st.fsIn()); in onEmitCode()
141 fragBuilder->codeAppendf("half2 Jdx = dFdx(%s);", st.fsIn()); in onEmitCode()
142 fragBuilder->codeAppendf("half2 Jdy = dFdy(%s);", st.fsIn()); in onEmitCode()
162 fragBuilder->codeAppendf("%s = half4(val);", args.fOutputCoverage); in onEmitCode()
386 fragBuilder->codeAppendf("float2 uv = %s;", uv.fsIn()); in onEmitCode()
407 fragBuilder->codeAppendf("afwidth = abs(" SK_DistanceFieldAAFactor "*dFdx(%s.x));", in onEmitCode()
411 fragBuilder->codeAppendf("afwidth = abs(" SK_DistanceFieldAAFactor "*dFdy(%s.y));", in onEmitCode()
421 fragBuilder->codeAppendf("half st_grad_len = length(dFdx(%s));", st.fsIn()); in onEmitCode()
424 fragBuilder->codeAppendf("half st_grad_len = length(dFdy(%s));", st.fsIn()); in onEmitCode()
441 fragBuilder->codeAppendf("half2 Jdx = dFdx(%s);", st.fsIn()); in onEmitCode()
442 fragBuilder->codeAppendf("half2 Jdy = dFdy(%s);", st.fsIn()); in onEmitCode()
459 fragBuilder->codeAppendf("%s = half4(val);", args.fOutputCoverage); in onEmitCode()
662 vertBuilder->codeAppendf("%s = -%s.x/3.0;", delta.vsOut(), atlasSizeInvName); in onEmitCode()
664 vertBuilder->codeAppendf("%s = %s.x/3.0;", delta.vsOut(), atlasSizeInvName); in onEmitCode()
676 fragBuilder->codeAppendf("float2 uv = %s;\n", uv.fsIn()); in onEmitCode()
680 fragBuilder->codeAppendf("half st_grad_len = abs(dFdx(%s.x));", st.fsIn()); in onEmitCode()
683 fragBuilder->codeAppendf("half st_grad_len = abs(dFdy(%s.y));", st.fsIn()); in onEmitCode()
685 fragBuilder->codeAppendf("half2 offset = half2(st_grad_len*%s, 0.0);", delta.fsIn()); in onEmitCode()
690 fragBuilder->codeAppendf("half2 st_grad = dFdx(%s);", st.fsIn()); in onEmitCode()
691 fragBuilder->codeAppendf("half2 offset = %s*st_grad;", delta.fsIn()); in onEmitCode()
695 fragBuilder->codeAppendf("half2 st_grad = dFdy(%s);", st.fsIn()); in onEmitCode()
696 fragBuilder->codeAppendf("half2 offset = %s*half2(st_grad.y, -st_grad.x);", in onEmitCode()
701 fragBuilder->codeAppendf("half2 st = %s;\n", st.fsIn()); in onEmitCode()
705 fragBuilder->codeAppendf("half2 offset = %s*Jdx;", delta.fsIn()); in onEmitCode()
734 fragBuilder->codeAppendf("distance -= %s;", distanceAdjustUniName); in onEmitCode()
773 fragBuilder->codeAppendf("%s = " in onEmitCode()
777 fragBuilder->codeAppendf( in onEmitCode()