Lines Matching refs:usage
234 "bind=%x usage=%d tile=%d last_level=%d\n", __func__,
236 pres->target, pres->bind, pres->usage, should_tile, templat->last_level);
259 * don't have usage parameter, but buffer created by these functions
293 struct winsys_handle *handle, unsigned usage)
408 struct winsys_handle *handle, unsigned usage)
437 unsigned usage, uint64_t *value)
601 unsigned usage,
615 if (res->tiled && (usage & PIPE_MAP_DIRECTLY))
620 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) {
636 else if (!(usage & PIPE_MAP_UNSYNCHRONIZED) &&
637 (usage & PIPE_MAP_READ_WRITE)) {
640 lima_flush_job_accessing_bo(ctx, bo, usage & PIPE_MAP_WRITE);
642 unsigned op = usage & PIPE_MAP_WRITE ?
658 ptrans->usage = usage;
669 if (usage & PIPE_MAP_READ) {
690 if ((usage & dpw) == dpw && res->index_cache)
696 if ((usage & PIPE_MAP_WRITE) && (usage & PIPE_MAP_DIRECTLY))
752 if (trans->base.usage & PIPE_MAP_WRITE) {
879 unsigned usage,
889 u_default_texture_subdata(pctx, prsc, level, usage, box,
894 assert(!(usage & PIPE_MAP_READ));
899 .usage = PIPE_MAP_WRITE,