Home | History | Annotate | Download | only in glcpp

Lines Matching full:ctx

34 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
37 (void) ctx;
44 load_text_fp (void *ctx, FILE *fp)
55 text = reralloc_size (ctx, text, text_size);
75 load_text_file(void *ctx, const char *filename)
81 return load_text_fp (ctx, stdin);
90 text = load_text_fp (ctx, fp);
101 void *ctx = ralloc(NULL, void*);
102 char *info_log = ralloc_strdup(ctx, "");
110 shader = load_text_file (ctx, filename);
114 ret = glcpp_preprocess(ctx, &shader, &info_log, NULL, API_OPENGL);
119 ralloc_free(ctx);