Lines Matching +full:- +full:fvisibility
4 * Use of this source code is governed by a BSD-style license that can be
16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
17 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
51 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); in internalAddUniformArray()
53 uni.fVisibility = visibility; in internalAddUniformArray()
54 uni.fLocation = -1; in internalAddUniformArray()
59 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray()
70 fProgramBuilder->nameVariable(&mangleName, prefix, name, true); in addSampler()
72 GrSwizzle swizzle = shaderCaps->configTextureSwizzle(texture->config()); in addSampler()
73 GrTextureType type = texture->texturePriv().textureType(); in addSampler()
79 sampler.fLocation = -1; in addSampler()
80 sampler.fVisibility = kFragment_GrShaderFlag; in addSampler()
83 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler()
88 if (fUniforms[i].fVisibility & visibility) { in appendUniformDecls()
89 fUniforms[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
90 out->append(";"); in appendUniformDecls()
94 if (fSamplers[i].fVisibility & visibility) { in appendUniformDecls()
95 fSamplers[i].fVariable.appendDecl(fProgramBuilder->shaderCaps(), out); in appendUniformDecls()
96 out->append(";\n"); in appendUniformDecls()
133 return glPB->gpu(); in glGpu()