Home | History | Annotate | Download | only in main

Lines Matching refs:Name

72         (void*) old, old->Name, old->RefCount);*/
76 if (old->Name != 0)
77 _mesa_HashRemove(ctx->Shared->ShaderObjects, old->Name);
89 (void*) sh, sh->Name, sh->RefCount);*/
105 _mesa_new_shader(struct gl_context *ctx, GLuint name, GLenum type)
113 shader->Name = name;
138 _mesa_lookup_shader(struct gl_context *ctx, GLuint name)
140 if (name) {
142 _mesa_HashLookup(ctx->Shared->ShaderObjects, name);
160 _mesa_lookup_shader_err(struct gl_context *ctx, GLuint name, const char *caller)
162 if (!name) {
168 _mesa_HashLookup(ctx->Shared->ShaderObjects, name);
213 (void *) old, old->Name, old->RefCount);
218 if (old->Name != 0)
219 _mesa_HashRemove(ctx->Shared->ShaderObjects, old->Name);
231 (void *) shProg, shProg->Name, shProg->RefCount);
263 _mesa_new_shader_program(struct gl_context *ctx, GLuint name)
268 shProg->Name = name;
378 _mesa_lookup_shader_program(struct gl_context *ctx, GLuint name)
381 if (name) {
383 _mesa_HashLookup(ctx->Shared->ShaderObjects, name);
401 _mesa_lookup_shader_program_err(struct gl_context *ctx, GLuint name,
404 if (!name) {
410 _mesa_HashLookup(ctx->Shared->ShaderObjects, name);