Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp92 fUniformHandles.fRTAdjustmentUni = this->uniformHandler()->addUniform( in emitAndInstallPrimProc()
95 this->uniformHandler()->getUniformCStr(fUniformHandles.fRTAdjustmentUni); in emitAndInstallPrimProc()
124 this->uniformHandler(), in emitAndInstallPrimProc()
204 this->uniformHandler(), in emitAndInstallFragProc()
261 this->uniformHandler(), in emitAndInstallXferProc()
284 return this->uniformHandler()->addSampler(texture, state, swizzle, name, this->shaderCaps()); in emitSampler()
343 this->uniformHandler()->appendUniformDecls(visibility, out); in appendUniformDecls()
348 GrGLSLUniformHandler* uniformHandler = this->uniformHandler(); in addRTWidthUniform() local
350 uniformHandler->internalAddUniformArray(kFragment_GrShaderFlag, kHalf_GrSLType, name, in addRTWidthUniform()
356 GrGLSLUniformHandler* uniformHandler = this->uniformHandler(); in addRTHeightUniform() local
[all …]
DGrGLSLColorSpaceXformHelper.h25 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
27 SkASSERT(uniformHandler);
31 fSrcTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
36 fGamutXformVar = uniformHandler->addUniform(visibility, kHalf3x3_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
DGrGLSLGeometryProcessor.h44 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument
47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms()
66 GrGLSLUniformHandler* uniformHandler,
DGrGLSLXferProcessor.cpp36 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
62 fDstTopLeftUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
66 fDstScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
94 uniformHandler, in emitCode()
DGrGLSLProgramBuilder.h65 return this->uniformHandler()->samplerVariable(handle); in samplerVariable()
70 return this->uniformHandler()->samplerSwizzle(handle); in samplerSwizzle()
88 virtual GrGLSLUniformHandler* uniformHandler() = 0;
89 virtual const GrGLSLUniformHandler* uniformHandler() const = 0;
DGrGLSLGeometryProcessor.cpp61 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument
90 fInstalledTransforms.push_back().fHandle = uniformHandler in emitTransforms()
161 GrGLSLUniformHandler* uniformHandler, in writeOutputPosition() argument
171 *viewMatrixUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in writeOutputPosition()
DGrGLSLPrimitiveProcessor.h96 GrGLSLUniformHandler* uniformHandler, in EmitArgs()
108 , fUniformHandler(uniformHandler) in EmitArgs()
155 GrGLSLUniformHandler* uniformHandler,
/external/skqp/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp88 fUniformHandles.fRTAdjustmentUni = this->uniformHandler()->addUniform( in emitAndInstallPrimProc()
93 this->uniformHandler()->getUniformCStr(fUniformHandles.fRTAdjustmentUni); in emitAndInstallPrimProc()
123 this->uniformHandler(), in emitAndInstallPrimProc()
204 this->uniformHandler(), in emitAndInstallFragProc()
258 this->uniformHandler(), in emitAndInstallXferProc()
279 return this->uniformHandler()->addSampler(texture, state, name, this->shaderCaps()); in emitSampler()
349 this->uniformHandler()->appendUniformDecls(visibility, out); in appendUniformDecls()
354 GrGLSLUniformHandler* uniformHandler = this->uniformHandler(); in addRTWidthUniform() local
356 uniformHandler->internalAddUniformArray(kFragment_GrShaderFlag, in addRTWidthUniform()
363 GrGLSLUniformHandler* uniformHandler = this->uniformHandler(); in addRTHeightUniform() local
[all …]
DGrGLSLColorSpaceXformHelper.h26 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
28 SkASSERT(uniformHandler);
32 fSrcTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
36 fGamutXformVar = uniformHandler->addUniform(visibility, kHalf3x3_GrSLType,
40 fDstTFVar = uniformHandler->addUniformArray(visibility, kHalf_GrSLType,
DGrGLSLGeometryProcessor.h44 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument
47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms()
66 GrGLSLUniformHandler* uniformHandler,
DGrGLSLXferProcessor.cpp38 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
63 fDstTopLeftUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
67 fDstScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode()
96 uniformHandler, in emitCode()
DGrGLSLProgramBuilder.h49 return this->uniformHandler()->samplerVariable(handle); in samplerVariable()
53 return this->uniformHandler()->samplerSwizzle(handle); in samplerSwizzle()
69 virtual GrGLSLUniformHandler* uniformHandler() = 0;
70 virtual const GrGLSLUniformHandler* uniformHandler() const = 0;
DGrGLSLGeometryProcessor.cpp55 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument
75 fInstalledTransforms.push_back().fHandle = uniformHandler->addUniform(kVertex_GrShaderFlag, in emitTransforms()
123 GrGLSLUniformHandler* uniformHandler, in writeOutputPosition() argument
133 *viewMatrixUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in writeOutputPosition()
DGrGLSLPrimitiveProcessor.h71 GrGLSLUniformHandler* uniformHandler, in EmitArgs()
83 , fUniformHandler(uniformHandler) in EmitArgs()
129 GrGLSLUniformHandler* uniformHandler,
/external/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp48 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
49 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
51 fKernelUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
54 fKernelOffsetUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
56 fGainUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "Gain"); in emitCode()
57 fBiasUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "Bias"); in emitCode()
59 const char* kernelOffset = uniformHandler->getUniformCStr(fKernelOffsetUni); in emitCode()
60 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode()
61 const char* kernel = uniformHandler->getUniformCStr(fKernelUni); in emitCode()
62 const char* gain = uniformHandler->getUniformCStr(fGainUni); in emitCode()
[all …]
DGrGaussianConvolutionFragmentProcessor.cpp42 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
43 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
46 fBoundsUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
55 fKernelUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
63 const GrShaderVar& kernel = uniformHandler->getUniformVariable(fKernelUni); in emitCode()
64 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode()
83 const char* bounds = uniformHandler->getUniformCStr(fBoundsUni); in emitCode()
DGrBezierEffect.cpp75 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
86 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
90 uniformHandler, in onEmitCode()
99 uniformHandler, in onEmitCode()
198 fCoverageScaleUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode()
329 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
340 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
344 uniformHandler, in onEmitCode()
353 uniformHandler, in onEmitCode()
401 fCoverageScaleUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode()
DGrDistanceFieldGeoProc.cpp36 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
42 fAtlasDimensionsInvUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in onEmitCode()
50 fDistanceAdjustUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in onEmitCode()
63 uniformHandler, in onEmitCode()
332 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
338 fAtlasDimensionsInvUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in onEmitCode()
357 uniformHandler, in onEmitCode()
366 uniformHandler, in onEmitCode()
376 uniformHandler, in onEmitCode()
618 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
[all …]
/external/skqp/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp48 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
49 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
51 fKernelUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
54 fKernelOffsetUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
56 fGainUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "Gain"); in emitCode()
57 fBiasUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, "Bias"); in emitCode()
59 const char* kernelOffset = uniformHandler->getUniformCStr(fKernelOffsetUni); in emitCode()
60 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode()
61 const char* kernel = uniformHandler->getUniformCStr(fKernelUni); in emitCode()
62 const char* gain = uniformHandler->getUniformCStr(fGainUni); in emitCode()
[all …]
DGrGaussianConvolutionFragmentProcessor.cpp42 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local
43 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
46 fBoundsUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode()
55 fKernelUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode()
63 const GrShaderVar& kernel = uniformHandler->getUniformVariable(fKernelUni); in emitCode()
64 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode()
83 const char* bounds = uniformHandler->getUniformCStr(fBoundsUni); in emitCode()
DGrBezierEffect.cpp73 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
84 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
88 uniformHandler, in onEmitCode()
97 uniformHandler, in onEmitCode()
196 fCoverageScaleUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode()
324 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
335 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode()
339 uniformHandler, in onEmitCode()
348 uniformHandler, in onEmitCode()
396 fCoverageScaleUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode()
DGrDistanceFieldGeoProc.cpp36 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
42 fAtlasSizeInvUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in onEmitCode()
51 fDistanceAdjustUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in onEmitCode()
64 uniformHandler, in onEmitCode()
335 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
341 fAtlasSizeInvUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in onEmitCode()
360 uniformHandler, in onEmitCode()
369 uniformHandler, in onEmitCode()
379 uniformHandler, in onEmitCode()
623 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
[all …]
/external/skia/src/gpu/tessellate/
DGrFillPathShader.cpp69 GrGLSLUniformHandler* uniformHandler) const { in emitVertexCode()
76 GrGLSLUniformHandler* uniformHandler) const { in emitVertexCode()
120 GrGLSLUniformHandler* uniformHandler) const { in emitVertexCode()
122 impl->fPathBoundsUniform = uniformHandler->addUniform( in emitVertexCode()
/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp74 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
93 fColorUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in onEmitCode()
105 fColorSpaceHelper.emitCode(uniformHandler, gp.fColorSpaceXform.get(), in onEmitCode()
123 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
129 uniformHandler, in onEmitCode()
139 uniformHandler, in onEmitCode()
147 uniformHandler, in onEmitCode()
162 fCoverageUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode()
/external/skqp/src/gpu/
DGrDefaultGeoProcFactory.cpp82 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local
101 fColorUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in onEmitCode()
113 fColorSpaceHelper.emitCode(uniformHandler, gp.fColorSpaceXform.get(), in onEmitCode()
131 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode()
144 fBonesUniform = uniformHandler->addUniformArray(kVertex_GrShaderFlag, in onEmitCode()
188 uniformHandler, in onEmitCode()
198 uniformHandler, in onEmitCode()
206 uniformHandler, in onEmitCode()
221 fCoverageUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode()

1234