Lines Matching refs:ctx
37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
40 (void) ctx;
47 load_text_fp (void *ctx, FILE *fp)
58 text = reralloc_size (ctx, text, text_size);
78 load_text_file(void *ctx, const char *filename)
84 return load_text_fp (ctx, stdin);
93 text = load_text_fp (ctx, fp);
137 void *ctx = ralloc(NULL, void*);
138 char *info_log = ralloc_strdup(ctx, "");
169 shader = load_text_file (ctx, filename);
175 ret = glcpp_preprocess(ctx, &shader, &info_log, NULL, NULL, &gl_ctx);
180 ralloc_free(ctx);