Home | History | Annotate | Download | only in nouveau

Lines Matching refs:nctx

41 	struct nouveau_context *nctx = to_nouveau_context(ctx);
49 nctx->hierz.clear_blocked = GL_TRUE;
54 return !nctx->hierz.clear_blocked &&
62 struct nouveau_context *nctx = to_nouveau_context(ctx);
67 !nctx->hierz.clear_blocked && depthRb &&
75 struct nouveau_context *nctx = to_nouveau_context(ctx);
78 return 2097152.0 * (z + (nctx->hierz.clear_seq & 7));
97 struct nouveau_context *nctx = to_nouveau_context(ctx);
118 nctx->hierz.clear_seq++;
121 if ((nctx->hierz.clear_seq & 7) != 0 &&
122 nctx->hierz.clear_seq != 1)
128 nctx->hierz.clear_seq--;
131 if ((nctx->hierz.clear_seq & 7) != 7)
138 (z + (nctx->hierz.clear_seq & 7)) / 8, 0);
146 struct nouveau_context *nctx = to_nouveau_context(ctx);
161 if (nctx->hierz.clear_seq)
166 nctx->hierz.clear_seq++;
175 struct nouveau_context *nctx = to_nouveau_context(ctx);
180 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
417 struct nouveau_context *nctx = to_nouveau_context(ctx);
423 nouveau_object_del(&nctx->hw.eng3d);
433 struct nouveau_context *nctx;
438 nctx = CALLOC_STRUCT(nouveau_context);
439 if (!nctx)
442 ctx = &nctx->base;
480 NULL, 0, &nctx->hw.eng3d);