Lines Matching refs:ShaderProg
236 GLuint ShaderProg; member
296 GLuint ShaderProg; member
1930 clear->ShaderProg = _mesa_CreateProgramObjectARB(); in meta_glsl_clear_init()
1931 _mesa_AttachShader(clear->ShaderProg, fs); in meta_glsl_clear_init()
1933 _mesa_AttachShader(clear->ShaderProg, vs); in meta_glsl_clear_init()
1935 _mesa_BindAttribLocationARB(clear->ShaderProg, 0, "position"); in meta_glsl_clear_init()
1936 _mesa_LinkProgramARB(clear->ShaderProg); in meta_glsl_clear_init()
1938 clear->ColorLocation = _mesa_GetUniformLocationARB(clear->ShaderProg, in meta_glsl_clear_init()
1973 _mesa_DeleteObjectARB(clear->ShaderProg); in meta_glsl_clear_cleanup()
1974 clear->ShaderProg = 0; in meta_glsl_clear_cleanup()
2029 _mesa_UseProgramObjectARB(clear->ShaderProg); in _mesa_meta_glsl_Clear()
3117 mipmap->ShaderProg = sampler->shader_prog; in setup_glsl_generate_mipmap()
3185 mipmap->ShaderProg = _mesa_CreateProgramObjectARB(); in setup_glsl_generate_mipmap()
3186 _mesa_AttachShader(mipmap->ShaderProg, fs); in setup_glsl_generate_mipmap()
3188 _mesa_AttachShader(mipmap->ShaderProg, vs); in setup_glsl_generate_mipmap()
3190 _mesa_BindAttribLocationARB(mipmap->ShaderProg, 0, "position"); in setup_glsl_generate_mipmap()
3191 _mesa_BindAttribLocationARB(mipmap->ShaderProg, 1, "texcoords"); in setup_glsl_generate_mipmap()
3194 link_program_with_debug(ctx, mipmap->ShaderProg); in setup_glsl_generate_mipmap()
3195 sampler->shader_prog = mipmap->ShaderProg; in setup_glsl_generate_mipmap()
3277 _mesa_UseProgramObjectARB(mipmap->ShaderProg); in _mesa_meta_GenerateMipmap()