Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp17 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/
DGrGLSLGeometryProcessor.cpp17 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/
DGrShadowGeoProc.cpp20 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
36 this->writeOutputPosition(vertBuilder, gpArgs, rsgp.inPosition().name()); in onEmitCode()
DGrDistanceFieldGeoProc.cpp29 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()
DGrBezierEffect.cpp69 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()
DGrBitmapTextGeoProc.cpp25 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
58 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
/external/skia/src/gpu/effects/
DGrShadowGeoProc.cpp20 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
36 this->writeOutputPosition(vertBuilder, gpArgs, rsgp.inPosition().name()); in onEmitCode()
DGrDistanceFieldGeoProc.cpp29 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()
DGrBezierEffect.cpp69 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()
DGrBitmapTextGeoProc.cpp25 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
/external/skia/src/gpu/ccpr/
DGrCCPathProcessor.cpp101 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()
DGrCCStroker.cpp92 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()
DGrCCCoverageProcessor_VSImpl.cpp254 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/
DGrCCPathProcessor.cpp99 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()
DGrCCStroker.cpp92 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()
DGrCCCoverageProcessor_VSImpl.cpp254 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/
Dfwidth_squircle.cpp57 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
76 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
Dclockwise.cpp69 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
72 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
Dsamplelocations.cpp77 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
114 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
/external/skqp/gm/
Dfwidth_squircle.cpp60 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
79 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
Dclockwise.cpp66 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
69 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skqp/tests/
DPrimitiveProcessorTest.cpp75 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument
78 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
DGrPipelineDynamicStateTest.cpp87 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument
97 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skia/tests/
DPrimitiveProcessorTest.cpp76 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument
79 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
DGrPipelineDynamicStateTest.cpp90 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument
100 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()

12