Home
last modified time | relevance | path

Searched refs:uniformHandler (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp66 fGPImpl->emitTransformCode(&fVS, this->uniformHandler()); in emitAndInstallProcs()
87 fUniformHandles.fRTAdjustmentUni = this->uniformHandler()->addUniform( in emitAndInstallPrimProc()
113 this->uniformHandler(), in emitAndInstallPrimProc()
272 this->uniformHandler(), in writeFPFunction()
309 fUniformHandles.fDstTextureCoordsUni = this->uniformHandler()->addUniform( in emitAndInstallDstTexture()
375 this->uniformHandler(), in emitAndInstallXferProc()
398 return this->uniformHandler()->addSampler(backendFormat, state, swizzle, name, in emitSampler()
404 return this->uniformHandler()->addInputSampler(swizzle, name); in emitInputSampler()
465 this->uniformHandler()->appendUniformDecls(visibility, out); in appendUniformDecls()
470 GrGLSLUniformHandler* uniformHandler = this->uniformHandler(); in addRTFlipUniform() local
[all …]
DGrGLSLColorSpaceXformHelper.h25 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
27 SkASSERT(uniformHandler);
31 fSrcTFVar = uniformHandler->addUniformArray(nullptr, visibility, kHalf_GrSLType,
36 fGamutXformVar = uniformHandler->addUniform(nullptr, visibility, kHalf3x3_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(nullptr, visibility, kHalf_GrSLType,
DGrGLSLProgramBuilder.h55 return this->uniformHandler()->samplerVariable(handle); in samplerVariable()
59 return this->uniformHandler()->samplerSwizzle(handle); in samplerSwizzle()
63 return this->uniformHandler()->inputSamplerVariable(handle); in inputSamplerVariable()
67 return this->uniformHandler()->inputSamplerSwizzle(handle); in inputSamplerSwizzle()
86 virtual GrGLSLUniformHandler* uniformHandler() = 0;
87 virtual const GrGLSLUniformHandler* uniformHandler() const = 0;
DGrGLSLShaderBuilder.cpp165 GrGLSLUniformHandler* uniformHandler = fProgramBuilder->uniformHandler(); in appendColorGamutXform() local
174 const char* coeffs = uniformHandler->getUniformCStr(uniform); in appendColorGamutXform()
226 const char* xform = uniformHandler->getUniformCStr(colorXformHelper->gamutXformUniform()); in appendColorGamutXform()
/third_party/skia/src/gpu/
DGrGeometryProcessor.cpp102 GrGLSLUniformHandler* uniformHandler, in collectTransforms() argument
223 void ProgramImpl::emitTransformCode(GrGLSLVertexBuilder* vb, GrGLSLUniformHandler* uniformHandler) { in emitTransformCode() argument
239 GrShaderVar uniform = uniformHandler->liftUniformToVertexShader( in emitTransformCode()
261 GrShaderVar parentUniform = uniformHandler->liftUniformToVertexShader( in emitTransformCode()
310 GrGLSLUniformHandler* uniformHandler, in setupUniformColor() argument
315 *colorUniform = uniformHandler->addUniform(nullptr, in setupUniformColor()
362 GrGLSLUniformHandler* uniformHandler, in write_vertex_position() argument
380 *matrixUniform = uniformHandler->addUniform(nullptr, in write_vertex_position()
443 GrGLSLUniformHandler* uniformHandler, in WriteOutputPosition() argument
451 uniformHandler, in WriteOutputPosition()
[all …]
DGrDefaultGeoProcFactory.cpp100 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
121 fColorUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
136 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
142 uniformHandler, in onEmitCode()
155 uniformHandler, in onEmitCode()
177 fCoverageUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
DGrGeometryProcessor.h295 GrGLSLUniformHandler* uniformHandler, in EmitArgs()
304 , fUniformHandler(uniformHandler) in EmitArgs()
335 void emitTransformCode(GrGLSLVertexBuilder* vb, GrGLSLUniformHandler* uniformHandler);
400 GrGLSLUniformHandler* uniformHandler,
463 GrGLSLUniformHandler* uniformHandler,
DGrXferProcessor.h290 GrGLSLUniformHandler* uniformHandler, in GR_MAKE_BITFIELD_CLASS_OPS()
301 , fUniformHandler(uniformHandler) in GR_MAKE_BITFIELD_CLASS_OPS()
DGrXferProcessor.cpp215 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
248 uniformHandler, in emitCode()
DGrColorSpaceXform.cpp96 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onMakeProgramImpl() local
98 fColorSpaceHelper.emitCode(uniformHandler, proc.colorXform()); in onMakeProgramImpl()
/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp162 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitKernelBlock() local
176 const char* kernelBias = uniformHandler->getUniformCStr(fKernelBiasUni); in emitKernelBlock()
184 const char* kernel = uniformHandler->getUniformCStr(fKernelUni); in emitKernelBlock()
206 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
208 fKernelBiasUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, in emitCode()
211 fKernelUni = uniformHandler->addUniformArray(&mce, kFragment_GrShaderFlag, in emitCode()
214 fKernelOffsetUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
216 fGainUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf_GrSLType, "Gain"); in emitCode()
217 fBiasUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf_GrSLType, "Bias"); in emitCode()
219 const char* kernelOffset = uniformHandler->getUniformCStr(fKernelOffsetUni); in emitCode()
[all …]
DGrBezierEffect.cpp55 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
67 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
71 uniformHandler, in onEmitCode()
79 uniformHandler, in onEmitCode()
138 fCoverageScaleUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
243 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
255 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
259 uniformHandler, in onEmitCode()
267 uniformHandler, in onEmitCode()
291 fCoverageScaleUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
DGrDistanceFieldGeoProc.cpp58 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
64 fAtlasDimensionsInvUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
73 fDistanceAdjustUni = uniformHandler->addUniform(nullptr, kFragment_GrShaderFlag, in onEmitCode()
86 uniformHandler, in onEmitCode()
346 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
352 fAtlasDimensionsInvUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
375 uniformHandler, in onEmitCode()
386 uniformHandler, in onEmitCode()
612 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
618 fAtlasDimensionsInvUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
[all …]
DGrBitmapTextGeoProc.cpp50 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
56 fAtlasDimensionsInvUniform = uniformHandler->addUniform(nullptr, kVertex_GrShaderFlag, in onEmitCode()
74 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
81 uniformHandler, in onEmitCode()
DGrRRectEffect.cpp157 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
164 fInnerRectUniform = uniformHandler->addUniform(&crre, kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
167 fRadiusPlusHalfUniform = uniformHandler->addUniform(&crre, kFragment_GrShaderFlag, in emitCode()
512 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
515 fInnerRectUniform = uniformHandler->addUniform(&erre, kFragment_GrShaderFlag, kFloat4_GrSLType, in emitCode()
539 fScaleUniform = uniformHandler->addUniform(&erre, kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
547 fInvRadiiSqdUniform = uniformHandler->addUniform(&erre, in emitCode()
562 fInvRadiiSqdUniform = uniformHandler->addUniform(&erre, in emitCode()
/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader_HardwareImpl.cpp319 const GrGLSLUniformHandler& uniformHandler, in getTessControlShaderGLSL() argument
339 const char* tessArgsName = uniformHandler.getUniformCStr(fTessControlArgsUniform); in getTessControlShaderGLSL()
527 const GrGLSLUniformHandler& uniformHandler, in getTessEvaluationShaderGLSL() argument
545 const char* tessArgsName = uniformHandler.getUniformCStr(fTessControlArgsUniform); in getTessEvaluationShaderGLSL()
552 const char* translateName = uniformHandler.getUniformCStr(fTranslateUniform); in getTessEvaluationShaderGLSL()
555 const char* affineMatrixName = uniformHandler.getUniformCStr(fAffineMatrixUniform); in getTessEvaluationShaderGLSL()
/third_party/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1766 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
1767 fSurfaceScaleUni = uniformHandler->addUniform(&le, in emitCode()
1770 fLight->emitLightColorUniform(&le, uniformHandler); in emitCode()
1773 this->emitLightFunc(&le, uniformHandler, fragBuilder, &lightFunc); in emitCode()
1816 const char* surfScale = uniformHandler->getUniformCStr(fSurfaceScaleUni); in emitCode()
1831 fLight->emitSurfaceToLight(&le, uniformHandler, fragBuilder, arg.c_str()); in emitCode()
1835 fLight->emitLightColor(&le, uniformHandler, fragBuilder, "surfaceToLight"); in emitCode()
1857 GrGLSLUniformHandler* uniformHandler, in emitLightFunc() argument
1861 fKDUni = uniformHandler->addUniform(owner, kFragment_GrShaderFlag, kHalf_GrSLType, "KD", &kd); in emitLightFunc()
1954 GrGLSLUniformHandler* uniformHandler, in emitLightFunc() argument
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.h61 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler() function
62 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler() function
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.h70 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler() function
71 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler() function
/third_party/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.h75 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler() function
76 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler() function
DGrVkDescriptorSetManager.cpp28 GrVkGpu* gpu, VkDescriptorType type, const GrVkUniformHandler& uniformHandler) { in CreateSamplerManager() argument
32 for (int i = 0 ; i < uniformHandler.numSamplers(); ++i) { in CreateSamplerManager()
33 visibilities.push_back(uniformHandler.samplerVisibility(i)); in CreateSamplerManager()
34 immutableSamplers.push_back(uniformHandler.immutableSampler(i)); in CreateSamplerManager()
/third_party/skia/src/gpu/dawn/
DGrDawnProgramBuilder.h66 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler() function
67 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler() function
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.h85 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler() function
86 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler() function
/third_party/skia/src/gpu/ops/
DDrawVerticesOp.cpp98 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
103 fColorSpaceHelper.emitCode(uniformHandler, gp.fColorSpaceXform.get(), in onEmitCode()
127 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
133 uniformHandler, in onEmitCode()
DDashOp.cpp771 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
789 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
795 uniformHandler, in onEmitCode()
960 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
979 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
985 uniformHandler, in onEmitCode()

12