Lines Matching refs:effect
63 static uint32_t gen_attrib_key(const GrGeometryProcessor* effect) {
66 const GrGeometryProcessor::VertexAttribArray& vars = effect->getVertexAttribs();
99 static uint32_t gen_texture_key(const GrProcessor* effect, const GrGLCaps& caps) {
101 int numTextures = effect->numTextures();
103 const GrTextureAccess& access = effect->textureAccess(t);
114 * be dependent on properties of the effect that the effect itself doesn't use
116 * every effect using this function. It is also responsible for inserting the effect's class ID
117 * which must be different for every GrProcessor subclass. It can fail if an effect uses too many
148 const GrProcessor& effect = *stage.getProcessor();
149 const GrBackendProcessorFactory& factory = effect.getFactory();
150 factory.getGLProcessorKey(effect, caps, b);
168 const GrProcessor& effect = *stage.getProcessor();
169 const GrBackendProcessorFactory& factory = effect.getFactory();
170 factory.getGLProcessorKey(effect, caps, b);
221 // Make room for everything up to and including the array of offsets to effect keys.
231 // We can only have one effect which touches the vertex shader