Searched refs:res_bo (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/winsys/virgl/vtest/ |
D | virgl_vtest_winsys.c | 388 if (cbuf->res_bo[i] == res) in virgl_vtest_lookup_res() 392 if (cbuf->res_bo[i] == res) { in virgl_vtest_lookup_res() 407 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_vtest_release_all_res() 408 virgl_vtest_resource_reference(&vtws->base, &cbuf->res_bo[i], NULL); in virgl_vtest_release_all_res() 421 struct virgl_hw_res **new_re_bo = REALLOC(cbuf->res_bo, in virgl_vtest_add_res() 429 cbuf->res_bo = new_re_bo; in virgl_vtest_add_res() 433 cbuf->res_bo[cbuf->cres] = NULL; in virgl_vtest_add_res() 434 virgl_vtest_resource_reference(&vtws->base, &cbuf->res_bo[cbuf->cres], res); in virgl_vtest_add_res() 452 cbuf->res_bo = CALLOC(cbuf->nres, sizeof(struct virgl_hw_buf*)); in virgl_vtest_cmd_buf_create() 453 if (!cbuf->res_bo) { in virgl_vtest_cmd_buf_create() [all …]
|
D | virgl_vtest_winsys.h | 81 struct virgl_hw_res **res_bo; member
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 604 cbuf->res_bo = CALLOC(cbuf->nres, sizeof(struct virgl_hw_buf*)); in virgl_drm_alloc_res_list() 605 if (!cbuf->res_bo) in virgl_drm_alloc_res_list() 610 FREE(cbuf->res_bo); in virgl_drm_alloc_res_list() 622 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_free_res_list() 623 virgl_drm_resource_reference(cbuf->ws, &cbuf->res_bo[i], NULL); in virgl_drm_free_res_list() 626 FREE(cbuf->res_bo); in virgl_drm_free_res_list() 637 if (cbuf->res_bo[i] == res) in virgl_drm_lookup_res() 641 if (cbuf->res_bo[i] == res) { in virgl_drm_lookup_res() 658 void *new_ptr = REALLOC(cbuf->res_bo, in virgl_drm_add_res() 665 cbuf->res_bo = new_ptr; in virgl_drm_add_res() [all …]
|
D | virgl_drm_winsys.h | 112 struct virgl_hw_res **res_bo; member
|