Searched refs:offsets0 (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrOvalOpFactory.cpp | 747 GrGLSLVarying offsets0(offsetType); in onEmitCode() local 748 varyingHandler->addVarying("EllipseOffsets0", &offsets0); in onEmitCode() 749 vertBuilder->codeAppendf("%s = %s;", offsets0.vsOut(), diegp.fInEllipseOffsets0.name()); in onEmitCode() 774 fragBuilder->codeAppendf("float2 scaledOffset = %s.xy;", offsets0.fsIn()); in onEmitCode() 776 fragBuilder->codeAppendf("float2 duvdx = dFdx(%s.xy);", offsets0.fsIn()); in onEmitCode() 777 fragBuilder->codeAppendf("float2 duvdy = dFdy(%s.xy);", offsets0.fsIn()); in onEmitCode() 781 offsets0.fsIn(), offsets0.fsIn(), offsets0.fsIn(), offsets0.fsIn()); in onEmitCode() 783 fragBuilder->codeAppendf("grad *= %s.z;", offsets0.fsIn()); in onEmitCode() 795 fragBuilder->codeAppendf("invlen *= %s.z;", offsets0.fsIn()); in onEmitCode() 816 fragBuilder->codeAppendf("grad *= %s.z;", offsets0.fsIn()); in onEmitCode() [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrOvalOpFactory.cpp | 694 GrGLSLVarying offsets0(kHalf2_GrSLType); in onEmitCode() local 695 varyingHandler->addVarying("EllipseOffsets0", &offsets0); in onEmitCode() 696 vertBuilder->codeAppendf("%s = %s;", offsets0.vsOut(), diegp.fInEllipseOffsets0.name()); in onEmitCode() 721 fragBuilder->codeAppendf("half2 scaledOffset = %s.xy;", offsets0.fsIn()); in onEmitCode() 723 fragBuilder->codeAppendf("half2 duvdx = dFdx(%s);", offsets0.fsIn()); in onEmitCode() 724 fragBuilder->codeAppendf("half2 duvdy = dFdy(%s);", offsets0.fsIn()); in onEmitCode() 728 offsets0.fsIn(), offsets0.fsIn(), offsets0.fsIn(), offsets0.fsIn()); in onEmitCode()
|