mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Change-Id: I8aa968cb9480dfef6fcb51bcc123d6087f9a804b Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
23 lines
591 B
C++
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
|