/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 | 17 GrGPArgs gpArgs; in emitCode() local 18 this->onEmitCode(args, &gpArgs); in emitCode() 29 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode() 30 kFloat3_GrSLType == gpArgs.fPositionVar.getType()); in emitCode() 31 vBuilder->emitNormalizedSkPosition(gpArgs.fPositionVar.c_str(), args.fRTAdjustName, in emitCode() 32 gpArgs.fPositionVar.getType()); in emitCode() 33 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode() 41 vBuilder->codeAppendf("sk_Position = float4(%s", gpArgs.fPositionVar.c_str()); in emitCode() 42 switch (gpArgs.fPositionVar.getType()) { in emitCode() 154 GrGPArgs* gpArgs, in writeOutputPosition() argument [all …]
|
/external/skia/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 104 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override; 157 void GrCCPathProcessor::Impl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 226 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode() 227 this->emitTransforms(v, varyingHandler, uniHandler, gpArgs->fPositionVar, proc.fLocalMatrix, in onEmitCode()
|
D | GrSampleMaskProcessor.cpp | 26 void GrSampleMaskProcessor::Impl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 38 gpArgs->fPositionVar = proc.fInputAttribs.front().asShaderVar(); in onEmitCode() 52 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
|
D | GrStencilAtlasOp.cpp | 45 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 54 gpArgs->fPositionVar.set(kFloat2_GrSLType, "atlascoord"); in onEmitCode()
|
D | GrCCStroker.cpp | 93 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override; 103 void LinearStrokeProcessor::Impl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 138 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode() 186 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override; 194 void CubicStrokeProcessor::Impl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 260 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); 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()
|
/external/skia/src/gpu/effects/ |
D | GrShadowGeoProc.cpp | 21 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 37 this->writeOutputPosition(vertBuilder, gpArgs, rsgp.inPosition().name()); in onEmitCode()
|
D | GrDistanceFieldGeoProc.cpp | 29 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 58 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode() 324 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 358 gpArgs, in onEmitCode() 371 this->writeOutputPosition(vertBuilder, gpArgs, dfPathEffect.inPosition().name()); in onEmitCode() 612 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 635 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
|
D | GrBezierEffect.cpp | 71 void GrGLConicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 91 gpArgs, in onEmitCode() 325 void GrGLQuadEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 345 gpArgs, in onEmitCode()
|
/external/skia/src/gpu/tessellate/ |
D | GrStencilPathShader.cpp | 38 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 53 gpArgs->fPositionVar = vertexPos; in onEmitCode()
|
D | GrFillPathShader.cpp | 17 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 33 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
|
D | GrDrawAtlasPathOp.cpp | 58 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 81 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode() 83 GrShaderVar localCoord = gpArgs->fPositionVar; 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 | 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()
|
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()
|
/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()
|
/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/skia/tests/ |
D | PrimitiveProcessorTest.cpp | 70 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument 73 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
|
/external/skia/gm/ |
D | fwidth_squircle.cpp | 96 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 115 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
|
/external/skia/src/gpu/ops/ |
D | GrFillRRectOp.cpp | 509 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 591 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode() 646 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 692 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode() 696 gpArgs->fPositionVar.set(kFloat3_GrSLType, "devcoord"); in onEmitCode()
|
/external/skia/tools/gpu/ |
D | TestOps.cpp | 57 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in createGLSLInstance() argument 66 this->writeOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in createGLSLInstance()
|