/external/skqp/src/gpu/effects/ |
D | GrAtlasedShaderHelpers.h | 29 args.fVertBuilder->codeAppendf("int2 signedCoords = int2(%s.x, %s.y);", in append_index_uv_varyings() 31 … args.fVertBuilder->codeAppend("int texIdx = 2*(signedCoords.x & 0x1) + (signedCoords.y & 0x1);"); in append_index_uv_varyings() 32 …args.fVertBuilder->codeAppend("float2 unormTexCoords = float2(signedCoords.x/2, signedCoords.y/2);… in append_index_uv_varyings() 34 args.fVertBuilder->codeAppendf("float2 indexTexCoords = float2(%s.x, %s.y);", in append_index_uv_varyings() 36 args.fVertBuilder->codeAppend("float2 unormTexCoords = floor(0.5*indexTexCoords);"); in append_index_uv_varyings() 37 args.fVertBuilder->codeAppend("float2 diff = indexTexCoords - 2.0*unormTexCoords;"); in append_index_uv_varyings() 38 args.fVertBuilder->codeAppend("float texIdx = 2.0*diff.x + diff.y;"); in append_index_uv_varyings() 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 | GrShadowGeoProc.cpp | 22 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
|
D | GrDistanceFieldGeoProc.cpp | 34 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() 333 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() 621 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
|
/external/skia/src/gpu/tessellate/ |
D | GrStrokeTessellateShader.cpp | 92 auto* v = args.fVertBuilder; in onEmitCode() 1003 args.fVertBuilder->defineConstant("MAX_PARAMETRIC_SEGMENTS_LOG2", in onEmitCode() 1005 args.fVertBuilder->defineConstant("float", "PI", "3.141592653589793238"); in onEmitCode() 1009 args.fVertBuilder->insertFunction(kNumRadialSegmentsPerRadian); in onEmitCode() 1011 args.fVertBuilder->insertFunction(kAtan2Fn); in onEmitCode() 1012 args.fVertBuilder->insertFunction(kLengthPow2Fn); in onEmitCode() 1013 args.fVertBuilder->insertFunction(kMiterExtentFn); in onEmitCode() 1014 args.fVertBuilder->insertFunction(kUncheckedMixFn); in onEmitCode() 1015 args.fVertBuilder->insertFunction(kCosineBetweenVectorsFn); in onEmitCode() 1016 append_wangs_formula_fn(&args.fVertBuilder->functions(), shader.hasConics()); in onEmitCode() [all …]
|
D | GrStencilPathShader.cpp | 71 auto v = args.fVertBuilder; in onEmitCode() 370 args.fVertBuilder->defineConstantf("int", "kMaxVertexID", "%i", 1 << kMaxResolveLevel); in onEmitCode() 371 args.fVertBuilder->defineConstantf("float", "kInverseMaxVertexID", in onEmitCode() 373 args.fVertBuilder->insertFunction(kUnpackRationalCubicFn); in onEmitCode() 374 args.fVertBuilder->insertFunction(kEvalRationalCubicFn); in onEmitCode() 375 args.fVertBuilder->codeAppend(R"( in onEmitCode() 394 args.fVertBuilder->codeAppendf(R"( in onEmitCode()
|
D | GrFillPathShader.cpp | 26 args.fVertBuilder->codeAppend("float2 localcoord, vertexpos;"); in onEmitCode() 27 shader.emitVertexCode(this, args.fVertBuilder, viewMatrix, args.fUniformHandler); in onEmitCode()
|
D | GrDrawAtlasPathOp.cpp | 75 args.fVertBuilder->codeAppendf(R"( in onEmitCode() 90 args.fVertBuilder->codeAppendf(R"( in onEmitCode()
|
/external/skia/src/gpu/effects/ |
D | GrAtlasedShaderHelpers.h | 32 args.fVertBuilder->codeAppendf(R"code( in append_index_uv_varyings() 37 args.fVertBuilder->codeAppendf(R"code( in append_index_uv_varyings() 45 args.fVertBuilder->codeAppendf(R"code( in append_index_uv_varyings() 50 args.fVertBuilder->codeAppendf(R"code( in append_index_uv_varyings() 61 args.fVertBuilder->codeAppendf( in append_index_uv_varyings() 70 args.fVertBuilder->codeAppendf("%s = %s(texIdx);", texIdx->vsOut(), cast); in append_index_uv_varyings() 75 args.fVertBuilder->codeAppendf("%s = unormTexCoords;", st->vsOut()); in append_index_uv_varyings()
|
D | GrShadowGeoProc.cpp | 23 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
|
D | GrBezierEffect.cpp | 66 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() 277 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
|
D | GrDistanceFieldGeoProc.cpp | 33 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() 331 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() 603 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
|
/external/skia/gm/ |
D | tessellation.cpp | 72 args.fVertBuilder->declareGlobal( in onEmitCode() 74 args.fVertBuilder->codeAppendf(R"( in onEmitCode() 182 args.fVertBuilder->declareGlobal( in onEmitCode() 184 args.fVertBuilder->codeAppendf("M_ = %s;", viewMatrix); in onEmitCode()
|
D | fwidth_squircle.cpp | 104 auto* v = args.fVertBuilder; in onEmitCode()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLPrimitiveProcessor.h | 79 : fVertBuilder(vertBuilder) in EmitArgs() 91 GrGLSLVertexBuilder* fVertBuilder; member
|
D | GrGLSLGeometryProcessor.cpp | 20 GrGLSLVertexBuilder* vBuilder = args.fVertBuilder; in emitCode()
|
/external/skia/tools/gpu/ |
D | TestOps.cpp | 67 args.fVertBuilder->codeAppendf("%s = %s;", colorVarying.vsOut(), gp.fInColor.name()); in onEmitCode() 71 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in onEmitCode() 72 WriteLocalCoord(args.fVertBuilder, in onEmitCode()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.h | 80 : fVertBuilder(vertBuilder) in EmitArgs() 91 GrGLSLVertexBuilder* fVertBuilder; member
|
D | GrGLSLGeometryProcessor.cpp | 25 this->collectTransforms(args.fVertBuilder, args.fVaryingHandler, args.fUniformHandler, in emitCode() 38 GrGLSLVertexBuilder* vBuilder = args.fVertBuilder; in emitCode()
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 577 args.fVertBuilder->codeAppendf("float3 position = %s.xyz;", in createGLSLInstance() 580 args.fVertBuilder->codeAppendf("float2 position = %s.xy;", in createGLSLInstance() 597 this->emitTransforms(args.fVertBuilder, in createGLSLInstance() 625 args.fVertBuilder->codeAppendf("%s = %s;", in createGLSLInstance() 655 args.fVertBuilder->codeAppendf("%s = %s.w;", in createGLSLInstance() 658 args.fVertBuilder->codeAppendf("%s = %s.z;", in createGLSLInstance()
|
/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 622 args.fVertBuilder->codeAppendf("float3 position = %s.xyz;", in createGLSLInstance() 625 args.fVertBuilder->codeAppendf("float2 position = %s.xy;", in createGLSLInstance() 668 args.fVertBuilder->codeAppendf("%s = %s;", in createGLSLInstance() 707 args.fVertBuilder->codeAppendf("%s = %s.w * %s.z;", in createGLSLInstance() 713 args.fVertBuilder->codeAppendf("%s = %s;", in createGLSLInstance()
|
/external/skqp/bench/ |
D | VertexColorSpaceBench.cpp | 64 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in createGLSLInstance() 89 this->writeOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in createGLSLInstance()
|
/external/skia/bench/ |
D | VertexColorSpaceBench.cpp | 53 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in createGLSLInstance() 78 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in createGLSLInstance()
|
/external/skqp/gm/ |
D | fwidth_squircle.cpp | 73 auto* v = args.fVertBuilder; in onEmitCode()
|
/external/skqp/tests/ |
D | PrimitiveProcessorTest.cpp | 78 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
|
/external/skia/tests/ |
D | PrimitiveProcessorTest.cpp | 82 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fAttributes[0].name()); in onCreateProgramInfo()
|