Searched refs:current_ctx (Results 1 – 2 of 2) sorted by relevance
388 PyContext *current_ctx = (PyContext *)ts->context; in context_get() local389 if (current_ctx == NULL) { in context_get()390 current_ctx = context_new_empty(); in context_get()391 if (current_ctx == NULL) { in context_get()394 ts->context = (PyObject *)current_ctx; in context_get()396 return current_ctx; in context_get()
217 struct vrend_context *current_ctx; member5216 vrend_state.current_ctx = NULL; in vrend_renderer_fini()5290 bool switch_0 = (ctx == vrend_state.current_ctx); in vrend_destroy_context()5291 struct vrend_context *cur = vrend_state.current_ctx; in vrend_destroy_context()5294 vrend_state.current_ctx = NULL; in vrend_destroy_context()7496 if (ctx == vrend_state.current_ctx && ctx->ctx_switch_pending == false) in vrend_hw_switch_context()7507 vrend_state.current_ctx = ctx; in vrend_hw_switch_context()8327 vrend_state.current_ctx = NULL; in vrend_renderer_force_ctx_0()