Lines Matching refs:ctx_params
5039 struct virgl_gl_ctx_param ctx_params; in vrend_renderer_use_threaded_sync() local
5044 ctx_params.shared = true; in vrend_renderer_use_threaded_sync()
5045 ctx_params.major_ver = vrend_state.gl_major_ver; in vrend_renderer_use_threaded_sync()
5046 ctx_params.minor_ver = vrend_state.gl_minor_ver; in vrend_renderer_use_threaded_sync()
5050 vrend_state.sync_context = vrend_clicbs->create_gl_context(0, &ctx_params); in vrend_renderer_use_threaded_sync()
5097 struct virgl_gl_ctx_param ctx_params; in vrend_renderer_init() local
5105 ctx_params.shared = false; in vrend_renderer_init()
5107 ctx_params.major_ver = gl_versions[i].major; in vrend_renderer_init()
5108 ctx_params.minor_ver = gl_versions[i].minor; in vrend_renderer_init()
5110 gl_context = vrend_clicbs->create_gl_context(0, &ctx_params); in vrend_renderer_init()
8450 struct virgl_gl_ctx_param ctx_params; in vrend_renderer_create_sub_ctx() local
8463 ctx_params.shared = (ctx->ctx_id == 0 && sub_ctx_id == 0) ? false : true; in vrend_renderer_create_sub_ctx()
8464 ctx_params.major_ver = vrend_state.gl_major_ver; in vrend_renderer_create_sub_ctx()
8465 ctx_params.minor_ver = vrend_state.gl_minor_ver; in vrend_renderer_create_sub_ctx()
8466 sub->gl_context = vrend_clicbs->create_gl_context(0, &ctx_params); in vrend_renderer_create_sub_ctx()