Home
last modified time | relevance | path

Searched refs:cur_ctx (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_context.c89 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()
Dnvc0_screen.h27 struct nvc0_context *cur_ctx; member
Dnvc0_state_validate.c451 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()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_context.c65 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()
Dnv50_state_validate.c301 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()
Dnv50_screen.h29 struct nv50_context *cur_ctx; member
Dnv50_vbo.c712 nv50_bufctx_fence(screen->cur_ctx->bufctx_3d, TRUE); in nv50_draw_vbo_kick_notify()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_context.c92 if (nv30->screen->cur_ctx == nv30) in nv30_context_destroy()
93 nv30->screen->cur_ctx = NULL; in nv30_context_destroy()
Dnv30_screen.h22 struct nv30_context *cur_ctx; member
Dnv30_state_validate.c433 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()
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwmesa.c1122 GET_CURRENT_CONTEXT(cur_ctx); in WMesaDestroyContext()
1124 if (cur_ctx == ctx) { in WMesaDestroyContext()