Lines Matching refs:programId
724 GrGLuint programId,
776 GR_GL_CALL(gli, AttachShader(programId, shaderId));
781 bool GrGLShaderBuilder::compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const {
797 GrGLuint fragShaderId = attach_shader(fGpu->glContext(), programId, GR_GL_FRAGMENT_SHADER, fragShaderSrc);
807 void GrGLShaderBuilder::bindProgramLocations(GrGLuint programId) const {
809 GL_CALL(BindFragDataLocation(programId, 0, declared_color_output_name()));
812 GL_CALL(BindFragDataLocationIndexed(programId, 0, 1, dual_source_output_name()));
986 bool GrGLFullShaderBuilder::compileAndAttachShaders(GrGLuint programId,
996 GrGLuint vertShaderId = attach_shader(glCtx, programId, GR_GL_VERTEX_SHADER, vertShaderSrc);
1026 GrGLuint geomShaderId = attach_shader(glCtx, programId, GR_GL_GEOMETRY_SHADER, geomShaderSrc);
1034 return this->INHERITED::compileAndAttachShaders(programId, shaderIds);
1037 void GrGLFullShaderBuilder::bindProgramLocations(GrGLuint programId) const {
1038 this->INHERITED::bindProgramLocations(programId);
1044 GL_CALL(BindAttribLocation(programId,
1048 GL_CALL(BindAttribLocation(programId,
1053 GL_CALL(BindAttribLocation(programId,
1058 GL_CALL(BindAttribLocation(programId,
1065 GL_CALL(BindAttribLocation(programId, attrib->fIndex, attrib->fName.c_str()));