Lines Matching refs:gl_context
40 static void InitializeGLContext(struct gl_context *ctx)
72 const gl_context * ctx;
74 ctx = hieralloc_zero(NULL, gl_context);
75 // ctx = (const gl_context*)calloc(1,sizeof(gl_context));
76 InitializeGLContext(const_cast<gl_context *>(ctx));
82 hieralloc_free(const_cast<gl_context *>(ctx));
83 // free(const_cast<gl_context *>(ctx));
128 extern void link_shaders(const struct gl_context *ctx, struct gl_shader_program *prog);
130 extern "C" void compile_shader(const struct gl_context *ctx, struct gl_shader *shader);