Home
last modified time | relevance | path

Searched refs:res_create_buf (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_socket.c162 uint32_t res_create_buf[VCMD_RES_CREATE_SIZE], vtest_hdr[VTEST_HDR_SIZE]; in virgl_vtest_send_resource_create() local
167 res_create_buf[VCMD_RES_CREATE_RES_HANDLE] = handle; in virgl_vtest_send_resource_create()
168 res_create_buf[VCMD_RES_CREATE_TARGET] = target; in virgl_vtest_send_resource_create()
169 res_create_buf[VCMD_RES_CREATE_FORMAT] = format; in virgl_vtest_send_resource_create()
170 res_create_buf[VCMD_RES_CREATE_BIND] = bind; in virgl_vtest_send_resource_create()
171 res_create_buf[VCMD_RES_CREATE_WIDTH] = width; in virgl_vtest_send_resource_create()
172 res_create_buf[VCMD_RES_CREATE_HEIGHT] = height; in virgl_vtest_send_resource_create()
173 res_create_buf[VCMD_RES_CREATE_DEPTH] = depth; in virgl_vtest_send_resource_create()
174 res_create_buf[VCMD_RES_CREATE_ARRAY_SIZE] = array_size; in virgl_vtest_send_resource_create()
175 res_create_buf[VCMD_RES_CREATE_LAST_LEVEL] = last_level; in virgl_vtest_send_resource_create()
[all …]
/external/virglrenderer/vtest/
Dvtest_renderer.c235 uint32_t res_create_buf[VCMD_RES_CREATE_SIZE]; in vtest_create_resource() local
239 ret = vtest_block_read(renderer.in_fd, &res_create_buf, sizeof(res_create_buf)); in vtest_create_resource()
240 if (ret != sizeof(res_create_buf)) in vtest_create_resource()
243 args.handle = res_create_buf[VCMD_RES_CREATE_RES_HANDLE]; in vtest_create_resource()
244 args.target = res_create_buf[VCMD_RES_CREATE_TARGET]; in vtest_create_resource()
245 args.format = res_create_buf[VCMD_RES_CREATE_FORMAT]; in vtest_create_resource()
246 args.bind = res_create_buf[VCMD_RES_CREATE_BIND]; in vtest_create_resource()
248 args.width = res_create_buf[VCMD_RES_CREATE_WIDTH]; in vtest_create_resource()
249 args.height = res_create_buf[VCMD_RES_CREATE_HEIGHT]; in vtest_create_resource()
250 args.depth = res_create_buf[VCMD_RES_CREATE_DEPTH]; in vtest_create_resource()
[all …]