Searched refs:res_bo (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/winsys/virgl/vtest/ |
D | virgl_vtest_winsys.c | 405 cbuf->res_bo = CALLOC(cbuf->nres, sizeof(struct virgl_hw_buf*)); in virgl_vtest_cmd_buf_create() 406 if (!cbuf->res_bo) { in virgl_vtest_cmd_buf_create() 419 FREE(cbuf->res_bo); in virgl_vtest_cmd_buf_destroy() 431 if (cbuf->res_bo[i] == res) in virgl_vtest_lookup_res() 435 if (cbuf->res_bo[i] == res) { in virgl_vtest_lookup_res() 450 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_vtest_release_all_res() 451 virgl_vtest_resource_reference(vtws, &cbuf->res_bo[i], NULL); in virgl_vtest_release_all_res() 467 cbuf->res_bo[cbuf->cres] = NULL; in virgl_vtest_add_res() 468 virgl_vtest_resource_reference(vtws, &cbuf->res_bo[cbuf->cres], res); in virgl_vtest_add_res()
|
D | virgl_vtest_winsys.h | 83 struct virgl_hw_res **res_bo; member
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 569 cbuf->res_bo = CALLOC(cbuf->nres, sizeof(struct virgl_hw_buf*)); in virgl_drm_cmd_buf_create() 570 if (!cbuf->res_bo) { in virgl_drm_cmd_buf_create() 576 FREE(cbuf->res_bo); in virgl_drm_cmd_buf_create() 590 FREE(cbuf->res_bo); in virgl_drm_cmd_buf_destroy() 603 if (cbuf->res_bo[i] == res) in virgl_drm_lookup_res() 607 if (cbuf->res_bo[i] == res) { in virgl_drm_lookup_res() 627 cbuf->res_bo[cbuf->cres] = NULL; in virgl_drm_add_res() 628 virgl_drm_resource_reference(qdws, &cbuf->res_bo[cbuf->cres], res); in virgl_drm_add_res() 643 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_release_all_res() 644 virgl_drm_resource_reference(qdws, &cbuf->res_bo[i], NULL); in virgl_drm_release_all_res()
|
D | virgl_drm_winsys.h | 76 struct virgl_hw_res **res_bo; member
|