Lines Matching refs:gl_shader
56 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
57 struct gl_shader *sh)
67 struct gl_shader *old = *ptr;
95 _mesa_init_shader(struct gl_context *ctx, struct gl_shader *shader)
101 * Allocate a new gl_shader object, initialize it.
104 struct gl_shader *
107 struct gl_shader *shader;
110 shader = rzalloc(NULL, struct gl_shader);
125 _mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh)
137 struct gl_shader *
141 struct gl_shader *sh = (struct gl_shader *)
143 /* Note that both gl_shader and gl_shader_program objects are kept
159 struct gl_shader *
167 struct gl_shader *sh = (struct gl_shader *)
384 /* Note that both gl_shader and gl_shader_program objects are kept