Searched refs:buffer_from (Results 1 – 5 of 5) sorted by relevance
128 CopyCommand::CopyCommand(Buffer* buffer_from, Buffer* buffer_to) in CopyCommand() argument129 : Command(Type::kCopy), buffer_from_(buffer_from), buffer_to_(buffer_to) {} in CopyCommand()
139 auto buffer_from = copy->GetBufferFrom(); in ExecuteCommand() local141 return buffer_from->CopyTo(buffer_to); in ExecuteCommand()
264 CopyCommand(Buffer* buffer_from, Buffer* buffer_to);
1798 Buffer* buffer_from = script_->GetBuffer(name); in ParseCopy() local1799 if (!buffer_from) in ParseCopy()1825 buffer_to->SetBufferType(buffer_from->GetBufferType()); in ParseCopy()1826 buffer_to->SetWidth(buffer_from->GetWidth()); in ParseCopy()1827 buffer_to->SetHeight(buffer_from->GetHeight()); in ParseCopy()1828 buffer_to->SetElementCount(buffer_from->ElementCount()); in ParseCopy()1831 if (buffer_from->GetBufferType() != buffer_to->GetBufferType()) in ParseCopy()1833 if (buffer_from == buffer_to) in ParseCopy()1836 auto cmd = MakeUnique<CopyCommand>(buffer_from, buffer_to); in ParseCopy()
159 # Copies all data, values and memory from |buffer_from| to |buffer_to|.163 COPY {buffer_from} TO {buffer_to}