Searched refs:cur_ctx (Results 1 – 11 of 11) sorted by relevance
89 if (nvc0->screen->cur_ctx == nvc0) { in nvc0_destroy()91 nvc0->screen->cur_ctx = NULL; in nvc0_destroy()113 if (screen->cur_ctx) in nvc0_default_kick_notify()114 screen->cur_ctx->state.flushed = TRUE; in nvc0_default_kick_notify()155 if (!screen->cur_ctx) { in nvc0_create()156 screen->cur_ctx = nvc0; in nvc0_create()
27 struct nvc0_context *cur_ctx; member
451 struct nvc0_context *ctx_from = ctx_to->screen->cur_ctx; in nvc0_switch_pipe_context()481 ctx_to->screen->cur_ctx = ctx_to; in nvc0_switch_pipe_context()526 if (nvc0->screen->cur_ctx != nvc0) in nvc0_state_validate()
65 if (screen->cur_ctx) in nv50_default_kick_notify()66 screen->cur_ctx->state.flushed = TRUE; in nv50_default_kick_notify()100 if (nv50_context_screen(nv50)->cur_ctx == nv50) { in nv50_destroy()102 nv50_context_screen(nv50)->cur_ctx = NULL; in nv50_destroy()157 if (!screen->cur_ctx) { in nv50_create()158 screen->cur_ctx = nv50; in nv50_create()
301 struct nv50_context *ctx_from = ctx_to->screen->cur_ctx; in nv50_switch_pipe_context()327 ctx_to->screen->cur_ctx = ctx_to; in nv50_switch_pipe_context()376 if (nv50->screen->cur_ctx != nv50) in nv50_state_validate()
29 struct nv50_context *cur_ctx; member
712 nv50_bufctx_fence(screen->cur_ctx->bufctx_3d, TRUE); in nv50_draw_vbo_kick_notify()
92 if (nv30->screen->cur_ctx == nv30) in nv30_context_destroy()93 nv30->screen->cur_ctx = NULL; in nv30_context_destroy()
22 struct nv30_context *cur_ctx; member
433 struct nv30_context *prev = nv30->screen->cur_ctx; in nv30_state_context_switch()454 nv30->screen->cur_ctx = nv30; in nv30_state_context_switch()467 if (nv30->screen->cur_ctx != nv30) in nv30_state_validate()
1122 GET_CURRENT_CONTEXT(cur_ctx); in WMesaDestroyContext()1124 if (cur_ctx == ctx) { in WMesaDestroyContext()