/external/skia/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 87 fUniformHandles.fRTAdjustmentUni = this->uniformHandler()->addUniform( in emitAndInstallPrimProc() 92 this->uniformHandler()->getUniformCStr(fUniformHandles.fRTAdjustmentUni); in emitAndInstallPrimProc() 122 this->uniformHandler(), in emitAndInstallPrimProc() 203 this->uniformHandler(), in emitAndInstallFragProc() 268 this->uniformHandler(), in emitAndInstallXferProc() 289 return this->uniformHandler()->addSampler(texture, state, name, this->shaderCaps()); in emitSampler() 364 this->uniformHandler()->appendUniformDecls(visibility, out); in appendUniformDecls() 369 GrGLSLUniformHandler* uniformHandler = this->uniformHandler(); in addRTWidthUniform() local 371 uniformHandler->internalAddUniformArray(kFragment_GrShaderFlag, kHalf_GrSLType, name, in addRTWidthUniform() 377 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 | 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 | GrGLSLGeometryProcessor.h | 44 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument 47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms() 66 GrGLSLUniformHandler* uniformHandler,
|
D | GrGLSLProgramBuilder.h | 55 return this->uniformHandler()->samplerVariable(handle); in samplerVariable() 59 return this->uniformHandler()->samplerSwizzle(handle); in samplerSwizzle() 75 virtual GrGLSLUniformHandler* uniformHandler() = 0; 76 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/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 | 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 | GrGLSLGeometryProcessor.h | 44 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument 47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms() 66 GrGLSLUniformHandler* uniformHandler,
|
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/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 | 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() 50 fDistanceAdjustUni = uniformHandler->addUniform(kFragment_GrShaderFlag, kHalf_GrSLType, in onEmitCode() 63 uniformHandler, in onEmitCode() 335 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 341 fAtlasSizeInvUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in onEmitCode() 359 uniformHandler, in onEmitCode() 368 uniformHandler, in onEmitCode() 378 uniformHandler, in onEmitCode() 623 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local [all …]
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 72 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 91 fColorUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in onEmitCode() 103 fColorSpaceHelper.emitCode(uniformHandler, gp.fColorSpaceXform.get(), in onEmitCode() 121 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode() 127 uniformHandler, in onEmitCode() 137 uniformHandler, in onEmitCode() 145 uniformHandler, in onEmitCode() 160 fCoverageUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode()
|
/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/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 1817 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 1818 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 1820 fSurfaceScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 1822 fLight->emitLightColorUniform(uniformHandler); in emitCode() 1825 this->emitLightFunc(uniformHandler, fragBuilder, &lightFunc); in emitCode() 1875 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() 1876 const char* surfScale = uniformHandler->getUniformCStr(fSurfaceScaleUni); in emitCode() 1900 fLight->emitSurfaceToLight(uniformHandler, fragBuilder, arg.c_str()); in emitCode() 1904 fLight->emitLightColor(uniformHandler, fragBuilder, "surfaceToLight"); in emitCode() 1939 void GrGLDiffuseLightingEffect::emitLightFunc(GrGLSLUniformHandler* uniformHandler, in emitLightFunc() argument [all …]
|