Lines Matching defs:resource

79          info.index.resource = tegra_resource_unwrap(info.index.resource);
160 struct pipe_resource *resource,
166 result_type, index, resource,
651 buf[i].buffer.resource = tegra_resource_unwrap(buf[i].buffer.resource);
668 struct tegra_resource *resource = to_tegra_resource(presource);
672 resource->gpu,
726 info.dst.resource = tegra_resource_unwrap(info.dst.resource);
727 info.src.resource = tegra_resource_unwrap(info.src.resource);
788 struct tegra_resource *resource = to_tegra_resource(presource);
791 context->gpu->clear_texture(context->gpu, resource->gpu, level, box, data);
802 struct tegra_resource *resource = to_tegra_resource(presource);
805 context->gpu->clear_buffer(context->gpu, resource->gpu, offset, size,
843 struct tegra_resource *resource = to_tegra_resource(presource);
858 view->gpu = context->gpu->create_sampler_view(context->gpu, resource->gpu,
886 struct tegra_resource *resource = to_tegra_resource(presource);
894 surface->gpu = context->gpu->create_surface(context->gpu, resource->gpu,
930 struct tegra_resource *resource = to_tegra_resource(presource);
939 transfer->map = context->gpu->buffer_map(context->gpu, resource->gpu,
943 transfer->map = context->gpu->texture_map(context->gpu, resource->gpu,
948 transfer->base.resource = NULL;
949 pipe_resource_reference(&transfer->base.resource, presource);
974 if (ptransfer->resource->target == PIPE_BUFFER)
978 pipe_resource_reference(&transfer->base.resource, NULL);
988 struct tegra_resource *resource = to_tegra_resource(presource);
991 context->gpu->buffer_subdata(context->gpu, resource->gpu, usage, offset,
1005 struct tegra_resource *resource = to_tegra_resource(presource);
1008 context->gpu->texture_subdata(context->gpu, resource->gpu, level, usage,
1131 struct tegra_resource *resource = to_tegra_resource(presource);
1134 context->gpu->flush_resource(context->gpu, resource->gpu);
1141 struct tegra_resource *resource = to_tegra_resource(presource);
1144 context->gpu->invalidate_resource(context->gpu, resource->gpu);
1191 struct tegra_resource *resource = to_tegra_resource(presource);
1194 return context->gpu->generate_mipmap(context->gpu, resource->gpu, format,
1274 * resource unwrapping rather complicate. The reason for that is that both
1278 * resource is unwrapped, the code would need to check that it does not