Searched refs:nctx (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_context.c60 struct nouveau_context *nctx; local in function:nouveau_context_create
81 nctx = to_nouveau_context(ctx);
82 nctx->dri_context = dri_ctx;
98 NULL, &nctx->fence)) {
113 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_context_init
117 nctx->screen = screen;
118 nctx->fallback = HWTNL;
147 }, sizeof(struct nv04_fifo), &nctx->hw.chan);
154 ret = nouveau_client_new(context_dev(ctx), &nctx->hw.client);
161 ret = nouveau_pushbuf_new(nctx
201 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_context_deinit
226 struct nouveau_context *nctx = dri_ctx->driverPrivate; local in function:nouveau_context_destroy
237 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_update_renderbuffers
341 struct nouveau_context *nctx = dri_ctx->driverPrivate; local in function:nouveau_context_make_current
378 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_fallback
[all...]
H A Dnv04_context.c52 struct nv04_context *nctx = to_nv04_context(ctx); local in function:nv04_context_engine
67 if (fahrenheit != nctx->eng3d) {
70 nctx->eng3d = fahrenheit;
125 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv04_context_destroy
131 nouveau_object_del(&nctx->hw.eng3d);
132 nouveau_object_del(&nctx->hw.eng3dm);
133 nouveau_object_del(&nctx->hw.surf3d);
144 struct nv04_context *nctx; local in function:nv04_context_create
149 nctx = CALLOC_STRUCT(nv04_context);
150 if (!nctx)
[all...]
H A Dnv10_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:use_fast_zclear
49 nctx->hierz.clear_blocked = GL_TRUE;
54 return !nctx->hierz.clear_blocked &&
62 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_use_viewport_zclear
67 !nctx->hierz.clear_blocked && depthRb &&
75 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_transform_depth
78 return 2097152.0 * (z + (nctx->hierz.clear_seq & 7));
97 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_zclear
118 nctx->hierz.clear_seq++;
121 if ((nctx
146 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv17_zclear
175 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_clear
417 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_context_destroy
434 struct nouveau_context *nctx; local in function:nv10_context_create
[all...]
H A Dnouveau_driver.c69 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_flush
76 __DRIscreen *screen = nctx->screen->dri_screen;
78 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv;
88 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_finish
91 { nctx->fence, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR };
101 nouveau_bo_wait(nctx->fence, NOUVEAU_BO_RDWR, context_client(ctx));
H A Dnv10_state_tnl.c135 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_fog
138 unsigned source = nctx->fallback == HWTNL ?
174 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_light_enable
179 if (nctx->fallback != HWTNL) {
446 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_modelview
450 if (nctx->fallback != HWTNL)
478 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_projection
488 if (nctx->fallback == HWTNL)
H A Dnv20_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_tex_gen
47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
70 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_tex_mat
73 if (nctx->fallback == HWTNL &&
H A Dnv10_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_tex_gen
47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
72 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_tex_mat
75 if (nctx->fallback == HWTNL &&
H A Dnv20_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_clear
48 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
428 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_context_destroy
434 nouveau_object_del(&nctx->hw.eng3d);
445 struct nouveau_context *nctx; local in function:nv20_context_create
450 nctx = CALLOC_STRUCT(nouveau_context);
451 if (!nctx)
454 ctx = &nctx->base;
488 NULL, 0, &nctx->hw.eng3d);
H A Dnouveau_vbo_t.c257 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:vbo_maybe_split
259 struct nouveau_bufctx *bufctx = nctx->hw.bufctx;
389 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:vbo_draw_vbo
406 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
440 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:vbo_draw_imm
446 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
527 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:TAG
531 if (nctx->fallback == HWTNL)
536 if (nctx->fallback == SWTNL)
H A Dnv20_state_tnl.c154 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_fog
157 unsigned source = nctx->fallback == HWTNL ?
342 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_modelview
346 if (nctx->fallback != HWTNL)
369 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_projection
376 if (nctx->fallback == HWTNL)
H A Dnv10_state_fb.c204 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_zclear
211 PUSH_DATAb(push, !nctx->hierz.clear_blocked);
213 (nctx->hierz.clear_seq & 0xff));
H A Dnouveau_state.c430 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_next_dirty_state
431 int i = BITSET_FFS(nctx->dirty) - 1;
442 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_state_emit
447 BITSET_CLEAR(nctx->dirty, i);
451 BITSET_ZERO(nctx->dirty);
508 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_state_init
546 BITSET_ONES(nctx->dirty);
H A Dnv04_render.c75 struct nv04_context *nctx = to_nv04_context(ctx); local in function:swtnl_choose_attrs
91 _tnl_install_attrs(ctx, map, n, nctx->viewport, 0);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_context.c60 struct nouveau_context *nctx; local in function:nouveau_context_create
81 nctx = to_nouveau_context(ctx);
82 nctx->dri_context = dri_ctx;
98 NULL, &nctx->fence)) {
113 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_context_init
117 nctx->screen = screen;
118 nctx->fallback = HWTNL;
147 }, sizeof(struct nv04_fifo), &nctx->hw.chan);
154 ret = nouveau_client_new(context_dev(ctx), &nctx->hw.client);
161 ret = nouveau_pushbuf_new(nctx
201 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_context_deinit
226 struct nouveau_context *nctx = dri_ctx->driverPrivate; local in function:nouveau_context_destroy
237 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_update_renderbuffers
341 struct nouveau_context *nctx = dri_ctx->driverPrivate; local in function:nouveau_context_make_current
378 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_fallback
[all...]
H A Dnv04_context.c53 struct nv04_context *nctx = to_nv04_context(ctx); local in function:nv04_context_engine
68 if (fahrenheit != nctx->eng3d) {
71 nctx->eng3d = fahrenheit;
126 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv04_context_destroy
132 nouveau_object_del(&nctx->hw.eng3d);
133 nouveau_object_del(&nctx->hw.eng3dm);
134 nouveau_object_del(&nctx->hw.surf3d);
145 struct nv04_context *nctx; local in function:nv04_context_create
150 nctx = align_calloc(sizeof(struct nv04_context), 16);
151 if (!nctx)
[all...]
H A Dnv10_context.c42 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:use_fast_zclear
50 nctx->hierz.clear_blocked = GL_TRUE;
55 return !nctx->hierz.clear_blocked &&
63 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_use_viewport_zclear
68 !nctx->hierz.clear_blocked && depthRb &&
76 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_transform_depth
79 return 2097152.0 * (z + (nctx->hierz.clear_seq & 7));
98 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_zclear
119 nctx->hierz.clear_seq++;
122 if ((nctx
147 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv17_zclear
176 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_clear
418 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_context_destroy
435 struct nouveau_context *nctx; local in function:nv10_context_create
[all...]
H A Dnouveau_driver.c69 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_flush
76 __DRIscreen *screen = nctx->screen->dri_screen;
78 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv;
88 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_finish
91 { nctx->fence, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR };
101 nouveau_bo_wait(nctx->fence, NOUVEAU_BO_RDWR, context_client(ctx));
H A Dnv10_state_tnl.c135 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_fog
138 unsigned source = nctx->fallback == HWTNL ?
174 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_light_enable
179 if (nctx->fallback != HWTNL) {
450 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_modelview
454 if (nctx->fallback != HWTNL)
482 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_projection
492 if (nctx->fallback == HWTNL)
H A Dnv10_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_tex_gen
47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
72 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_tex_mat
75 if (nctx->fallback == HWTNL &&
H A Dnouveau_vbo_t.c256 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:vbo_maybe_split
258 struct nouveau_bufctx *bufctx = nctx->hw.bufctx;
394 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:vbo_draw_vbo
411 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
445 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:vbo_draw_imm
451 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
528 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:TAG
532 if (nctx->fallback == HWTNL)
537 if (nctx->fallback == SWTNL)
H A Dnv20_context.c42 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_clear
49 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
429 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_context_destroy
435 nouveau_object_del(&nctx->hw.eng3d);
446 struct nouveau_context *nctx; local in function:nv20_context_create
451 nctx = align_calloc(sizeof(struct nouveau_context), 16);
452 if (!nctx)
455 ctx = &nctx->base;
489 NULL, 0, &nctx->hw.eng3d);
H A Dnv20_state_tnl.c154 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_fog
157 unsigned source = nctx->fallback == HWTNL ?
346 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_modelview
350 if (nctx->fallback != HWTNL)
373 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_projection
380 if (nctx->fallback == HWTNL)
H A Dnv20_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_tex_gen
47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
70 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv20_emit_tex_mat
73 if (nctx->fallback == HWTNL &&
H A Dnv10_state_fb.c204 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nv10_emit_zclear
211 PUSH_DATAb(push, !nctx->hierz.clear_blocked);
213 (nctx->hierz.clear_seq & 0xff));
H A Dnouveau_state.c431 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_next_dirty_state
432 int i = BITSET_FFS(nctx->dirty) - 1;
443 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_state_emit
448 BITSET_CLEAR(nctx->dirty, i);
452 BITSET_ZERO(nctx->dirty);
509 struct nouveau_context *nctx = to_nouveau_context(ctx); local in function:nouveau_state_init
547 BITSET_ONES(nctx->dirty);

Completed in 16 milliseconds

12