Home
last modified time | relevance | path

Searched refs:vsOut (Results 1 – 25 of 35) sorted by relevance

12

/external/skqp/src/gpu/effects/
DGrAtlasedShaderHelpers.h43 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()
DGrBezierEffect.cpp80 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/
DGrAtlasedShaderHelpers.h43 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()
DGrBezierEffect.cpp80 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/
DGrCCStroker.cpp121 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()
DGrCCPathProcessor.cpp212 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()
DGrCCCoverageProcessor.h197 return Scope::kGeoToFrag == varying.scope() ? varying.gsOut() : varying.vsOut(); in OutName()
/external/skqp/src/gpu/ccpr/
DGrCCStroker.cpp121 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()
DGrCCPathProcessor.cpp209 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()
DGrCCCoverageProcessor.h197 return Scope::kGeoToFrag == varying.scope() ? varying.gsOut() : varying.vsOut(); in OutName()
/external/skia/gm/
Dsamplelocations.cpp116 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()
Dfwidth_squircle.cpp73 v->codeAppendf("%s = bboxcoord * 1.25;", squircleCoord.vsOut()); in onEmitCode()
/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp92 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()
DGrGLSLVarying.h64 const char* vsOut() const { SkASSERT(this->isInVertexShader()); return fVsOut; } in vsOut() function
DGrGLSLVarying.cpp19 fProgramBuilder->fVS.codeAppendf("%s = %s;", v.vsOut(), input.name()); in addPassThroughAttribute()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp92 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()
DGrGLSLVarying.h64 const char* vsOut() const { SkASSERT(this->isInVertexShader()); return fVsOut; } in vsOut() function
DGrGLSLVarying.cpp19 fProgramBuilder->fVS.codeAppendf("%s = %s;", v.vsOut(), input.name()); in addPassThroughAttribute()
/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp386 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()
DGrDashOp.cpp840 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()
DGrQuadPerEdgeAA.cpp626 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/
DGrAAFillRRectOp.cpp401 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()
DGrDashOp.cpp846 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()
DGrOvalOpFactory.cpp142 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/
Dfwidth_squircle.cpp76 v->codeAppendf("%s = bboxcoord * 1.25;", squircleCoord.vsOut()); in onEmitCode()

12