/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_context.c | 60 struct nouveau_context *nctx; in nouveau_context_create() local 81 nctx = to_nouveau_context(ctx); in nouveau_context_create() 82 nctx->dri_context = dri_ctx; in nouveau_context_create() 98 NULL, &nctx->fence)) { in nouveau_context_create() 113 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_context_init() local 117 nctx->screen = screen; in nouveau_context_init() 118 nctx->fallback = HWTNL; in nouveau_context_init() 147 }, sizeof(struct nv04_fifo), &nctx->hw.chan); in nouveau_context_init() 154 ret = nouveau_client_new(context_dev(ctx), &nctx->hw.client); in nouveau_context_init() 161 ret = nouveau_pushbuf_new(nctx->hw.client, nctx->hw.chan, 4, in nouveau_context_init() [all …]
|
D | nv10_context.c | 42 struct nouveau_context *nctx = to_nouveau_context(ctx); in use_fast_zclear() local 50 nctx->hierz.clear_blocked = GL_TRUE; in use_fast_zclear() 55 return !nctx->hierz.clear_blocked && in use_fast_zclear() 63 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_use_viewport_zclear() local 68 !nctx->hierz.clear_blocked && depthRb && in nv10_use_viewport_zclear() 76 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_transform_depth() local 79 return 2097152.0 * (z + (nctx->hierz.clear_seq & 7)); in nv10_transform_depth() 98 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_zclear() local 119 nctx->hierz.clear_seq++; in nv10_zclear() 122 if ((nctx->hierz.clear_seq & 7) != 0 && in nv10_zclear() [all …]
|
D | nv04_context.c | 53 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() 145 struct nv04_context *nctx; in nv04_context_create() local 150 nctx = align_calloc(sizeof(struct nv04_context), 16); in nv04_context_create() 151 if (!nctx) in nv04_context_create() [all …]
|
D | nouveau_driver.c | 69 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_flush() local 76 __DRIscreen *screen = nctx->screen->dri_screen; in nouveau_flush() 78 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv; in nouveau_flush() 88 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_finish() local 91 { nctx->fence, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR }; in nouveau_finish() 101 nouveau_bo_wait(nctx->fence, NOUVEAU_BO_RDWR, context_client(ctx)); in nouveau_finish()
|
D | nv10_state_tnl.c | 135 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_fog() local 138 unsigned source = nctx->fallback == HWTNL ? in nv10_emit_fog() 174 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_light_enable() local 179 if (nctx->fallback != HWTNL) { in nv10_emit_light_enable() 450 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_modelview() local 454 if (nctx->fallback != HWTNL) in nv10_emit_modelview() 482 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_projection() local 492 if (nctx->fallback == HWTNL) in nv10_emit_projection()
|
D | nouveau_vbo_t.c | 256 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_maybe_split() local 258 struct nouveau_bufctx *bufctx = nctx->hw.bufctx; in vbo_maybe_split() 394 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_draw_vbo() local 411 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_vbo() 445 struct nouveau_context *nctx = to_nouveau_context(ctx); in vbo_draw_imm() local 451 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in vbo_draw_imm() 528 struct nouveau_context *nctx = to_nouveau_context(ctx); in TAG() local 532 if (nctx->fallback == HWTNL) in TAG() 537 if (nctx->fallback == SWTNL) in TAG()
|
D | nv20_context.c | 42 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_clear() local 49 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in nv20_clear() 429 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_context_destroy() local 435 nouveau_object_del(&nctx->hw.eng3d); in nv20_context_destroy() 446 struct nouveau_context *nctx; in nv20_context_create() local 451 nctx = align_calloc(sizeof(struct nouveau_context), 16); in nv20_context_create() 452 if (!nctx) in nv20_context_create() 455 ctx = &nctx->base; in nv20_context_create() 489 NULL, 0, &nctx->hw.eng3d); in nv20_context_create()
|
D | nv20_state_tnl.c | 154 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_fog() local 157 unsigned source = nctx->fallback == HWTNL ? in nv20_emit_fog() 346 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_modelview() local 350 if (nctx->fallback != HWTNL) in nv20_emit_modelview() 373 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_projection() local 380 if (nctx->fallback == HWTNL) in nv20_emit_projection()
|
D | nv10_state_tex.c | 40 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_tex_gen() local 47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv10_emit_tex_gen() 72 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_tex_mat() local 75 if (nctx->fallback == HWTNL && in nv10_emit_tex_mat()
|
D | nouveau_state.c | 431 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_next_dirty_state() local 432 int i = BITSET_FFS(nctx->dirty) - 1; in nouveau_next_dirty_state() 443 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_state_emit() local 448 BITSET_CLEAR(nctx->dirty, i); in nouveau_state_emit() 452 BITSET_ZERO(nctx->dirty); in nouveau_state_emit() 509 struct nouveau_context *nctx = to_nouveau_context(ctx); in nouveau_state_init() local 547 BITSET_ONES(nctx->dirty); in nouveau_state_init()
|
D | nv20_state_tex.c | 40 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_tex_gen() local 47 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) { in nv20_emit_tex_gen() 70 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv20_emit_tex_mat() local 73 if (nctx->fallback == HWTNL && in nv20_emit_tex_mat()
|
D | nv10_state_fb.c | 204 struct nouveau_context *nctx = to_nouveau_context(ctx); in nv10_emit_zclear() local 211 PUSH_DATAb(push, !nctx->hierz.clear_blocked); in nv10_emit_zclear() 213 (nctx->hierz.clear_seq & 0xff)); in nv10_emit_zclear()
|
D | nv04_render.c | 75 struct nv04_context *nctx = to_nv04_context(ctx); in swtnl_choose_attrs() local 91 _tnl_install_attrs(ctx, map, n, nctx->viewport, 0); in swtnl_choose_attrs()
|
D | nouveau_texture.c | 648 struct nouveau_context *nctx = dri_ctx->driverPrivate; in nouveau_set_texbuffer() local 649 struct gl_context *ctx = &nctx->base; in nouveau_set_texbuffer()
|
/third_party/openssl/crypto/async/ |
D | async.c | 35 async_ctx *nctx; in async_ctx_new() local 40 nctx = OPENSSL_malloc(sizeof(*nctx)); in async_ctx_new() 41 if (nctx == NULL) { in async_ctx_new() 46 async_fibre_init_dispatcher(&nctx->dispatcher); in async_ctx_new() 47 nctx->currjob = NULL; in async_ctx_new() 48 nctx->blocked = 0; in async_ctx_new() 49 if (!CRYPTO_THREAD_set_local(&ctxkey, nctx)) in async_ctx_new() 52 return nctx; in async_ctx_new() 54 OPENSSL_free(nctx); in async_ctx_new()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | attrib.c | 4920 ntfs_attr_search_ctx *nctx; local 4948 nctx = ntfs_attr_get_search_ctx(ni, NULL); 4949 if (!nctx) 4959 0, nctx)) { 4972 if (ntfs_make_room_for_attr(ni->mrec, (u8*) nctx->attr, 4978 memcpy(nctx->attr, a, le32_to_cpu(a->length)); 4979 nctx->attr->instance = nctx->mrec->next_attr_instance; 4980 nctx->mrec->next_attr_instance = cpu_to_le16( 4981 (le16_to_cpu(nctx->mrec->next_attr_instance) + 1) & 0xffff); 4989 ctx->al_entry->instance = nctx->attr->instance; [all …]
|
/third_party/openssl/test/ |
D | bntest.c | 2477 BN_CTX *nctx = NULL; in test_ctx_consttime_flag() local 2482 if (!TEST_ptr(nctx = BN_CTX_new()) in test_ctx_consttime_flag() 2487 BN_CTX *c = i == 0 ? nctx : sctx; in test_ctx_consttime_flag() 2495 BN_CTX_free(nctx); in test_ctx_consttime_flag()
|