Lines Matching defs:usage
121 info->usage = PIPE_USAGE_STREAM;
123 info->usage = PIPE_USAGE_DEFAULT;
125 info->usage = PIPE_USAGE_STREAM;
127 info->usage = PIPE_USAGE_DEFAULT;
134 info->usage = PIPE_USAGE_STREAM;
136 info->usage = PIPE_USAGE_DYNAMIC;
254 unsigned usage;
272 if (!(This->base.usage & D3DUSAGE_DYNAMIC) && This->base.pool == D3DPOOL_DEFAULT)
352 usage = PIPE_MAP_WRITE | PIPE_MAP_DISCARD_WHOLE_RESOURCE;
354 usage = PIPE_MAP_WRITE | PIPE_MAP_UNSYNCHRONIZED;
358 usage = (This->base.usage & D3DUSAGE_WRITEONLY) ?
361 if (Flags & D3DLOCK_DONOTWAIT && !(This->base.usage & D3DUSAGE_DYNAMIC))
362 usage |= PIPE_MAP_DONTBLOCK;
467 usage = PIPE_MAP_WRITE | PIPE_MAP_UNSYNCHRONIZED;
480 usage, &box, &This->maps[This->nmaps].transfer);
484 " usage = %x\n"
487 usage, box.x, box.width);
574 if (This->base.pool == D3DPOOL_SYSTEMMEM && This->base.usage & D3DUSAGE_DYNAMIC) {
627 * at the start of the buffer (hints at round usage starting again)