Home
last modified time | relevance | path

Searched refs:fVertBuilder (Results 1 – 25 of 45) sorted by relevance

12

/external/skqp/src/gpu/effects/
DGrAtlasedShaderHelpers.h29 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()
DGrShadowGeoProc.cpp22 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
DGrDistanceFieldGeoProc.cpp34 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
333 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
621 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
DGrBezierEffect.cpp70 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
321 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
/external/skia/src/gpu/effects/
DGrAtlasedShaderHelpers.h29 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()
DGrShadowGeoProc.cpp22 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
DGrDistanceFieldGeoProc.cpp34 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
333 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
621 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
DGrBezierEffect.cpp70 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
321 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
/external/skqp/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.h79 : fVertBuilder(vertBuilder) in EmitArgs()
91 GrGLSLVertexBuilder* fVertBuilder; member
DGrGLSLGeometryProcessor.cpp20 GrGLSLVertexBuilder* vBuilder = args.fVertBuilder; in emitCode()
/external/skia/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.h79 : fVertBuilder(vertBuilder) in EmitArgs()
91 GrGLSLVertexBuilder* fVertBuilder; member
DGrGLSLGeometryProcessor.cpp20 GrGLSLVertexBuilder* vBuilder = args.fVertBuilder; in emitCode()
/external/skqp/src/gpu/ops/
DGrQuadPerEdgeAA.cpp577 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()
DGrLatticeOp.cpp63 this->writeOutputPosition(args.fVertBuilder, gpArgs, latticeGP.fInPosition.name()); in createGLSLInstance()
64 this->emitTransforms(args.fVertBuilder, in createGLSLInstance()
/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp865 args.fVertBuilder->codeAppendf("float3 position = %s.xyz;", in createGLSLInstance()
868 args.fVertBuilder->codeAppendf("float2 position = %s.xy;", in createGLSLInstance()
885 this->emitTransforms(args.fVertBuilder, in createGLSLInstance()
913 args.fVertBuilder->codeAppendf("%s = %s;", in createGLSLInstance()
943 args.fVertBuilder->codeAppendf("%s = %s.w;", in createGLSLInstance()
946 args.fVertBuilder->codeAppendf("%s = %s.z;", in createGLSLInstance()
DGrLatticeOp.cpp63 this->writeOutputPosition(args.fVertBuilder, gpArgs, latticeGP.fInPosition.name()); in createGLSLInstance()
64 this->emitTransforms(args.fVertBuilder, in createGLSLInstance()
/external/skia/bench/
DVertexColorSpaceBench.cpp64 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in createGLSLInstance()
89 this->writeOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in createGLSLInstance()
/external/skqp/bench/
DVertexColorSpaceBench.cpp64 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in createGLSLInstance()
89 this->writeOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in createGLSLInstance()
/external/skia/gm/
Dfwidth_squircle.cpp70 auto* v = args.fVertBuilder; in onEmitCode()
/external/skqp/gm/
Dfwidth_squircle.cpp73 auto* v = args.fVertBuilder; in onEmitCode()
/external/skqp/tests/
DPrimitiveProcessorTest.cpp78 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
/external/skia/tests/
DPrimitiveProcessorTest.cpp79 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
DGrPipelineDynamicStateTest.cpp98 GrGLSLVertexBuilder* v = args.fVertBuilder; in onEmitCode()
/external/skia/src/gpu/ccpr/
DGrCCPathProcessor.cpp167 GrGLSLVertexBuilder* v = args.fVertBuilder; in onEmitCode()
/external/skqp/src/gpu/ccpr/
DGrCCPathProcessor.cpp165 GrGLSLVertexBuilder* v = args.fVertBuilder; in onEmitCode()

12