/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() 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/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/skia/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 58 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode() 327 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 360 gpArgs, in onEmitCode() 373 this->writeOutputPosition(vertBuilder, gpArgs, dfPathEffect.inPosition().name()); in onEmitCode() 617 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument 640 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 57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 101 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override; 144 void GLSLPathProcessor::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument 206 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 365 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode() 436 gpArgs->fPositionVar.c_str(), "coverage", "corner_coverage"); 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/skia/gm/ |
D | fwidth_squircle.cpp | 57 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 76 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
|
D | clockwise.cpp | 69 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 72 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
D | samplelocations.cpp | 77 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument 114 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); 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 | 76 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument 79 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
|
D | GrPipelineDynamicStateTest.cpp | 90 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument 100 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|