Lines Matching defs:resource
25 struct pipe_resource *resource,
182 /* Copies data from the resource into the transfer's temporary GART
189 struct nv04_resource *buf = nv04_resource(tx->base.resource);
211 struct nv04_resource *buf = nv04_resource(tx->base.resource);
280 struct pipe_resource *resource,
284 tx->base.resource = resource;
323 tx.base.resource = &buf->base;
353 * resource. This can be useful if we would otherwise have to wait for a read
369 * resource's data.
371 * This may or may not be the _actual_ memory area of the resource. However
373 * area, the contents of the returned map are copied over to the resource.
381 * DISCARD_WHOLE_RESOURCE means that the whole resource is going to be
393 struct pipe_resource *resource,
399 struct nv04_resource *buf = nv04_resource(resource);
402 return nouveau_user_ptr_transfer_map(pipe, resource, level, usage, box, ptransfer);
410 nouveau_buffer_transfer_init(tx, resource, box, usage);
473 * relevant flags. If buf->mm is set, that means this resource is part of a
535 struct nv04_resource *buf = nv04_resource(transfer->resource);
546 * was returned was not the real resource's data, this needs to transfer the
547 * data back to the resource.
556 struct nv04_resource *buf = nv04_resource(transfer->resource);
657 struct pipe_resource *resource,
665 nouveau_buffer_transfer_init(tx, resource, box, usage);
667 return nv04_resource(resource)->data;
864 tx.base.resource = &buf->base;
913 struct pipe_resource *resource)
916 struct nv04_resource *buf = nv04_resource(resource);