Home
last modified time | relevance | path

Searched refs:old_bo (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_bufmgr.h69 v3d_bo_set_reference(struct v3d_bo **old_bo, struct v3d_bo *new_bo) in v3d_bo_set_reference() argument
71 if (pipe_reference(&(*old_bo)->reference, &new_bo->reference)) in v3d_bo_set_reference()
72 v3d_bo_last_unreference(*old_bo); in v3d_bo_set_reference()
73 *old_bo = new_bo; in v3d_bo_set_reference()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c408 struct brw_bo *old_bo = *scratch_bo; in brw_get_scratch_bo() local
410 if (old_bo && old_bo->size < size) { in brw_get_scratch_bo()
411 brw_bo_unreference(old_bo); in brw_get_scratch_bo()
412 old_bo = NULL; in brw_get_scratch_bo()
415 if (!old_bo) { in brw_get_scratch_bo()
Dbrw_draw_upload.c735 struct brw_bo *old_bo = brw->ib.bo; in brw_upload_indices() local
776 if (brw->ib.bo != old_bo) in brw_upload_indices()
Dintel_batchbuffer.c360 struct brw_bo *old_bo = grow->partial_bo; in finish_growing_bos() local
361 if (!old_bo) in finish_growing_bos()
370 brw_bo_unreference(old_bo); in finish_growing_bos()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c720 struct radeon_bo *old_bo = in radeon_create_bo() local
724 pb_reference(&b, &old_bo->base); in radeon_create_bo()
1166 struct radeon_bo *old_bo = in radeon_winsys_bo_from_ptr() local
1170 pb_reference(&b, &old_bo->base); in radeon_winsys_bo_from_ptr()
1297 struct radeon_bo *old_bo = in radeon_winsys_bo_from_handle() local
1301 pb_reference(&b, &old_bo->base); in radeon_winsys_bo_from_handle()
/external/libdrm/tests/modetest/
Dmodetest.c851 struct bo *old_bo; member
1219 plane_bo = p->old_bo; in atomic_set_plane()
1220 p->old_bo = p->bo; in atomic_set_plane()
1421 if (p[i].old_bo) { in atomic_clear_FB()
1422 bo_destroy(p[i].old_bo); in atomic_clear_FB()
1423 p[i].old_bo = NULL; in atomic_clear_FB()
/external/mesa3d/src/gallium/drivers/iris/
Diris_resource.c1334 struct iris_bo *old_bo = res->bo; in iris_invalidate_resource() local
1337 iris_memzone_for_address(old_bo->gtt_offset)); in iris_invalidate_resource()
1351 iris_bo_unreference(old_bo); in iris_invalidate_resource()