Home
last modified time | relevance | path

Searched refs:nctx (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c59 struct nouveau_context *nctx; in nouveau_context_create() local
95 nctx = to_nouveau_context(ctx); in nouveau_context_create()
96 nctx->dri_context = dri_ctx; in nouveau_context_create()
107 NULL, &nctx->fence)) { in nouveau_context_create()
121 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_context_init() local
125 nctx->screen = screen; in nouveau_context_init()
126 nctx->fallback = HWTNL; in nouveau_context_init()
154 }, sizeof(struct nv04_fifo), &nctx->hw.chan); in nouveau_context_init()
161 ret = nouveau_client_new(context_dev(ctx), &nctx->hw.client); in nouveau_context_init()
168 ret = nouveau_pushbuf_new(nctx->hw.client, nctx->hw.chan, 4, in nouveau_context_init()
[all …]
Dnv10_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); in use_fast_zclear() local
49 nctx->hierz.clear_blocked = GL_TRUE; in use_fast_zclear()
54 return !nctx->hierz.clear_blocked && in use_fast_zclear()
62 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_use_viewport_zclear() local
67 !nctx->hierz.clear_blocked && depthRb && in nv10_use_viewport_zclear()
75 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_transform_depth() local
78 return 2097152.0 * (z + (nctx->hierz.clear_seq & 7)); in nv10_transform_depth()
97 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_zclear() local
118 nctx->hierz.clear_seq++; in nv10_zclear()
121 if ((nctx->hierz.clear_seq & 7) != 0 && in nv10_zclear()
[all …]
Dnv04_context.c51 struct nv04_context *nctx = to_nv04_context(ctx); in nv04_context_engine() local
68 if (fahrenheit != nctx->eng3d) { in nv04_context_engine()
71 nctx->eng3d = fahrenheit; in nv04_context_engine()
126 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv04_context_destroy() local
132 nouveau_object_del(&nctx->hw.eng3d); in nv04_context_destroy()
133 nouveau_object_del(&nctx->hw.eng3dm); in nv04_context_destroy()
134 nouveau_object_del(&nctx->hw.surf3d); in nv04_context_destroy()
144 struct nv04_context *nctx; in nv04_context_create() local
149 nctx = CALLOC_STRUCT(nv04_context); in nv04_context_create()
150 if (!nctx) in nv04_context_create()
[all …]
Dnouveau_driver.c61 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_flush() local
68 __DRIscreen *screen = nctx->screen->dri_screen; in nouveau_flush()
70 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv; in nouveau_flush()
79 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_finish() local
82 { nctx->fence, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR }; in nouveau_finish()
92 nouveau_bo_wait(nctx->fence, NOUVEAU_BO_RDWR, context_client(ctx)); in nouveau_finish()
Dnv10_state_tnl.c134 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_fog() local
137 unsigned source = nctx->fallback == HWTNL ? in nv10_emit_fog()
173 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_light_enable() local
178 if (nctx->fallback != HWTNL) { in nv10_emit_light_enable()
439 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_modelview() local
443 if (nctx->fallback != HWTNL) in nv10_emit_modelview()
471 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_projection() local
481 if (nctx->fallback == HWTNL) in nv10_emit_projection()
Dnouveau_vbo_t.c233 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_maybe_split() local
235 struct nouveau_bufctx *bufctx = nctx->hw.bufctx; in vbo_maybe_split()
361 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_draw_vbo() local
378 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_vbo()
412 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_draw_imm() local
418 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_imm()
494 struct nouveau_context *nctx = to_nouveau_context(ctx); in TAG() local
498 if (nctx->fallback == HWTNL) in TAG()
503 if (nctx->fallback == SWTNL) in TAG()
Dnv20_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_clear() local
48 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in nv20_clear()
428 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_context_destroy() local
434 nouveau_object_del(&nctx->hw.eng3d); in nv20_context_destroy()
444 struct nouveau_context *nctx; in nv20_context_create() local
449 nctx = CALLOC_STRUCT(nouveau_context); in nv20_context_create()
450 if (!nctx) in nv20_context_create()
453 ctx = &nctx->base; in nv20_context_create()
488 NULL, 0, &nctx->hw.eng3d); in nv20_context_create()
Dnv20_state_tnl.c153 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_fog() local
156 unsigned source = nctx->fallback == HWTNL ? in nv20_emit_fog()
335 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_modelview() local
339 if (nctx->fallback != HWTNL) in nv20_emit_modelview()
362 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_projection() local
369 if (nctx->fallback == HWTNL) in nv20_emit_projection()
Dnv10_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_tex_gen() local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv10_emit_tex_gen()
71 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_tex_mat() local
74 if (nctx->fallback == HWTNL && in nv10_emit_tex_mat()
Dnv20_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_tex_gen() local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv20_emit_tex_gen()
69 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_tex_mat() local
72 if (nctx->fallback == HWTNL && in nv20_emit_tex_mat()
Dnouveau_state.c446 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_next_dirty_state() local
447 int i = BITSET_FFS(nctx->dirty) - 1; in nouveau_next_dirty_state()
458 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_state_emit() local
463 BITSET_CLEAR(nctx->dirty, i); in nouveau_state_emit()
467 BITSET_ZERO(nctx->dirty); in nouveau_state_emit()
514 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_state_init() local
555 BITSET_ONES(nctx->dirty); in nouveau_state_init()
Dnv10_state_fb.c203 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_zclear() local
210 PUSH_DATAb(push, !nctx->hierz.clear_blocked); in nv10_emit_zclear()
212 (nctx->hierz.clear_seq & 0xff)); in nv10_emit_zclear()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c59 struct nouveau_context *nctx; in nouveau_context_create() local
95 nctx = to_nouveau_context(ctx); in nouveau_context_create()
96 nctx->dri_context = dri_ctx; in nouveau_context_create()
107 NULL, &nctx->fence)) { in nouveau_context_create()
121 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_context_init() local
125 nctx->screen = screen; in nouveau_context_init()
126 nctx->fallback = HWTNL; in nouveau_context_init()
154 }, sizeof(struct nv04_fifo), &nctx->hw.chan); in nouveau_context_init()
161 ret = nouveau_client_new(context_dev(ctx), &nctx->hw.client); in nouveau_context_init()
168 ret = nouveau_pushbuf_new(nctx->hw.client, nctx->hw.chan, 4, in nouveau_context_init()
[all …]
Dnv10_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); in use_fast_zclear() local
49 nctx->hierz.clear_blocked = GL_TRUE; in use_fast_zclear()
54 return !nctx->hierz.clear_blocked && in use_fast_zclear()
62 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_use_viewport_zclear() local
67 !nctx->hierz.clear_blocked && depthRb && in nv10_use_viewport_zclear()
75 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_transform_depth() local
78 return 2097152.0 * (z + (nctx->hierz.clear_seq & 7)); in nv10_transform_depth()
97 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_zclear() local
118 nctx->hierz.clear_seq++; in nv10_zclear()
121 if ((nctx->hierz.clear_seq & 7) != 0 && in nv10_zclear()
[all …]
Dnv04_context.c51 struct nv04_context *nctx = to_nv04_context(ctx); in nv04_context_engine() local
68 if (fahrenheit != nctx->eng3d) { in nv04_context_engine()
71 nctx->eng3d = fahrenheit; in nv04_context_engine()
126 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv04_context_destroy() local
132 nouveau_object_del(&nctx->hw.eng3d); in nv04_context_destroy()
133 nouveau_object_del(&nctx->hw.eng3dm); in nv04_context_destroy()
134 nouveau_object_del(&nctx->hw.surf3d); in nv04_context_destroy()
144 struct nv04_context *nctx; in nv04_context_create() local
149 nctx = CALLOC_STRUCT(nv04_context); in nv04_context_create()
150 if (!nctx) in nv04_context_create()
[all …]
Dnouveau_driver.c61 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_flush() local
68 __DRIscreen *screen = nctx->screen->dri_screen; in nouveau_flush()
70 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv; in nouveau_flush()
79 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_finish() local
82 { nctx->fence, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR }; in nouveau_finish()
92 nouveau_bo_wait(nctx->fence, NOUVEAU_BO_RDWR, context_client(ctx)); in nouveau_finish()
Dnv10_state_tnl.c134 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_fog() local
137 unsigned source = nctx->fallback == HWTNL ? in nv10_emit_fog()
173 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_light_enable() local
178 if (nctx->fallback != HWTNL) { in nv10_emit_light_enable()
439 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_modelview() local
443 if (nctx->fallback != HWTNL) in nv10_emit_modelview()
471 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_projection() local
481 if (nctx->fallback == HWTNL) in nv10_emit_projection()
Dnouveau_vbo_t.c233 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_maybe_split() local
235 struct nouveau_bufctx *bufctx = nctx->hw.bufctx; in vbo_maybe_split()
361 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_draw_vbo() local
378 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_vbo()
412 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_draw_imm() local
418 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_imm()
494 struct nouveau_context *nctx = to_nouveau_context(ctx); in TAG() local
498 if (nctx->fallback == HWTNL) in TAG()
503 if (nctx->fallback == SWTNL) in TAG()
Dnv20_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_clear() local
48 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in nv20_clear()
428 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_context_destroy() local
434 nouveau_object_del(&nctx->hw.eng3d); in nv20_context_destroy()
444 struct nouveau_context *nctx; in nv20_context_create() local
449 nctx = CALLOC_STRUCT(nouveau_context); in nv20_context_create()
450 if (!nctx) in nv20_context_create()
453 ctx = &nctx->base; in nv20_context_create()
488 NULL, 0, &nctx->hw.eng3d); in nv20_context_create()
Dnv20_state_tnl.c153 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_fog() local
156 unsigned source = nctx->fallback == HWTNL ? in nv20_emit_fog()
335 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_modelview() local
339 if (nctx->fallback != HWTNL) in nv20_emit_modelview()
362 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_projection() local
369 if (nctx->fallback == HWTNL) in nv20_emit_projection()
Dnv10_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_tex_gen() local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv10_emit_tex_gen()
71 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_tex_mat() local
74 if (nctx->fallback == HWTNL && in nv10_emit_tex_mat()
Dnv20_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_tex_gen() local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv20_emit_tex_gen()
69 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_tex_mat() local
72 if (nctx->fallback == HWTNL && in nv20_emit_tex_mat()
Dnouveau_state.c446 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_next_dirty_state() local
447 int i = BITSET_FFS(nctx->dirty) - 1; in nouveau_next_dirty_state()
458 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_state_emit() local
463 BITSET_CLEAR(nctx->dirty, i); in nouveau_state_emit()
467 BITSET_ZERO(nctx->dirty); in nouveau_state_emit()
514 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_state_init() local
555 BITSET_ONES(nctx->dirty); in nouveau_state_init()
Dnv10_state_fb.c203 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_zclear() local
210 PUSH_DATAb(push, !nctx->hierz.clear_blocked); in nv10_emit_zclear()
212 (nctx->hierz.clear_seq & 0xff)); in nv10_emit_zclear()
/external/ltrace/
Dproc.c426 struct fetch_context *nctx = fetch_arg_clone(retp, ctx); in process_clone() local
427 if (nctx == NULL) { in process_clone()
431 nctx = retp->callstack[j].fetch_context; in process_clone()
432 fetch_arg_done(nctx); in process_clone()
437 elem->fetch_context = nctx; in process_clone()

12