Files
compute-runtime/runtime/helpers/blit_commands_helper.h
Dunajski, Bartosz 653986aea1 Add method to append blit command
Change-Id: I8aa968cb9480dfef6fcb51bcc123d6087f9a804b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-04-11 14:50:42 +02:00

23 lines
591 B
C++

/*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
namespace NEO {
class Buffer;
class GraphicsAllocation;
class LinearStream;
template <typename GfxFamily>
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