Home
last modified time | relevance | path

Searched refs:fProgramBuilder (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/gl/builders/
DGrGLFragmentShaderBuilder.cpp12 #define GL_CALL(X) GR_GL_CALL(fProgramBuilder->gpu()->glInterface(), X)
13 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fProgramBuilder->gpu()->glInterface(), R, X)
122 GrGLGpu* gpu = fProgramBuilder->gpu(); in enableFeature()
158 GrGLGpu* gpu = fProgramBuilder->gpu(); in fragmentPosition()
183 GrGLProgramBuilder::AutoStageRestore asr(fProgramBuilder); in fragmentPosition()
184 SkASSERT(!fProgramBuilder->fUniformHandles.fRTHeightUni.isValid()); in fragmentPosition()
187 fProgramBuilder->fUniformHandles.fRTHeightUni = in fragmentPosition()
188 fProgramBuilder->addUniform(GrGLProgramBuilder::kFragment_Visibility, in fragmentPosition()
201 SkASSERT(fProgramBuilder->fUniformHandles.fRTHeightUni.isValid()); in fragmentPosition()
209 GrGLGpu* gpu = fProgramBuilder->gpu(); in dstColor()
[all …]
DGrGLVertexShaderBuilder.cpp12 #define GL_CALL(X) GR_GL_CALL(fProgramBuilder->gpu()->glInterface(), X)
13 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fProgramBuilder->gpu()->glInterface(), R, X)
24 fProgramBuilder->nameVariable(fOutputs.back().accessName(), 'v', name); in addVarying()
40 fProgramBuilder->fUniformHandles.fRTAdjustmentUni = in transformToNormalizedDeviceSpace()
41 fProgramBuilder->addUniform(GrGLProgramBuilder::kVertex_Visibility, in transformToNormalizedDeviceSpace()
43 fProgramBuilder->rtAdjustment(), in transformToNormalizedDeviceSpace()
72 const GrPrimitiveProcessor& primProc = fProgramBuilder->primitiveProcessor(); in bindVertexAttributes()
83 this->versionDecl() = GrGetGLSLVersionDecl(fProgramBuilder->ctxInfo()); in compileAndAttachShaders()
85 fProgramBuilder->appendUniformDecls(GrGLProgramBuilder::kVertex_Visibility, &this->uniforms()); in compileAndAttachShaders()
DGrGLShaderBuilder.cpp59 : fProgramBuilder(program) in GrGLShaderBuilder()
77 var.appendDecl(fProgramBuilder->ctxInfo(), &tempDecl); in declAppend()
88 fProgramBuilder->nameVariable(outName, '\0', name); in emitFunction()
91 const GrGLContextInfo& ctxInfo = fProgramBuilder->gpu()->ctxInfo(); in emitFunction()
108 fProgramBuilder->gpu(), in appendTextureLookup()
109 fProgramBuilder->getUniformCStr(sampler.fSamplerUniform), in appendTextureLookup()
157 vars[i].appendDecl(fProgramBuilder->ctxInfo(), out); in appendDecls()
167 fProgramBuilder->gpu(), in appendTextureLookup()
176 SkASSERT(fProgramBuilder->gpu()->glslGeneration() >= k330_GrGLSLGeneration || in addLayoutQualifier()
177 fProgramBuilder->gpu()->glCaps().glslCaps()->mustEnableAdvBlendEqs()); in addLayoutQualifier()
[all …]
DGrGLShaderBuilder.h106 GrGLProgramBuilder* getProgramBuilder() { return fProgramBuilder; } in getProgramBuilder()
190 GrGLProgramBuilder* fProgramBuilder; variable
DGrGLGeometryShaderBuilder.cpp33 fProgramBuilder->nameVariable(fOutputs.back().accessName(), 'g', name); in addVarying()
DGrGLProgramBuilder.cpp347 if (k110_GrGLSLGeneration != fFS.fProgramBuilder->gpu()->glslGeneration()) { in emitAndInstallXferProc()