/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_context.c | 55 static void virgl_buffer_flush(struct virgl_context *vctx, in virgl_buffer_flush() argument 58 struct virgl_screen *rs = virgl_screen(vctx->base.screen); in virgl_buffer_flush() 71 vctx->num_transfers++; in virgl_buffer_flush() 78 static void virgl_attach_res_framebuffer(struct virgl_context *vctx) in virgl_attach_res_framebuffer() argument 80 struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; in virgl_attach_res_framebuffer() 85 surf = vctx->framebuffer.zsbuf; in virgl_attach_res_framebuffer() 89 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_framebuffer() 91 for (i = 0; i < vctx->framebuffer.nr_cbufs; i++) { in virgl_attach_res_framebuffer() 92 surf = vctx->framebuffer.cbufs[i]; in virgl_attach_res_framebuffer() 96 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); in virgl_attach_res_framebuffer() [all …]
|
D | virgl_query.c | 51 struct virgl_context *vctx = virgl_context(ctx); in virgl_render_condition() local 56 virgl_encoder_render_condition(vctx, handle, condition, mode); in virgl_render_condition() 62 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_query() local 82 virgl_encoder_create_query(vctx, handle, query_type, index, query->buf, 0); in virgl_create_query() 90 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_query() local 93 virgl_encode_delete_object(vctx, query->handle, VIRGL_OBJECT_QUERY); in virgl_destroy_query() 102 struct virgl_context *vctx = virgl_context(ctx); in virgl_begin_query() local 106 virgl_encoder_begin_query(vctx, query->handle); in virgl_begin_query() 113 struct virgl_context *vctx = virgl_context(ctx); in virgl_end_query() local 123 virgl_encoder_end_query(vctx, query->handle); in virgl_end_query() [all …]
|
D | virgl_streamout.c | 36 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_so_target() local 52 virgl_encoder_create_so_target(vctx, handle, res, buffer_offset, buffer_size); in virgl_create_so_target() 59 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_so_target() local 63 virgl_encode_delete_object(vctx, t->handle, VIRGL_OBJECT_STREAMOUT_TARGET); in virgl_destroy_so_target() 72 struct virgl_context *vctx = virgl_context(ctx); in virgl_set_so_targets() local 75 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); in virgl_set_so_targets() 77 for (i = num_targets; i < vctx->num_so_targets; i++) in virgl_set_so_targets() 78 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets() 79 vctx->num_so_targets = num_targets; in virgl_set_so_targets() 80 virgl_encoder_set_so_targets(vctx, num_targets, targets, 0);//append_bitmask); in virgl_set_so_targets() [all …]
|
D | virgl_buffer.c | 48 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_map() local 60 doflushwait = virgl_res_needs_flush_wait(vctx, &vbuf->base, usage); in virgl_buffer_transfer_map() 65 trans = slab_alloc(&vctx->texture_transfer_pool); in virgl_buffer_transfer_map() 78 readback = virgl_res_needs_readback(vctx, &vbuf->base, usage); in virgl_buffer_transfer_map() 102 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_unmap() local 110 vctx->num_transfers++; in virgl_buffer_transfer_unmap() 117 slab_free(&vctx->texture_transfer_pool, trans); in virgl_buffer_transfer_unmap() 124 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_flush_region() local 130 list_addtail(&vbuf->flush_list, &vctx->to_flush_bufs); in virgl_buffer_transfer_flush_region()
|
D | virgl_resource.c | 28 bool virgl_res_needs_flush_wait(struct virgl_context *vctx, in virgl_res_needs_flush_wait() argument 32 struct virgl_screen *vs = virgl_screen(vctx->base.screen); in virgl_res_needs_flush_wait() 34 …if ((!(usage & PIPE_TRANSFER_UNSYNCHRONIZED)) && vs->vws->res_is_referenced(vs->vws, vctx->cbuf, r… in virgl_res_needs_flush_wait() 40 bool virgl_res_needs_readback(struct virgl_context *vctx, in virgl_res_needs_readback() argument
|
D | virgl_context.h | 100 void virgl_init_blit_functions(struct virgl_context *vctx); 101 void virgl_init_query_functions(struct virgl_context *vctx); 102 void virgl_init_so_functions(struct virgl_context *vctx);
|
D | virgl_texture.c | 129 struct virgl_context *vctx = virgl_context(ctx); in virgl_texture_transfer_map() local 144 doflushwait = virgl_res_needs_flush_wait(vctx, &vtex->base, usage); in virgl_texture_transfer_map() 148 trans = slab_alloc(&vctx->texture_transfer_pool); in virgl_texture_transfer_map() 189 readback = virgl_res_needs_readback(vctx, &vtex->base, usage); in virgl_texture_transfer_map() 210 struct virgl_context *vctx = virgl_context(ctx); in virgl_texture_transfer_unmap() local 228 vctx->num_transfers++; in virgl_texture_transfer_unmap() 238 slab_free(&vctx->texture_transfer_pool, trans); in virgl_texture_transfer_unmap()
|
D | virgl_resource.h | 140 bool virgl_res_needs_flush_wait(struct virgl_context *vctx, 143 bool virgl_res_needs_readback(struct virgl_context *vctx,
|
/external/wpa_supplicant_8/src/utils/ |
D | xml_libxml2.c | 59 xmlSchemaValidCtxtPtr vctx; in xml_validate() local 86 vctx = xmlSchemaNewValidCtxt(schema); in xml_validate() 87 xmlSchemaSetValidErrors(vctx, (xmlSchemaValidityErrorFunc) add_str, in xml_validate() 91 ret = xmlSchemaValidateDoc(vctx, doc); in xml_validate() 92 xmlSchemaFreeValidCtxt(vctx); in xml_validate() 120 xmlValidCtxt vctx; in xml_validate_dtd() local 146 os_memset(&vctx, 0, sizeof(vctx)); in xml_validate_dtd() 147 vctx.userData = &errors; in xml_validate_dtd() 148 vctx.error = add_str; in xml_validate_dtd() 149 vctx.warning = add_str; in xml_validate_dtd() [all …]
|