/* * Copyright (C) 2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include namespace NEO { class Buffer; class GraphicsAllocation; class LinearStream; template struct BlitCommandsHelper { static size_t estimateBlitCommandsSize(uint64_t copySize); static void dispatchBlitCommandsForBuffer(Buffer &buffer, LinearStream &linearStream, GraphicsAllocation &hostPtrAllocation, uint64_t copySize); static void appendBlitCommandsForBuffer(Buffer &buffer, typename GfxFamily::XY_COPY_BLT &blitCmd); }; } // namespace NEO