Home
last modified time | relevance | path

Searched refs:pb_desc (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_bufmgr.cpp113 d3d12_bo_new(struct d3d12_screen *screen, uint64_t size, const pb_desc *pb_desc) in d3d12_bo_new() argument
132 if (pb_desc->usage & PB_USAGE_CPU_READ) in d3d12_bo_new()
134 else if (pb_desc->usage & PB_USAGE_CPU_WRITE) in d3d12_bo_new()
315 const struct pb_desc *pb_desc) in d3d12_bufmgr_create_buffer() argument
329 buf->base.alignment_log2 = util_logbase2(pb_desc->alignment); in d3d12_bufmgr_create_buffer()
330 buf->base.usage = pb_desc->usage; in d3d12_bufmgr_create_buffer()
336 buf->bo = d3d12_bo_new(mgr->screen, size, pb_desc); in d3d12_bufmgr_create_buffer()
342 if (pb_desc->usage & PB_USAGE_CPU_READ_WRITE) { in d3d12_bufmgr_create_buffer()
Dd3d12_screen.cpp1307 struct pb_desc desc; in d3d12_init_screen()
Dd3d12_resource.cpp122 struct pb_desc buf_desc; in init_buffer()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr.h59 struct pb_desc;
73 const struct pb_desc *desc);
117 const struct pb_desc *desc);
128 const struct pb_desc *desc);
Dpb_bufmgr_slab.c116 struct pb_desc desc;
151 struct pb_desc desc;
369 const struct pb_desc *desc) in pb_slab_manager_create_buffer()
451 const struct pb_desc *desc) in pb_slab_manager_create()
479 const struct pb_desc *desc) in pb_slab_range_manager_create_buffer()
533 const struct pb_desc *desc) in pb_slab_range_manager_create()
Dpb_bufmgr_mm.c177 const struct pb_desc *desc) in mm_bufmgr_create_buffer()
301 struct pb_desc desc; in mm_bufmgr_create()
Dpb_bufmgr_debug.c367 const struct pb_desc *desc) in pb_debug_manager_create_buffer()
371 struct pb_desc real_desc; in pb_debug_manager_create_buffer()
Dpb_buffer.h95 struct pb_desc struct
Dpb_bufmgr_cache.c204 const struct pb_desc *desc) in pb_cache_manager_create_buffer()
Dpb_buffer_fenced.c130 struct pb_desc desc;
892 const struct pb_desc *desc) in fenced_bufmgr_create_buffer()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c212 const struct pb_desc *pb_desc) in vmw_gmr_bufmgr_create_buffer() argument
218 (const struct vmw_buffer_desc *) pb_desc; in vmw_gmr_bufmgr_create_buffer()
225 buf->base.alignment_log2 = util_logbase2(pb_desc->alignment); in vmw_gmr_bufmgr_create_buffer()
226 buf->base.usage = pb_desc->usage & ~VMW_BUFFER_USAGE_SHARED; in vmw_gmr_bufmgr_create_buffer()
230 if ((pb_desc->usage & VMW_BUFFER_USAGE_SHARED) && desc->region) { in vmw_gmr_bufmgr_create_buffer()
Dvmw_screen_svga.c379 desc.pb_desc.alignment = alignment; in vmw_svga_winsys_buffer_create()
380 desc.pb_desc.usage = usage; in vmw_svga_winsys_buffer_create()
395 buffer = provider->create_buffer(provider, size, &desc.pb_desc); in vmw_svga_winsys_buffer_create()
401 buffer = provider->create_buffer(provider, size, &desc.pb_desc); in vmw_svga_winsys_buffer_create()
550 desc.pb_desc.alignment = 4096; in vmw_svga_winsys_surface_create()
551 desc.pb_desc.usage = 0; in vmw_svga_winsys_surface_create()
552 pb_buf = provider->create_buffer(provider, buffer_size, &desc.pb_desc); in vmw_svga_winsys_surface_create()
598 desc.pb_desc.alignment = 4096; in vmw_svga_winsys_surface_create()
599 desc.pb_desc.usage = VMW_BUFFER_USAGE_SHARED; in vmw_svga_winsys_surface_create()
601 &desc.pb_desc); in vmw_svga_winsys_surface_create()
Dvmw_buffer.h48 struct pb_desc pb_desc; member
Dvmw_screen_pools.c88 struct pb_desc desc; in vmw_query_pools_init()
123 struct pb_desc desc; in vmw_mob_pools_init()
175 struct pb_desc desc; in vmw_pools_init()
Dvmw_screen_dri.c195 desc.pb_desc.alignment = 4096; in vmw_drm_gb_surface_from_handle()
196 desc.pb_desc.usage = VMW_BUFFER_USAGE_SHARED | VMW_BUFFER_USAGE_SYNC; in vmw_drm_gb_surface_from_handle()
197 pb_buf = provider->create_buffer(provider, vsrf->size, &desc.pb_desc); in vmw_drm_gb_surface_from_handle()
Dpb_buffer_simple_fenced.c153 const struct pb_desc *desc,
438 const struct pb_desc *desc) in fenced_buffer_try_create_gpu_storage_locked()
456 const struct pb_desc *desc, in fenced_buffer_create_gpu_storage_locked()
723 const struct pb_desc *desc) in fenced_bufmgr_create_buffer()
Dvmw_surface.c50 struct pb_desc desc; in vmw_svga_winsys_surface_init()
156 struct pb_desc desc; in vmw_svga_winsys_surface_map()
Dvmw_query.c41 struct pb_desc desc = {0}; in vmw_svga_winsys_query_create()