Searched refs:gl_ctx (Results 1 – 3 of 3) sorted by relevance
103 init_fake_gl_context (struct gl_context *gl_ctx) in init_fake_gl_context() argument105 gl_ctx->API = API_OPENGL_COMPAT; in init_fake_gl_context()106 gl_ctx->Const.DisableGLSLLineContinuations = false; in init_fake_gl_context()140 struct gl_context gl_ctx; in main() local143 init_fake_gl_context (&gl_ctx); in main()148 gl_ctx.Const.DisableGLSLLineContinuations = true; in main()174 ret = glcpp_preprocess(ctx, &shader, &info_log, NULL, NULL, &gl_ctx); in main()
226 struct gl_context *gl_ctx) in glcpp_preprocess() argument230 glcpp_parser_create(&gl_ctx->Extensions, extensions, state, gl_ctx->API); in glcpp_preprocess()232 if (! gl_ctx->Const.DisableGLSLLineContinuations) in glcpp_preprocess()
946 struct gl_context *gl_ctx);