/external/skqp/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 88 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 …]
|
D | GrGLSLColorSpaceXformHelper.h | 26 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,
|
D | GrGLSLGeometryProcessor.h | 44 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument 47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms() 66 GrGLSLUniformHandler* uniformHandler,
|
D | GrGLSLXferProcessor.cpp | 38 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()
|
D | GrGLSLProgramBuilder.h | 49 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;
|
D | GrGLSLGeometryProcessor.cpp | 55 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()
|
D | GrGLSLPrimitiveProcessor.h | 71 GrGLSLUniformHandler* uniformHandler, in EmitArgs() 83 , fUniformHandler(uniformHandler) in EmitArgs() 129 GrGLSLUniformHandler* uniformHandler,
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 25 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,
|
D | GrGLSLProgramBuilder.cpp | 70 fGeometryProcessor->emitTransformCode(&fVS, this->uniformHandler()); in emitAndInstallProcs() 93 fUniformHandles.fRTAdjustmentUni = this->uniformHandler()->addUniform( in emitAndInstallPrimProc() 122 this->uniformHandler(), in emitAndInstallPrimProc() 194 this->uniformHandler(), in emitFragProc() 258 this->uniformHandler(), in emitAndInstallXferProc() 282 return this->uniformHandler()->addSampler(backendFormat, state, swizzle, name, in emitSampler() 288 return this->uniformHandler()->addInputSampler(swizzle, name); in emitInputSampler() 342 this->uniformHandler()->appendUniformDecls(visibility, out); in appendUniformDecls() 347 GrGLSLUniformHandler* uniformHandler = this->uniformHandler(); in addRTHeightUniform() local 349 uniformHandler->internalAddUniformArray(nullptr, kFragment_GrShaderFlag, kHalf_GrSLType, in addRTHeightUniform()
|
D | GrGLSLProgramBuilder.h | 59 return this->uniformHandler()->samplerVariable(handle); in samplerVariable() 63 return this->uniformHandler()->samplerSwizzle(handle); in samplerSwizzle() 67 return this->uniformHandler()->inputSamplerVariable(handle); in inputSamplerVariable() 71 return this->uniformHandler()->inputSamplerSwizzle(handle); in inputSamplerSwizzle() 84 virtual GrGLSLUniformHandler* uniformHandler() = 0; 85 virtual const GrGLSLUniformHandler* uniformHandler() const = 0;
|
D | GrGLSLGeometryProcessor.cpp | 76 GrGLSLUniformHandler* uniformHandler, in collectTransforms() argument 166 GrGLSLUniformHandler* uniformHandler) { in emitTransformCode() argument 192 GrShaderVar uniform = uniformHandler->liftUniformToVertexShader( in emitTransformCode() 252 GrGLSLUniformHandler* uniformHandler, in setupUniformColor() argument 257 *colorUniform = uniformHandler->addUniform(nullptr, in setupUniformColor() 304 GrGLSLUniformHandler* uniformHandler, in write_vertex_position() argument 322 *matrixUniform = uniformHandler->addUniform(nullptr, in write_vertex_position() 385 GrGLSLUniformHandler* uniformHandler, in WriteOutputPosition() argument 393 uniformHandler, in WriteOutputPosition() 403 GrGLSLUniformHandler* uniformHandler, in WriteLocalCoord() argument [all …]
|
D | GrGLSLGeometryProcessor.h | 73 GrGLSLUniformHandler* uniformHandler, in EmitArgs() 84 , fUniformHandler(uniformHandler) in EmitArgs() 115 GrGLSLUniformHandler* uniformHandler); 150 GrGLSLUniformHandler* uniformHandler, 247 GrGLSLUniformHandler* uniformHandler,
|
D | GrGLSLXferProcessor.cpp | 36 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 62 fDstTopLeftUni = uniformHandler->addUniform(nullptr, in emitCode() 67 fDstScaleUni = uniformHandler->addUniform(nullptr, in emitCode() 101 uniformHandler, in emitCode()
|
/external/skqp/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 48 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 …]
|
D | GrGaussianConvolutionFragmentProcessor.cpp | 42 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()
|
D | GrBezierEffect.cpp | 73 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()
|
D | GrDistanceFieldGeoProc.cpp | 36 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/effects/ |
D | GrMatrixConvolutionEffect.cpp | 166 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitKernelBlock() local 180 const char* kernelBias = uniformHandler->getUniformCStr(fKernelBiasUni); in emitKernelBlock() 188 const char* kernel = uniformHandler->getUniformCStr(fKernelUni); in emitKernelBlock() 210 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 212 fKernelBiasUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, in emitCode() 215 fKernelUni = uniformHandler->addUniformArray(&mce, kFragment_GrShaderFlag, in emitCode() 218 fKernelOffsetUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf2_GrSLType, in emitCode() 220 fGainUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf_GrSLType, "Gain"); in emitCode() 221 fBiasUni = uniformHandler->addUniform(&mce, kFragment_GrShaderFlag, kHalf_GrSLType, "Bias"); in emitCode() 223 const char* kernelOffset = uniformHandler->getUniformCStr(fKernelOffsetUni); in emitCode() [all …]
|
D | GrBezierEffect.cpp | 69 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 81 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode() 85 uniformHandler, in onEmitCode() 93 uniformHandler, in onEmitCode() 152 fCoverageScaleUniform = uniformHandler->addUniform(nullptr, in onEmitCode() 280 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 292 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode() 296 uniformHandler, in onEmitCode() 304 uniformHandler, in onEmitCode() 328 fCoverageScaleUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
|
D | GrDistanceFieldGeoProc.cpp | 35 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 41 fAtlasDimensionsInvUniform = uniformHandler->addUniform(nullptr, in onEmitCode() 50 fDistanceAdjustUni = uniformHandler->addUniform(nullptr, kFragment_GrShaderFlag, in onEmitCode() 62 uniformHandler, in onEmitCode() 333 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 339 fAtlasDimensionsInvUniform = uniformHandler->addUniform(nullptr, in onEmitCode() 357 uniformHandler, in onEmitCode() 368 uniformHandler, in onEmitCode() 605 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 611 fAtlasDimensionsInvUniform = uniformHandler->addUniform(nullptr, in onEmitCode() [all …]
|
/external/skia/src/gpu/tessellate/ |
D | GrFillPathShader.cpp | 65 GrGLSLUniformHandler* uniformHandler) const { in emitVertexCode() 72 GrGLSLUniformHandler* uniformHandler) const { in emitVertexCode() 130 GrGLSLUniformHandler* uniformHandler) const { in emitVertexCode() 132 impl->fPathBoundsUniform = uniformHandler->addUniform( in emitVertexCode()
|
/external/skqp/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 82 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()
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 71 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 90 fColorUniform = uniformHandler->addUniform(nullptr, in onEmitCode() 105 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode() 111 uniformHandler, in onEmitCode() 124 uniformHandler, in onEmitCode() 141 fCoverageUniform = uniformHandler->addUniform(nullptr, in onEmitCode()
|
/external/skqp/src/core/ |
D | SkColorMatrixFilterRowMajor255.cpp | 202 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 203 fMatrixHandle = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4x4_GrSLType, in emitCode() 205 fVectorHandle = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf4_GrSLType, in emitCode() 216 uniformHandler->getUniformCStr(fMatrixHandle), in emitCode() 218 uniformHandler->getUniformCStr(fVectorHandle)); in emitCode()
|
/external/skqp/src/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 1815 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 1816 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 1818 fSurfaceScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 1820 fLight->emitLightColorUniform(uniformHandler); in emitCode() 1823 this->emitLightFunc(uniformHandler, fragBuilder, &lightFunc); in emitCode() 1873 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() 1874 const char* surfScale = uniformHandler->getUniformCStr(fSurfaceScaleUni); in emitCode() 1898 fLight->emitSurfaceToLight(uniformHandler, fragBuilder, arg.c_str()); in emitCode() 1902 fLight->emitLightColor(uniformHandler, fragBuilder, "surfaceToLight"); in emitCode() 1937 void GrGLDiffuseLightingEffect::emitLightFunc(GrGLSLUniformHandler* uniformHandler, in emitLightFunc() argument [all …]
|