Lines Matching refs:grctx
5336 struct vrend_context *grctx = CALLOC_STRUCT(vrend_context); in vrend_create_context() local
5338 if (!grctx) in vrend_create_context()
5342 strncpy(grctx->debug_name, debug_name, 64); in vrend_create_context()
5345 grctx->ctx_id = id; in vrend_create_context()
5347 list_inithead(&grctx->sub_ctxs); in vrend_create_context()
5348 list_inithead(&grctx->active_nontimer_query_list); in vrend_create_context()
5350 grctx->res_hash = vrend_object_init_ctx_table(); in vrend_create_context()
5352 grctx->shader_cfg.use_gles = vrend_state.use_gles; in vrend_create_context()
5353 grctx->shader_cfg.use_core_profile = vrend_state.use_core_profile; in vrend_create_context()
5354 grctx->shader_cfg.use_explicit_locations = vrend_state.use_explicit_locations; in vrend_create_context()
5355 grctx->shader_cfg.max_draw_buffers = vrend_state.max_draw_buffers; in vrend_create_context()
5356 vrend_renderer_create_sub_ctx(grctx, 0); in vrend_create_context()
5357 vrend_renderer_set_sub_ctx(grctx, 0); in vrend_create_context()
5359 vrender_get_glsl_version(&grctx->shader_cfg.glsl_version); in vrend_create_context()
5361 list_addtail(&grctx->ctx_entry, &vrend_state.active_ctx_list); in vrend_create_context()
5362 return grctx; in vrend_create_context()