• Home
  • Raw
  • Download

Lines Matching refs:vertBuilder

291 static void write_passthrough_vertex_position(GrGLSLVertexBuilder* vertBuilder,  in write_passthrough_vertex_position()  argument
295 SkString outName = vertBuilder->newTmpVarName(inPos.getName().c_str()); in write_passthrough_vertex_position()
297 vertBuilder->codeAppendf("float%d %s = %s;", in write_passthrough_vertex_position()
303 static void write_vertex_position(GrGLSLVertexBuilder* vertBuilder, in write_vertex_position() argument
312 SkString outName = vertBuilder->newTmpVarName(inPos.getName().c_str()); in write_vertex_position()
315 write_passthrough_vertex_position(vertBuilder, inPos, outPos); in write_vertex_position()
332 vertBuilder->codeAppendf("float3 %s = %s.xz1 * %s + %s.yw0;\n", in write_vertex_position()
338 vertBuilder->codeAppendf("float3 %s = %s * %s;\n", in write_vertex_position()
349 vertBuilder->codeAppendf("float3 %s = (%s * %s.xy1);", in write_vertex_position()
357 vertBuilder->codeAppendf("float2 %s = %s.xz * %s + %s.yw;\n", in write_vertex_position()
363 vertBuilder->codeAppendf("float2 %s = float3x2(%s) * %s.xy1;\n", in write_vertex_position()
368 vertBuilder->codeAppendf("float2 %s = (%s * %s.xy1).xy;\n", in write_vertex_position()
376 void GrGLSLGeometryProcessor::WriteOutputPosition(GrGLSLVertexBuilder* vertBuilder, in WriteOutputPosition() argument
381 write_passthrough_vertex_position(vertBuilder, inPos, &gpArgs->fPositionVar); in WriteOutputPosition()
384 void GrGLSLGeometryProcessor::WriteOutputPosition(GrGLSLVertexBuilder* vertBuilder, in WriteOutputPosition() argument
392 write_vertex_position(vertBuilder, in WriteOutputPosition()
402 void GrGLSLGeometryProcessor::WriteLocalCoord(GrGLSLVertexBuilder* vertBuilder, in WriteLocalCoord() argument
409 write_vertex_position(vertBuilder, in WriteLocalCoord()