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

12

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnv20_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); local
48 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
428 struct nouveau_context *nctx = to_nouveau_context(ctx); local
434 nouveau_object_del(&nctx->hw.eng3d);
444 struct nouveau_context *nctx; local
449 nctx = CALLOC_STRUCT(nouveau_context);
450 if (!nctx)
453 ctx = &nctx->base;
488 NULL, 0, &nctx->hw.eng3d);
H A Dnouveau_driver.c61 struct nouveau_context *nctx = to_nouveau_context(ctx); local
68 __DRIscreen *screen = nctx->screen->dri_screen;
70 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv;
79 struct nouveau_context *nctx = to_nouveau_context(ctx); local
82 { nctx->fence, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR };
92 nouveau_bo_wait(nctx->fence, NOUVEAU_BO_RDWR, context_client(ctx));
H A Dnv04_context.c51 struct nv04_context *nctx = to_nv04_context(ctx); local
68 if (fahrenheit != nctx->eng3d) {
71 nctx->eng3d = fahrenheit;
126 struct nouveau_context *nctx = to_nouveau_context(ctx); local
132 nouveau_object_del(&nctx->hw.eng3d);
133 nouveau_object_del(&nctx->hw.eng3dm);
134 nouveau_object_del(&nctx->hw.surf3d);
144 struct nv04_context *nctx; local
149 nctx = CALLOC_STRUCT(nv04_context);
150 if (!nctx)
[all...]
H A Dnv10_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
71 struct nouveau_context *nctx = to_nouveau_context(ctx); local
74 if (nctx->fallback == HWTNL &&
H A Dnv20_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
69 struct nouveau_context *nctx = to_nouveau_context(ctx); local
72 if (nctx->fallback == HWTNL &&
H A Dnv10_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); local
49 nctx->hierz.clear_blocked = GL_TRUE;
54 return !nctx->hierz.clear_blocked &&
62 struct nouveau_context *nctx = to_nouveau_context(ctx); local
67 !nctx->hierz.clear_blocked && depthRb &&
75 struct nouveau_context *nctx = to_nouveau_context(ctx); local
78 return 2097152.0 * (z + (nctx->hierz.clear_seq & 7));
97 struct nouveau_context *nctx = to_nouveau_context(ctx); local
118 nctx->hierz.clear_seq++;
121 if ((nctx
146 struct nouveau_context *nctx = to_nouveau_context(ctx); local
175 struct nouveau_context *nctx = to_nouveau_context(ctx); local
417 struct nouveau_context *nctx = to_nouveau_context(ctx); local
433 struct nouveau_context *nctx; local
[all...]
H A Dnv10_state_fb.c203 struct nouveau_context *nctx = to_nouveau_context(ctx); local
210 PUSH_DATAb(push, !nctx->hierz.clear_blocked);
212 (nctx->hierz.clear_seq & 0xff));
H A Dnouveau_context.c59 struct nouveau_context *nctx; local
95 nctx = to_nouveau_context(ctx);
96 nctx->dri_context = dri_ctx;
107 NULL, &nctx->fence)) {
121 struct nouveau_context *nctx = to_nouveau_context(ctx); local
125 nctx->screen = screen;
126 nctx->fallback = HWTNL;
154 }, sizeof(struct nv04_fifo), &nctx->hw.chan);
161 ret = nouveau_client_new(context_dev(ctx), &nctx->hw.client);
168 ret = nouveau_pushbuf_new(nctx
210 struct nouveau_context *nctx = to_nouveau_context(ctx); local
236 struct nouveau_context *nctx = dri_ctx->driverPrivate; local
247 struct nouveau_context *nctx = to_nouveau_context(ctx); local
351 struct nouveau_context *nctx = dri_ctx->driverPrivate; local
388 struct nouveau_context *nctx = to_nouveau_context(ctx); local
[all...]
H A Dnouveau_vbo_t.c233 struct nouveau_context *nctx = to_nouveau_context(ctx); local
235 struct nouveau_bufctx *bufctx = nctx->hw.bufctx;
361 struct nouveau_context *nctx = to_nouveau_context(ctx); local
378 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
412 struct nouveau_context *nctx = to_nouveau_context(ctx); local
418 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
494 struct nouveau_context *nctx = to_nouveau_context(ctx); local
498 if (nctx->fallback == HWTNL)
503 if (nctx->fallback == SWTNL)
H A Dnv04_render.c75 struct nv04_context *nctx = to_nv04_context(ctx); local
91 _tnl_install_attrs(ctx, map, n, nctx->viewport, 0);
H A Dnv10_state_tnl.c134 struct nouveau_context *nctx = to_nouveau_context(ctx); local
137 unsigned source = nctx->fallback == HWTNL ?
173 struct nouveau_context *nctx = to_nouveau_context(ctx); local
178 if (nctx->fallback != HWTNL) {
439 struct nouveau_context *nctx = to_nouveau_context(ctx); local
443 if (nctx->fallback != HWTNL)
471 struct nouveau_context *nctx = to_nouveau_context(ctx); local
481 if (nctx->fallback == HWTNL)
H A Dnv20_state_tnl.c153 struct nouveau_context *nctx = to_nouveau_context(ctx); local
156 unsigned source = nctx->fallback == HWTNL ?
335 struct nouveau_context *nctx = to_nouveau_context(ctx); local
339 if (nctx->fallback != HWTNL)
362 struct nouveau_context *nctx = to_nouveau_context(ctx); local
369 if (nctx->fallback == HWTNL)
H A Dnouveau_texture.c659 struct nouveau_context *nctx = dri_ctx->driverPrivate; local
660 struct gl_context *ctx = &nctx->base;
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv20_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); local
48 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
428 struct nouveau_context *nctx = to_nouveau_context(ctx); local
434 nouveau_object_del(&nctx->hw.eng3d);
444 struct nouveau_context *nctx; local
449 nctx = CALLOC_STRUCT(nouveau_context);
450 if (!nctx)
453 ctx = &nctx->base;
488 NULL, 0, &nctx->hw.eng3d);
H A Dnouveau_driver.c61 struct nouveau_context *nctx = to_nouveau_context(ctx); local
68 __DRIscreen *screen = nctx->screen->dri_screen;
70 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv;
79 struct nouveau_context *nctx = to_nouveau_context(ctx); local
82 { nctx->fence, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR };
92 nouveau_bo_wait(nctx->fence, NOUVEAU_BO_RDWR, context_client(ctx));
H A Dnv04_context.c51 struct nv04_context *nctx = to_nv04_context(ctx); local
68 if (fahrenheit != nctx->eng3d) {
71 nctx->eng3d = fahrenheit;
126 struct nouveau_context *nctx = to_nouveau_context(ctx); local
132 nouveau_object_del(&nctx->hw.eng3d);
133 nouveau_object_del(&nctx->hw.eng3dm);
134 nouveau_object_del(&nctx->hw.surf3d);
144 struct nv04_context *nctx; local
149 nctx = CALLOC_STRUCT(nv04_context);
150 if (!nctx)
[all...]
H A Dnv10_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
71 struct nouveau_context *nctx = to_nouveau_context(ctx); local
74 if (nctx->fallback == HWTNL &&
H A Dnv20_state_tex.c40 struct nouveau_context *nctx = to_nouveau_context(ctx); local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
69 struct nouveau_context *nctx = to_nouveau_context(ctx); local
72 if (nctx->fallback == HWTNL &&
H A Dnv10_context.c41 struct nouveau_context *nctx = to_nouveau_context(ctx); local
49 nctx->hierz.clear_blocked = GL_TRUE;
54 return !nctx->hierz.clear_blocked &&
62 struct nouveau_context *nctx = to_nouveau_context(ctx); local
67 !nctx->hierz.clear_blocked && depthRb &&
75 struct nouveau_context *nctx = to_nouveau_context(ctx); local
78 return 2097152.0 * (z + (nctx->hierz.clear_seq & 7));
97 struct nouveau_context *nctx = to_nouveau_context(ctx); local
118 nctx->hierz.clear_seq++;
121 if ((nctx
146 struct nouveau_context *nctx = to_nouveau_context(ctx); local
175 struct nouveau_context *nctx = to_nouveau_context(ctx); local
417 struct nouveau_context *nctx = to_nouveau_context(ctx); local
433 struct nouveau_context *nctx; local
[all...]
H A Dnv10_state_fb.c203 struct nouveau_context *nctx = to_nouveau_context(ctx); local
210 PUSH_DATAb(push, !nctx->hierz.clear_blocked);
212 (nctx->hierz.clear_seq & 0xff));
H A Dnouveau_context.c59 struct nouveau_context *nctx; local
95 nctx = to_nouveau_context(ctx);
96 nctx->dri_context = dri_ctx;
107 NULL, &nctx->fence)) {
121 struct nouveau_context *nctx = to_nouveau_context(ctx); local
125 nctx->screen = screen;
126 nctx->fallback = HWTNL;
154 }, sizeof(struct nv04_fifo), &nctx->hw.chan);
161 ret = nouveau_client_new(context_dev(ctx), &nctx->hw.client);
168 ret = nouveau_pushbuf_new(nctx
210 struct nouveau_context *nctx = to_nouveau_context(ctx); local
236 struct nouveau_context *nctx = dri_ctx->driverPrivate; local
247 struct nouveau_context *nctx = to_nouveau_context(ctx); local
351 struct nouveau_context *nctx = dri_ctx->driverPrivate; local
388 struct nouveau_context *nctx = to_nouveau_context(ctx); local
[all...]
H A Dnouveau_vbo_t.c233 struct nouveau_context *nctx = to_nouveau_context(ctx); local
235 struct nouveau_bufctx *bufctx = nctx->hw.bufctx;
361 struct nouveau_context *nctx = to_nouveau_context(ctx); local
378 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
412 struct nouveau_context *nctx = to_nouveau_context(ctx); local
418 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
494 struct nouveau_context *nctx = to_nouveau_context(ctx); local
498 if (nctx->fallback == HWTNL)
503 if (nctx->fallback == SWTNL)
H A Dnv04_render.c75 struct nv04_context *nctx = to_nv04_context(ctx); local
91 _tnl_install_attrs(ctx, map, n, nctx->viewport, 0);
H A Dnv10_state_tnl.c134 struct nouveau_context *nctx = to_nouveau_context(ctx); local
137 unsigned source = nctx->fallback == HWTNL ?
173 struct nouveau_context *nctx = to_nouveau_context(ctx); local
178 if (nctx->fallback != HWTNL) {
439 struct nouveau_context *nctx = to_nouveau_context(ctx); local
443 if (nctx->fallback != HWTNL)
471 struct nouveau_context *nctx = to_nouveau_context(ctx); local
481 if (nctx->fallback == HWTNL)
H A Dnv20_state_tnl.c153 struct nouveau_context *nctx = to_nouveau_context(ctx); local
156 unsigned source = nctx->fallback == HWTNL ?
335 struct nouveau_context *nctx = to_nouveau_context(ctx); local
339 if (nctx->fallback != HWTNL)
362 struct nouveau_context *nctx = to_nouveau_context(ctx); local
369 if (nctx->fallback == HWTNL)

Completed in 205 milliseconds

12