Searched refs:transfer_resource (Results 1 – 3 of 3) sorted by relevance
40 Resource* transfer_resource) { in RecordCopyBufferDataToTransferResourceIfNeeded() argument41 transfer_resource->UpdateMemoryWithRawData(*buffer->ValuePtr()); in RecordCopyBufferDataToTransferResourceIfNeeded()45 if (!transfer_resource->IsReadOnly()) in RecordCopyBufferDataToTransferResourceIfNeeded()48 transfer_resource->CopyToDevice(command_buffer); in RecordCopyBufferDataToTransferResourceIfNeeded()54 Resource* transfer_resource) { in RecordCopyTransferResourceToHost() argument55 if (!transfer_resource->IsReadOnly()) { in RecordCopyTransferResourceToHost()56 transfer_resource->CopyToHost(command_buffer); in RecordCopyTransferResourceToHost()63 Resource* transfer_resource, in MoveTransferResourceToBufferOutput() argument66 if (transfer_resource->IsReadOnly()) { in MoveTransferResourceToBufferOutput()70 void* resource_memory_ptr = transfer_resource->HostAccessibleMemoryPtr(); in MoveTransferResourceToBufferOutput()[all …]
48 Resource* transfer_resource);50 Resource* transfer_resource);51 static Result MoveTransferResourceToBufferOutput(Resource* transfer_resource,
556 auto& transfer_resource = descriptor_transfer_resources_[buffer]; in ReadbackDescriptorsToHostDataQueue() local558 transfer_resource.get(), buffer); in ReadbackDescriptorsToHostDataQueue()