/external/skqp/src/gpu/effects/ |
D | GrAtlasedShaderHelpers.h | 43 args.fVertBuilder->codeAppendf("%s = unormTexCoords * %s;", uv->vsOut(), atlasSizeInvName); in append_index_uv_varyings() 48 args.fVertBuilder->codeAppendf("%s = texIdx;", texIdx->vsOut()); in append_index_uv_varyings() 52 args.fVertBuilder->codeAppendf("%s = unormTexCoords;", st->vsOut()); in append_index_uv_varyings()
|
D | GrBezierEffect.cpp | 80 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inConicCoeffs().name()); in onEmitCode() 331 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inHairQuadEdge().name()); in onEmitCode()
|
/external/skia/src/gpu/effects/ |
D | GrAtlasedShaderHelpers.h | 43 args.fVertBuilder->codeAppendf("%s = unormTexCoords * %s;", uv->vsOut(), atlasSizeInvName); in append_index_uv_varyings() 48 args.fVertBuilder->codeAppendf("%s = texIdx;", texIdx->vsOut()); in append_index_uv_varyings() 52 args.fVertBuilder->codeAppendf("%s = unormTexCoords;", st->vsOut()); in append_index_uv_varyings()
|
D | GrBezierEffect.cpp | 80 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inConicCoeffs().name()); in onEmitCode() 331 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inHairQuadEdge().name()); in onEmitCode()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCStroker.cpp | 121 edgeDistances.vsOut()); in onEmitCode() 123 edgeDistances.vsOut(), edgeDistances.vsOut(), edgeDistances.vsOut()); in onEmitCode() 131 v->codeAppendf("%s.yw = float2(-.5, 2*stroke_radius / nwidth + .5);", edgeDistances.vsOut()); in onEmitCode() 133 edgeDistances.vsOut(), edgeDistances.vsOut(), edgeDistances.vsOut()); in onEmitCode() 240 v->codeAppendf("%s.xy = float2(-.5, 2*stroke_radius / nwidth + .5);", coverages.vsOut()); in onEmitCode() 242 coverages.vsOut(), coverages.vsOut(), coverages.vsOut()); in onEmitCode() 255 coverages.vsOut()); in onEmitCode()
|
D | GrCCPathProcessor.cpp | 212 v->codeAppendf("%s.xy = atlascoord * %s;", texcoord.vsOut(), atlasAdjust); in onEmitCode() 216 texcoord.vsOut(), atlasAdjust, atlasAdjust); in onEmitCode() 220 v->codeAppendf("%s.z = sign(devbounds.z - devbounds.x) * .5;", texcoord.vsOut()); in onEmitCode()
|
D | GrCCCoverageProcessor.h | 197 return Scope::kGeoToFrag == varying.scope() ? varying.gsOut() : varying.vsOut(); in OutName()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCStroker.cpp | 121 edgeDistances.vsOut()); in onEmitCode() 123 edgeDistances.vsOut(), edgeDistances.vsOut(), edgeDistances.vsOut()); in onEmitCode() 131 v->codeAppendf("%s.yw = float2(-.5, 2*stroke_radius / nwidth + .5);", edgeDistances.vsOut()); in onEmitCode() 133 edgeDistances.vsOut(), edgeDistances.vsOut(), edgeDistances.vsOut()); in onEmitCode() 240 v->codeAppendf("%s.xy = float2(-.5, 2*stroke_radius / nwidth + .5);", coverages.vsOut()); in onEmitCode() 242 coverages.vsOut(), coverages.vsOut(), coverages.vsOut()); in onEmitCode() 255 coverages.vsOut()); in onEmitCode()
|
D | GrCCPathProcessor.cpp | 209 v->codeAppendf("%s.xy = atlascoord * %s;", texcoord.vsOut(), atlasAdjust); in onEmitCode() 213 texcoord.vsOut(), atlasAdjust, atlasAdjust); in onEmitCode() 217 v->codeAppendf("%s.z = sign(devbounds.z - devbounds.x) * .5;", texcoord.vsOut()); in onEmitCode()
|
D | GrCCCoverageProcessor.h | 197 return Scope::kGeoToFrag == varying.scope() ? varying.gsOut() : varying.vsOut(); in OutName()
|
/external/skia/gm/ |
D | samplelocations.cpp | 116 v->codeAppendf("%s.x = (0 == (sk_VertexID %% 2)) ? -1 : +1;", coord.vsOut()); in onEmitCode() 117 v->codeAppendf("%s.y = (0 == (sk_VertexID / 2)) ? -1 : +1;", coord.vsOut()); in onEmitCode() 119 v->codeAppendf("%s = 2/float2(r - l, b - t);", grad.vsOut()); in onEmitCode()
|
D | fwidth_squircle.cpp | 73 v->codeAppendf("%s = bboxcoord * 1.25;", squircleCoord.vsOut()); in onEmitCode()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 92 vb->codeAppendf("%s = (%s * %s).xy;", v.vsOut(), uniName, localCoords.c_str()); in emitTransforms() 94 vb->codeAppendf("%s = %s * %s;", v.vsOut(), uniName, localCoords.c_str()); in emitTransforms()
|
D | GrGLSLVarying.h | 64 const char* vsOut() const { SkASSERT(this->isInVertexShader()); return fVsOut; } in vsOut() function
|
D | GrGLSLVarying.cpp | 19 fProgramBuilder->fVS.codeAppendf("%s = %s;", v.vsOut(), input.name()); in addPassThroughAttribute()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 92 vb->codeAppendf("%s = (%s * %s).xy;", v.vsOut(), uniName, localCoords.c_str()); in emitTransforms() 94 vb->codeAppendf("%s = %s * %s;", v.vsOut(), uniName, localCoords.c_str()); in emitTransforms()
|
D | GrGLSLVarying.h | 64 const char* vsOut() const { SkASSERT(this->isInVertexShader()); return fVsOut; } in vsOut() function
|
D | GrGLSLVarying.cpp | 19 fProgramBuilder->fVS.codeAppendf("%s = %s;", v.vsOut(), input.name()); in addPassThroughAttribute()
|
/external/skqp/src/gpu/ops/ |
D | GrAAFillRRectOp.cpp | 386 v->codeAppendf( "%s.xy = float2(0, coverage);", arcCoord.vsOut()); in onEmitCode() 394 v->codeAppendf( "%s.xy = float2(arccoord.x+1, arccoord.y);", arcCoord.vsOut()); in onEmitCode() 398 v->codeAppendf("%s.zw = derivatives * (arccoord/radii * 2);", arcCoord.vsOut()); in onEmitCode()
|
D | GrDashOp.cpp | 840 vertBuilder->codeAppendf("%s = %s;", dashParams.vsOut(), dce.fInDashParams.name()); in onEmitCode() 845 vertBuilder->codeAppendf("%s = %s;", circleParams.vsOut(), dce.fInCircleParams.name()); in onEmitCode() 1038 vertBuilder->codeAppendf("%s = %s;", inDashParams.vsOut(), de.fInDashParams.name()); in onEmitCode() 1044 vertBuilder->codeAppendf("%s = %s;", inRectParams.vsOut(), de.fInRect.name()); in onEmitCode()
|
D | GrQuadPerEdgeAA.cpp | 626 v.vsOut(), gp.fLocalCoord.name()); in createGLSLInstance() 656 coverage.vsOut(), gp.fPosition.name()); in createGLSLInstance() 659 coverage.vsOut(), gp.fPosition.name()); in createGLSLInstance()
|
/external/skia/src/gpu/ops/ |
D | GrAAFillRRectOp.cpp | 401 v->codeAppendf( "%s.xy = float2(0, coverage);", arcCoord.vsOut()); in onEmitCode() 409 v->codeAppendf( "%s.xy = float2(arccoord.x+1, arccoord.y);", arcCoord.vsOut()); in onEmitCode() 413 v->codeAppendf("%s.zw = derivatives * (arccoord/radii * 2);", arcCoord.vsOut()); in onEmitCode()
|
D | GrDashOp.cpp | 846 vertBuilder->codeAppendf("%s = %s;", dashParams.vsOut(), dce.fInDashParams.name()); in onEmitCode() 851 vertBuilder->codeAppendf("%s = %s;", circleParams.vsOut(), dce.fInCircleParams.name()); in onEmitCode() 1045 vertBuilder->codeAppendf("%s = %s;", inDashParams.vsOut(), de.fInDashParams.name()); in onEmitCode() 1051 vertBuilder->codeAppendf("%s = %s;", inRectParams.vsOut(), de.fInRect.name()); in onEmitCode()
|
D | GrOvalOpFactory.cpp | 142 vertBuilder->codeAppendf("%s = (1.0 - %s.w) / 2.0;", capRadius.vsOut(), in onEmitCode() 365 vertBuilder->codeAppendf("%s = half4(wrapDashes);", wrapDashes.vsOut()); in onEmitCode() 366 vertBuilder->codeAppendf("%s = lastIntervalLength;", lastIntervalLength.vsOut()); in onEmitCode() 556 vertBuilder->codeAppendf("%s = %s;", ellipseOffsets.vsOut(), in onEmitCode() 561 vertBuilder->codeAppendf("%s = %s;", ellipseRadii.vsOut(), egp.fInEllipseRadii.name()); in onEmitCode() 749 vertBuilder->codeAppendf("%s = %s;", offsets0.vsOut(), diegp.fInEllipseOffsets0.name()); in onEmitCode() 753 vertBuilder->codeAppendf("%s = %s;", offsets1.vsOut(), diegp.fInEllipseOffsets1.name()); in onEmitCode()
|
/external/skqp/gm/ |
D | fwidth_squircle.cpp | 76 v->codeAppendf("%s = bboxcoord * 1.25;", squircleCoord.vsOut()); in onEmitCode()
|