Lines Matching refs:backing_size
181 uint32_t backing_size; in testvirgl_create_backed_simple_2d_res() local
194 backing_size = args.width * args.height * util_format_get_blocksize(res->base.format); in testvirgl_create_backed_simple_2d_res()
197 res->iovs[0].iov_base = malloc(backing_size); in testvirgl_create_backed_simple_2d_res()
198 res->iovs[0].iov_len = backing_size; in testvirgl_create_backed_simple_2d_res()
209 uint32_t backing_size; in testvirgl_create_backed_simple_1d_res() local
220 backing_size = args.width * util_format_get_blocksize(res->base.format); in testvirgl_create_backed_simple_1d_res()
223 res->iovs[0].iov_base = malloc(backing_size); in testvirgl_create_backed_simple_1d_res()
224 res->iovs[0].iov_len = backing_size; in testvirgl_create_backed_simple_1d_res()
247 uint32_t backing_size; in testvirgl_create_backed_simple_buffer() local
259 backing_size = args.width * args.height * util_format_get_blocksize(res->base.format); in testvirgl_create_backed_simple_buffer()
262 res->iovs[0].iov_base = malloc(backing_size); in testvirgl_create_backed_simple_buffer()
263 res->iovs[0].iov_len = backing_size; in testvirgl_create_backed_simple_buffer()