Home
last modified time | relevance | path

Searched refs:new_bo (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.h69 vc4_bo_set_reference(struct vc4_bo **old_bo, struct vc4_bo *new_bo) in vc4_bo_set_reference() argument
71 if (pipe_reference(&(*old_bo)->reference, &new_bo->reference)) in vc4_bo_set_reference()
73 *old_bo = new_bo; in vc4_bo_set_reference()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_builder.c237 struct intel_bo *new_bo; in ilo_builder_writer_grow() local
252 new_bo = alloc_writer_bo(builder->winsys, which, new_size); in ilo_builder_writer_grow()
253 if (!new_bo) in ilo_builder_writer_grow()
258 new_ptr = map_writer_bo(new_bo, writer->flags); in ilo_builder_writer_grow()
275 intel_bo_unref(new_bo); in ilo_builder_writer_grow()
287 writer->bo = new_bo; in ilo_builder_writer_grow()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program_cache.c216 drm_intel_bo *new_bo; in brw_cache_new_bo() local
218 new_bo = drm_intel_bo_alloc(brw->bufmgr, "program cache", new_size, 64); in brw_cache_new_bo()
220 drm_intel_gem_bo_map_unsynchronized(new_bo); in brw_cache_new_bo()
225 memcpy(new_bo->virtual, cache->bo->virtual, cache->next_offset); in brw_cache_new_bo()
228 drm_intel_bo_subdata(new_bo, 0, cache->next_offset, in brw_cache_new_bo()
237 cache->bo = new_bo; in brw_cache_new_bo()
/external/mesa3d/src/intel/vulkan/
Danv_allocator.c853 struct anv_bo new_bo; in anv_bo_pool_alloc() local
855 result = anv_bo_init_new(&new_bo, pool->device, pow2_size); in anv_bo_pool_alloc()
859 assert(new_bo.size == pow2_size); in anv_bo_pool_alloc()
861 new_bo.map = anv_gem_mmap(pool->device, new_bo.gem_handle, 0, pow2_size, 0); in anv_bo_pool_alloc()
862 if (new_bo.map == NULL) { in anv_bo_pool_alloc()
863 anv_gem_close(pool->device, new_bo.gem_handle); in anv_bo_pool_alloc()
867 *bo = new_bo; in anv_bo_pool_alloc()
Danv_batch_chain.c356 struct anv_bo new_bo; in anv_batch_bo_grow() local
358 &new_bo, new_size); in anv_batch_bo_grow()
362 memcpy(new_bo.map, bbo->bo.map, bbo->length); in anv_batch_bo_grow()
366 bbo->bo = new_bo; in anv_batch_bo_grow()
/external/libxcam/xcore/
Ddrm_display.cpp546 SmartPtr<DrmBoData> new_bo; in create_drm_bo() local
553 new_bo = new DrmBoData (self, bo); in create_drm_bo()
554 return new_bo; in create_drm_bo()