/external/skia/src/gpu/glsl/ |
D | GrGLSLShaderBuilder.cpp | 64 GrGLSLUniformHandler* uniformHandler = fProgramBuilder->uniformHandler(); in appendTextureLookup() local 65 GrSLType samplerType = uniformHandler->getUniformVariable(sampler.fSamplerUniform).getType(); in appendTextureLookup() 71 uniformHandler->getUniformCStr(sampler.fSamplerUniform), in appendTextureLookup() 72 uniformHandler->getUniformCStr(sampler.fSamplerUniform), in appendTextureLookup() 78 uniformHandler->getUniformCStr(sampler.fSamplerUniform), in appendTextureLookup() 79 uniformHandler->getUniformCStr(sampler.fSamplerUniform), in appendTextureLookup() 86 uniformHandler->getUniformCStr(sampler.fSamplerUniform), in appendTextureLookup()
|
D | GrGLSLProgramBuilder.cpp | 90 this->uniformHandler(), in emitAndInstallPrimProc() 139 this->uniformHandler(), in emitAndInstallFragProc() 185 this->uniformHandler(), in emitAndInstallXferProc() 259 this->uniformHandler()->appendUniformDecls(visibility, out); in appendUniformDecls() 267 this->uniformHandler()->addUniform(kVertex_GrShaderFlag, in addRTAdjustmentUniform() 276 GrGLSLUniformHandler* uniformHandler = this->uniformHandler(); in addRTHeightUniform() local 278 uniformHandler->internalAddUniformArray(kFragment_GrShaderFlag, in addRTHeightUniform()
|
D | GrGLSLXferProcessor.cpp | 22 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 39 fDstTopLeftUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 44 fDstScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 65 uniformHandler, in emitCode()
|
D | GrGLSLPrimitiveProcessor.h | 40 GrGLSLUniformHandler* uniformHandler, in EmitArgs() 51 , fUniformHandler(uniformHandler) in EmitArgs() 96 GrGLSLUniformHandler* uniformHandler,
|
D | GrGLSLGeometryProcessor.h | 47 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument 52 this->emitTransforms(vb, varyingHandler, uniformHandler, in emitTransforms() 82 GrGLSLUniformHandler* uniformHandler,
|
D | GrGLSLGeometryProcessor.cpp | 29 GrGLSLUniformHandler* uniformHandler, in emitTransforms() argument 56 uniformHandler->addUniform(kVertex_GrShaderFlag, in emitTransforms() 135 GrGLSLUniformHandler* uniformHandler, in setupPosition() argument 145 *viewMatrixUniform = uniformHandler->addUniform(kVertex_GrShaderFlag, in setupPosition()
|
D | GrGLSLPrimitiveProcessor.cpp | 38 GrGLSLUniformHandler* uniformHandler, in setupUniformColor() argument 43 *colorUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in setupUniformColor()
|
D | GrGLSLXferProcessor.h | 28 GrGLSLUniformHandler* uniformHandler, in EmitArgs() 38 , fUniformHandler(uniformHandler) in EmitArgs()
|
D | GrGLSLFragmentProcessor.h | 56 GrGLSLUniformHandler* uniformHandler, in EmitArgs() 64 , fUniformHandler(uniformHandler) in EmitArgs()
|
/external/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.cpp | 42 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 43 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 46 fKernelUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, in emitCode() 50 fKernelOffsetUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 53 fGainUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 55 fBiasUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 58 const char* kernelOffset = uniformHandler->getUniformCStr(fKernelOffsetUni); in emitCode() 59 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() 60 const char* kernel = uniformHandler->getUniformCStr(fKernelUni); in emitCode() 61 const char* gain = uniformHandler->getUniformCStr(fGainUni); in emitCode() [all …]
|
D | GrConvolutionEffect.cpp | 37 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 38 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 42 fBoundsUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 49 fKernelUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, in emitCode() 58 const GrGLSLShaderVar& kernel = uniformHandler->getUniformVariable(fKernelUni); in emitCode() 59 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() 74 const char* bounds = uniformHandler->getUniformCStr(fBoundsUni); in emitCode()
|
D | GrBezierEffect.cpp | 81 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 93 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode() 98 uniformHandler, in onEmitCode() 107 uniformHandler, in onEmitCode() 218 fCoverageScaleUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode() 355 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 367 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode() 372 uniformHandler, in onEmitCode() 381 uniformHandler, in onEmitCode() 435 fCoverageScaleUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode() [all …]
|
D | GrDistanceFieldGeoProc.cpp | 43 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 52 fDistanceAdjustUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode() 64 uniformHandler, in onEmitCode() 73 uniformHandler, in onEmitCode() 285 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 301 uniformHandler, in onEmitCode() 310 uniformHandler, in onEmitCode() 317 fTextureSizeUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode() 491 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 505 uniformHandler, in onEmitCode() [all …]
|
D | GrBicubicEffect.cpp | 50 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 51 fCoefficientsUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 54 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 58 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() 59 const char* coeff = uniformHandler->getUniformCStr(fCoefficientsUni); in emitCode()
|
D | GrBitmapTextGeoProc.cpp | 27 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 48 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode() 59 uniformHandler, in onEmitCode()
|
/external/skia/src/effects/gradients/ |
D | SkTwoPointConicalGradient_gpu.cpp | 228 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 229 this->emitUniforms(uniformHandler, ge); in emitCode() 230 fParamUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, in emitCode() 240 uniformHandler->getUniformVariable(fParamUni).appendArrayAccess(0, &p0); in emitCode() 241 uniformHandler->getUniformVariable(fParamUni).appendArrayAccess(1, &p1); in emitCode() 242 uniformHandler->getUniformVariable(fParamUni).appendArrayAccess(2, &p2); in emitCode() 277 uniformHandler, in emitCode() 511 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 512 this->emitUniforms(uniformHandler, ge); in emitCode() 513 fParamUni = uniformHandler->addUniformArray(kFragment_GrShaderFlag, in emitCode() [all …]
|
D | SkGradientShader.cpp | 917 void GrGLGradientEffect::emitUniforms(GrGLSLUniformHandler* uniformHandler, in emitUniforms() argument 921 fColorStartUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitUniforms() 924 fColorEndUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitUniforms() 929 fColorStartUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitUniforms() 932 fColorMidUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitUniforms() 935 fColorEndUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitUniforms() 940 fFSYUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitUniforms() 1025 GrGLSLUniformHandler* uniformHandler, in emitColor() argument 1034 uniformHandler->getUniformVariable(fColorStartUni).c_str(), in emitColor() 1035 uniformHandler->getUniformVariable(fColorEndUni).c_str(), in emitColor() [all …]
|
/external/skia/src/effects/ |
D | SkMagnifierImageFilter.cpp | 118 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 119 fOffsetVar = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 122 fInvZoomVar = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 125 fInvInsetVar = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 128 fBoundsVar = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 136 uniformHandler->getUniformCStr(fOffsetVar), in emitCode() 138 uniformHandler->getUniformCStr(fInvZoomVar)); in emitCode() 139 const char* bounds = uniformHandler->getUniformCStr(fBoundsVar); in emitCode() 143 uniformHandler->getUniformCStr(fInvInsetVar)); in emitCode()
|
D | SkLightingImageFilter.cpp | 1732 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 1733 fImageIncrementUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 1736 fSurfaceScaleUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 1739 fLight->emitLightColorUniform(uniformHandler); in emitCode() 1742 this->emitLightFunc(uniformHandler, fragBuilder, &lightFunc); in emitCode() 1792 const char* imgInc = uniformHandler->getUniformCStr(fImageIncrementUni); in emitCode() 1793 const char* surfScale = uniformHandler->getUniformCStr(fSurfaceScaleUni); in emitCode() 1817 fLight->emitSurfaceToLight(uniformHandler, fragBuilder, arg.c_str()); in emitCode() 1821 fLight->emitLightColor(uniformHandler, fragBuilder, "surfaceToLight"); in emitCode() 1856 void GrGLDiffuseLightingEffect::emitLightFunc(GrGLSLUniformHandler* uniformHandler, in emitLightFunc() argument [all …]
|
D | SkColorCubeFilter.cpp | 240 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 241 fColorCubeSizeUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 244 const char* colorCubeSizeUni = uniformHandler->getUniformCStr(fColorCubeSizeUni); in emitCode() 245 fColorCubeInvSizeUni = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 248 const char* colorCubeInvSizeUni = uniformHandler->getUniformCStr(fColorCubeInvSizeUni); in emitCode()
|
D | SkAlphaThresholdFilter.cpp | 167 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 168 fInnerThresholdVar = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 171 fOuterThresholdVar = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 189 uniformHandler->getUniformCStr(fInnerThresholdVar)); in emitCode() 191 uniformHandler->getUniformCStr(fOuterThresholdVar)); in emitCode()
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 70 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in onEmitCode() local 80 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, in onEmitCode() 87 uniformHandler, in onEmitCode() 97 uniformHandler, in onEmitCode() 114 uniformHandler, in onEmitCode() 132 fCoverageUniform = uniformHandler->addUniform(kFragment_GrShaderFlag, in onEmitCode()
|
/external/skia/src/gpu/vk/ |
D | GrVkProgramBuilder.h | 61 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler() function 62 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler() function
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.h | 59 GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } in uniformHandler() function 60 const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } in uniformHandler() function
|
/external/skia/src/core/ |
D | SkColorMatrixFilterRowMajor255.cpp | 259 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; in emitCode() local 260 fMatrixHandle = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 263 fVectorHandle = uniformHandler->addUniform(kFragment_GrShaderFlag, in emitCode() 278 uniformHandler->getUniformCStr(fMatrixHandle), in emitCode() 280 uniformHandler->getUniformCStr(fVectorHandle)); in emitCode()
|