Lines Matching defs:resource
70 /* Note: WRITEONLY is just tip for resource placement, the resource
223 struct pipe_resource *resource,
233 resource,
238 nine_context_set_indices_apply(device, resource,
257 This, This->base.resource,
339 * D3DERR_WASSTILLDRAWING if the resource is in use, except for DYNAMIC.
383 /* Copy buffer content to the buffer resource, which
392 pipe->resource_copy_region(pipe, This->base.resource, 0, 0, 0, 0,
394 /* Release previous resource */
401 NineBuffer9_RebindIfRequired(This, device, This->base.resource, 0);
458 * and thus we want to create a new resource on discard and map it
464 /* Use the new resource */
465 pipe_resource_reference(&This->base.resource, new_res);
468 NineBuffer9_RebindIfRequired(This, device, This->base.resource, 0);
479 data = pipe->buffer_map(pipe, This->base.resource, 0,
593 NineBuffer9_RebindIfRequired(This, device, This->base.resource, 0);
624 * . Most of the resource was filled (but some apps do allocate a big buffer
652 NineBuffer9_RebindIfRequired(This, device, This->base.resource, 0);
659 struct pipe_resource *resource = NULL;
667 &resource);
670 if (resource) {
671 NineBuffer9_RebindIfRequired(This, device, resource, buffer_offset);
677 pipe_resource_reference(&resource, NULL);
710 This->base.resource,