Lines Matching defs:resource

54  *    size of the resource video memory).
152 subResourceBox(struct pipe_resource *resource, // IN
157 UINT MipLevels = resource->last_level + 1;
166 width = u_minify(resource->width0, *pLevel);
167 height = u_minify(resource->height0, *pLevel);
168 depth = u_minify(resource->depth0, *pLevel);
184 * The CreateResource function creates a resource.
307 pResource->resource = screen->resource_create(screen, &templat);
309 DebugPrintf("%s: failed to create resource\n", __FUNCTION__);
326 subResourceBox(pResource->resource, 0, &level, &box);
331 pResource->resource,
349 subResourceBox(pResource->resource, SubResource, &level, &box);
354 pResource->resource,
389 * of the resource video memory) for an opened resource.
407 * The OpenResource function opens a shared resource.
428 * The DestroyResource function destroys the specified resource
429 * object. The resource object can be destoyed only if it is not
431 * refer to the resource are also destroyed.
462 pipe_resource_reference(&pResource->resource, NULL);
471 * The ResourceMap function maps a subresource of a resource.
488 struct pipe_resource *resource = pResource->resource;
503 if (resource->last_level == 0 && resource->array_size == 1) {
521 subResourceBox(resource, SubResource, &level, &box);
528 resource,
535 resource,
542 DebugPrintf("%s: failed to map resource\n", __FUNCTION__);
558 * The ResourceUnmap function unmaps a subresource of a resource.
647 * resource to a destination resource.
667 struct pipe_resource *dst_resource = pDstResource->resource;
668 struct pipe_resource *src_resource = pSrcResource->resource;
741 struct pipe_resource *dst_resource = pDstResource->resource;
742 struct pipe_resource *src_resource = pSrcResource->resource;
811 * resource is currently being used by the graphics pipeline.
834 * display driver that the specified resource was used as an output
835 * from the graphics processing unit (GPU) and that the resource
881 struct pipe_resource *dst_resource = pDstResource->resource;