Home
last modified time | relevance | path

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

123

/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()
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/
DGrCCPathProcessor.cpp104 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()
DGrSampleMaskProcessor.cpp26 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()
DGrStencilAtlasOp.cpp45 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
54 gpArgs->fPositionVar.set(kFloat2_GrSLType, "atlascoord"); in onEmitCode()
DGrCCStroker.cpp93 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/
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()
/external/skia/src/gpu/effects/
DGrShadowGeoProc.cpp21 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
37 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()
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()
DGrBezierEffect.cpp71 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/
DGrStencilPathShader.cpp38 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
53 gpArgs->fPositionVar = vertexPos; in onEmitCode()
DGrFillPathShader.cpp17 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
33 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
DGrDrawAtlasPathOp.cpp58 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/
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/skqp/tests/
DPrimitiveProcessorTest.cpp75 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument
78 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
/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/skia/tests/
DPrimitiveProcessorTest.cpp70 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument
73 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
/external/skia/gm/
Dfwidth_squircle.cpp96 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
115 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
/external/skia/src/gpu/ops/
DGrFillRRectOp.cpp509 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/
DTestOps.cpp57 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in createGLSLInstance() argument
66 this->writeOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in createGLSLInstance()

123