/external/skqp/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 17 GrGPArgs gpArgs; in emitCode() local 18 this->onEmitCode(args, &gpArgs); in emitCode() 23 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode() 24 kFloat3_GrSLType == gpArgs.fPositionVar.getType()); in emitCode() 25 vBuilder->emitNormalizedSkPosition(gpArgs.fPositionVar.c_str(), args.fRTAdjustName, in emitCode() 26 gpArgs.fPositionVar.getType()); in emitCode() 27 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode() 35 vBuilder->codeAppendf("sk_Position = float4(%s", gpArgs.fPositionVar.c_str()); in emitCode() 36 switch (gpArgs.fPositionVar.getType()) { in emitCode() 116 GrGPArgs* gpArgs, in writeOutputPosition() argument [all …]
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 21 GrGPArgs gpArgs; in emitCode() local 22 this->onEmitCode(args, &gpArgs); in emitCode() 24 if (gpArgs.fLocalCoordVar.getType() != kVoid_GrSLType) { in emitCode() 26 gpArgs.fLocalCoordVar, args.fFPCoordTransformHandler); in emitCode() 41 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode() 42 kFloat3_GrSLType == gpArgs.fPositionVar.getType()); in emitCode() 43 vBuilder->emitNormalizedSkPosition(gpArgs.fPositionVar.c_str(), in emitCode() 44 gpArgs.fPositionVar.getType()); in emitCode() 45 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode() 53 vBuilder->codeAppendf("sk_Position = float4(%s", gpArgs.fPositionVar.c_str()); in emitCode() [all …]
|
/external/skia/src/gpu/tessellate/ |
D | GrFillPathShader.cpp | 17 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 29 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode() 30 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in onEmitCode()
|
D | GrStencilPathShader.cpp | 68 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 87 gpArgs->fPositionVar = vertexPos; in onEmitCode() 367 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 398 gpArgs->fPositionVar = vertexPos; in onEmitCode()
|
D | GrStrokeTessellateShader.cpp | 89 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 997 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 1238 gpArgs->fPositionVar.set(kFloat2_GrSLType, "strokeCoord"); in onEmitCode() 1239 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "strokeCoord"); in onEmitCode() 1244 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode() 1245 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "strokeCoord"); in onEmitCode() 1251 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode() 1252 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localCoord"); in onEmitCode()
|
D | GrDrawAtlasPathOp.cpp | 58 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 87 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode() 93 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in onEmitCode()
|
/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 28 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 60 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode() 64 gpArgs, in onEmitCode() 65 gpArgs->fPositionVar, in onEmitCode() 325 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 359 gpArgs, in onEmitCode() 363 gpArgs->fLocalCoordVar = dfPathEffect.inPosition().asShaderVar(); in onEmitCode() 366 WriteOutputPosition(vertBuilder, gpArgs, dfPathEffect.inPosition().name()); in onEmitCode() 370 gpArgs, in onEmitCode() 599 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument [all …]
|
D | GrBezierEffect.cpp | 65 void GrGLConicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 87 gpArgs, in onEmitCode() 95 gpArgs, in onEmitCode() 276 void GrGLQuadEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 298 gpArgs, in onEmitCode() 306 gpArgs, in onEmitCode()
|
D | GrShadowGeoProc.cpp | 21 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 37 WriteOutputPosition(vertBuilder, gpArgs, rsgp.inPosition().name()); in onEmitCode()
|
D | GrBitmapTextGeoProc.cpp | 28 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode() 61 gpArgs, in onEmitCode()
|
/external/skqp/src/gpu/effects/ |
D | GrShadowGeoProc.cpp | 20 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 36 this->writeOutputPosition(vertBuilder, gpArgs, rsgp.inPosition().name()); in onEmitCode()
|
D | GrDistanceFieldGeoProc.cpp | 29 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 59 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode() 327 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 361 gpArgs, in onEmitCode() 374 this->writeOutputPosition(vertBuilder, gpArgs, dfPathEffect.inPosition().name()); in onEmitCode() 617 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 641 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
|
D | GrBezierEffect.cpp | 69 void GrGLConicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 89 gpArgs, in onEmitCode() 320 void GrGLQuadEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 340 gpArgs, in onEmitCode()
|
D | GrBitmapTextGeoProc.cpp | 25 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 58 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 99 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override; 142 void GLSLPathProcessor::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 203 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
|
D | GrCCCoverageProcessor_VSImpl.cpp | 254 void GrCCCoverageProcessor::VSImpl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 364 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode() 435 gpArgs->fPositionVar.c_str(), "coverage", "corner_coverage"); in onEmitCode()
|
D | GrCCStroker.cpp | 92 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override; 100 void LinearStrokeProcessor::Impl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 135 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode() 183 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override; 191 void CubicStrokeProcessor::Impl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 257 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 66 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 113 gpArgs, in onEmitCode() 121 gpArgs->fLocalCoordVar = gp.fInLocalCoords.asShaderVar(); in onEmitCode() 126 gpArgs, in onEmitCode()
|
/external/skia/tools/gpu/ |
D | TestOps.cpp | 61 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 71 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in onEmitCode() 75 gpArgs, in onEmitCode()
|
/external/skqp/gm/ |
D | fwidth_squircle.cpp | 60 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 79 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
|
D | clockwise.cpp | 66 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 69 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
/external/skqp/tests/ |
D | PrimitiveProcessorTest.cpp | 75 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument 78 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
|
D | GrPipelineDynamicStateTest.cpp | 87 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument 97 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
/external/skia/tests/ |
D | PrimitiveProcessorTest.cpp | 79 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onCreateProgramInfo() argument 82 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fAttributes[0].name()); in onCreateProgramInfo()
|
/external/skia/gm/ |
D | fwidth_squircle.cpp | 91 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 110 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
|