Lines Matching refs:shaderId
123 GrGLuint shaderId; in GrGLCompileAndAttachShader() local
124 GR_GL_CALL_RET(gli, shaderId, CreateShader(type)); in GrGLCompileAndAttachShader()
125 if (0 == shaderId) { in GrGLCompileAndAttachShader()
128 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &glsl, &glslLength)); in GrGLCompileAndAttachShader()
131 GR_GL_CALL(gli, CompileShader(shaderId)); in GrGLCompileAndAttachShader()
140 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_COMPILE_STATUS, &compiled)); in GrGLCompileAndAttachShader()
146 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); in GrGLCompileAndAttachShader()
152 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, &length, (char*)log.get())); in GrGLCompileAndAttachShader()
160 GR_GL_CALL(gli, DeleteShader(shaderId)); in GrGLCompileAndAttachShader()
174 GR_GL_CALL(gli, AttachShader(programId, shaderId)); in GrGLCompileAndAttachShader()
175 return shaderId; in GrGLCompileAndAttachShader()