Searched defs:vctx (Results 1 - 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_streamout.c36 struct virgl_context *vctx = virgl_context(ctx); local
52 virgl_encoder_create_so_target(vctx, handle, res, buffer_offset, buffer_size);
59 struct virgl_context *vctx = virgl_context(ctx); local
63 virgl_encode_delete_object(vctx, t->handle, VIRGL_OBJECT_STREAMOUT_TARGET);
72 struct virgl_context *vctx = virgl_context(ctx); local
75 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer);
77 for (i = num_targets; i < vctx->num_so_targets; i++)
78 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL);
79 vctx->num_so_targets = num_targets;
80 virgl_encoder_set_so_targets(vctx, num_target
83 virgl_init_so_functions(struct virgl_context *vctx) argument
[all...]
H A Dvirgl_buffer.c48 struct virgl_context *vctx = virgl_context(ctx); local
60 doflushwait = virgl_res_needs_flush_wait(vctx, &vbuf->base, usage);
65 trans = slab_alloc(&vctx->texture_transfer_pool);
78 readback = virgl_res_needs_readback(vctx, &vbuf->base, usage);
102 struct virgl_context *vctx = virgl_context(ctx); local
110 vctx->num_transfers++;
117 slab_free(&vctx->texture_transfer_pool, trans);
124 struct virgl_context *vctx = virgl_context(ctx); local
130 list_addtail(&vbuf->flush_list, &vctx->to_flush_bufs);
H A Dvirgl_resource.c28 bool virgl_res_needs_flush_wait(struct virgl_context *vctx, argument
32 struct virgl_screen *vs = virgl_screen(vctx->base.screen);
34 if ((!(usage & PIPE_TRANSFER_UNSYNCHRONIZED)) && vs->vws->res_is_referenced(vs->vws, vctx->cbuf, res->hw_res)) {
40 bool virgl_res_needs_readback(struct virgl_context *vctx, argument
H A Dvirgl_query.c51 struct virgl_context *vctx = virgl_context(ctx); local
56 virgl_encoder_render_condition(vctx, handle, condition, mode);
62 struct virgl_context *vctx = virgl_context(ctx); local
82 virgl_encoder_create_query(vctx, handle, query_type, index, query->buf, 0);
90 struct virgl_context *vctx = virgl_context(ctx); local
93 virgl_encode_delete_object(vctx, query->handle, VIRGL_OBJECT_QUERY);
102 struct virgl_context *vctx = virgl_context(ctx); local
106 virgl_encoder_begin_query(vctx, query->handle);
113 struct virgl_context *vctx = virgl_context(ctx); local
123 virgl_encoder_end_query(vctx, quer
132 struct virgl_context *vctx = virgl_context(ctx); local
173 virgl_init_query_functions(struct virgl_context *vctx) argument
[all...]
H A Dvirgl_texture.c129 struct virgl_context *vctx = virgl_context(ctx); local
144 doflushwait = virgl_res_needs_flush_wait(vctx, &vtex->base, usage);
148 trans = slab_alloc(&vctx->texture_transfer_pool);
189 readback = virgl_res_needs_readback(vctx, &vtex->base, usage);
210 struct virgl_context *vctx = virgl_context(ctx); local
228 vctx->num_transfers++;
238 slab_free(&vctx->texture_transfer_pool, trans);
H A Dvirgl_context.c55 static void virgl_buffer_flush(struct virgl_context *vctx, argument
58 struct virgl_screen *rs = virgl_screen(vctx->base.screen);
71 vctx->num_transfers++;
78 static void virgl_attach_res_framebuffer(struct virgl_context *vctx) argument
80 struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws;
85 surf = vctx->framebuffer.zsbuf;
89 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE);
91 for (i = 0; i < vctx->framebuffer.nr_cbufs; i++) {
92 surf = vctx->framebuffer.cbufs[i];
96 vws->emit_res(vws, vctx
101 virgl_attach_res_sampler_views(struct virgl_context *vctx, unsigned shader_type) argument
119 virgl_attach_res_vertex_buffers(struct virgl_context *vctx) argument
132 virgl_attach_res_index_buffer(struct virgl_context *vctx) argument
142 virgl_attach_res_so_targets(struct virgl_context *vctx) argument
155 virgl_attach_res_uniform_buffers(struct virgl_context *vctx, unsigned shader_type) argument
173 virgl_reemit_res(struct virgl_context *vctx) argument
194 struct virgl_context *vctx = virgl_context(ctx); local
229 struct virgl_context *vctx = virgl_context(ctx); local
240 struct virgl_context *vctx = virgl_context(ctx); local
252 struct virgl_context *vctx = virgl_context(ctx); local
260 struct virgl_context *vctx = virgl_context(ctx); local
268 struct virgl_context *vctx = virgl_context(ctx); local
279 struct virgl_context *vctx = virgl_context(ctx); local
287 struct virgl_context *vctx = virgl_context(ctx); local
295 struct virgl_context *vctx = virgl_context(ctx); local
306 struct virgl_context *vctx = virgl_context(ctx); local
315 struct virgl_context *vctx = virgl_context(ctx); local
323 struct virgl_context *vctx = virgl_context(ctx); local
335 struct virgl_context *vctx = virgl_context(ctx); local
343 struct virgl_context *vctx = virgl_context(ctx); local
354 struct virgl_context *vctx = virgl_context(ctx); local
363 struct virgl_context *vctx = virgl_context(ctx); local
373 struct virgl_context *vctx = virgl_context(ctx); local
384 struct virgl_context *vctx = virgl_context(ctx); local
395 struct virgl_context *vctx = virgl_context(ctx); local
402 struct virgl_context *vctx = virgl_context(ctx); local
409 struct virgl_context *vctx = virgl_context(ctx); local
422 struct virgl_context *vctx = virgl_context(ctx); local
431 struct virgl_context *vctx = virgl_context(ctx); local
458 struct virgl_context *vctx = virgl_context(ctx); local
479 struct virgl_context *vctx = virgl_context(ctx); local
524 struct virgl_context *vctx = virgl_context(ctx); local
534 struct virgl_context *vctx = virgl_context(ctx); local
544 struct virgl_context *vctx = virgl_context(ctx); local
553 struct virgl_context *vctx = virgl_context(ctx); local
562 struct virgl_context *vctx = virgl_context(ctx); local
572 struct virgl_context *vctx = virgl_context(ctx); local
582 struct virgl_context *vctx = virgl_context(ctx); local
590 struct virgl_context *vctx = virgl_context(ctx); local
644 struct virgl_context *vctx = virgl_context(ctx); local
666 struct virgl_context *vctx = virgl_context(ctx); local
698 struct virgl_context *vctx = virgl_context(ctx); local
738 struct virgl_context *vctx = virgl_context(ctx); local
749 struct virgl_context *vctx = virgl_context(ctx); local
761 struct virgl_context *vctx = virgl_context(ctx); local
773 struct virgl_context *vctx = virgl_context(ctx); local
785 struct virgl_context *vctx = virgl_context(ctx); local
794 struct virgl_context *vctx = virgl_context(ctx); local
801 struct virgl_context *vctx = virgl_context(ctx); local
808 struct virgl_context *vctx = virgl_context(ctx); local
820 struct virgl_context *vctx = virgl_context(ctx); local
840 struct virgl_context *vctx = virgl_context(ctx); local
852 struct virgl_context *vctx = virgl_context(ctx); local
873 struct virgl_context *vctx; local
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dxml_libxml2.c59 xmlSchemaValidCtxtPtr vctx; local
86 vctx = xmlSchemaNewValidCtxt(schema);
87 xmlSchemaSetValidErrors(vctx, (xmlSchemaValidityErrorFunc) add_str,
91 ret = xmlSchemaValidateDoc(vctx, doc);
92 xmlSchemaFreeValidCtxt(vctx);
120 xmlValidCtxt vctx; local
146 os_memset(&vctx, 0, sizeof(vctx));
147 vctx.userData = &errors;
148 vctx
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dxml_libxml2.c59 xmlSchemaValidCtxtPtr vctx; local
86 vctx = xmlSchemaNewValidCtxt(schema);
87 xmlSchemaSetValidErrors(vctx, (xmlSchemaValidityErrorFunc) add_str,
91 ret = xmlSchemaValidateDoc(vctx, doc);
92 xmlSchemaFreeValidCtxt(vctx);
120 xmlValidCtxt vctx; local
146 os_memset(&vctx, 0, sizeof(vctx));
147 vctx.userData = &errors;
148 vctx
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dxml_libxml2.c59 xmlSchemaValidCtxtPtr vctx; local
86 vctx = xmlSchemaNewValidCtxt(schema);
87 xmlSchemaSetValidErrors(vctx, (xmlSchemaValidityErrorFunc) add_str,
91 ret = xmlSchemaValidateDoc(vctx, doc);
92 xmlSchemaFreeValidCtxt(vctx);
120 xmlValidCtxt vctx; local
146 os_memset(&vctx, 0, sizeof(vctx));
147 vctx.userData = &errors;
148 vctx
[all...]

Completed in 154 milliseconds