Searched refs:box (Results 1 – 4 of 4) sorted by relevance
180 static int sync_linear_to_iovec(Resource* res, uint64_t offset, const virgl_box* box) { in sync_linear_to_iovec() argument194 if (box->x > res->args.width || box->y > res->args.height) in sync_linear_to_iovec()196 if (box->w == 0U || box->h == 0U) in sync_linear_to_iovec()198 uint32_t w = std::min(box->w, res->args.width - box->x); in sync_linear_to_iovec()199 uint32_t h = std::min(box->h, res->args.height - box->y); in sync_linear_to_iovec()201 offset += box->y * stride + box->x * bpp; in sync_linear_to_iovec()224 static int sync_iovec_to_linear(Resource* res, uint64_t offset, const virgl_box* box) { in sync_iovec_to_linear() argument238 if (box->x > res->args.width || box->y > res->args.height) in sync_iovec_to_linear()240 if (box->w == 0U || box->h == 0U) in sync_iovec_to_linear()242 uint32_t w = std::min(box->w, res->args.width - box->x); in sync_iovec_to_linear()[all …]
6 # MINOR_CLASS: 0x24 -> 36 (Set-top box)
145 struct virtio_gpu_box box; member
187 box-shadow: 1px 1px var(--modal-button-shadow);