Lines Matching defs:usage
474 unsigned usage)
506 if (!(usage & PIPE_HANDLE_USAGE_EXPLICIT_FLUSH) &&
563 res->external_usage |= usage & ~PIPE_HANDLE_USAGE_EXPLICIT_FLUSH;
564 if (!(usage & PIPE_HANDLE_USAGE_EXPLICIT_FLUSH))
568 res->external_usage = usage;
1070 if (templ->usage == PIPE_USAGE_STAGING ||
1071 templ->usage == PIPE_USAGE_STREAM)
1106 unsigned usage)
1143 rtex->resource.external_usage = usage;
1201 resource.usage = staging ? PIPE_USAGE_STAGING : PIPE_USAGE_DEFAULT;
1234 res->usage = flags & R600_RESOURCE_FLAG_TRANSFER ? PIPE_USAGE_STAGING : PIPE_USAGE_DEFAULT;
1286 unsigned usage,
1313 usage, box);
1331 else if (usage & PIPE_MAP_READ)
1342 usage, box))
1354 trans->b.b.usage = usage;
1381 if (usage & PIPE_MAP_READ) {
1427 resource.usage = (usage & PIPE_MAP_READ) ?
1444 if (usage & PIPE_MAP_READ)
1447 usage |= PIPE_MAP_UNSYNCHRONIZED;
1458 if (!(map = r600_buffer_map_sync_with_rings(rctx, buf, usage))) {
1476 if ((transfer->usage & PIPE_MAP_WRITE) && rtransfer->staging) {
1499 * decrease the total memory usage or make them reusable. The memory
1500 * usage will be slightly higher than given here because of the buffer