mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Rename constructPropertiesForReadWriteBuffer function
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-4692
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
396d27568d
commit
d3c47ae831
@@ -16,15 +16,15 @@ namespace BlitHelperFunctions {
|
||||
BlitMemoryToAllocationFunc blitMemoryToAllocation = BlitHelper::blitMemoryToAllocation;
|
||||
} // namespace BlitHelperFunctions
|
||||
|
||||
BlitProperties BlitProperties::constructPropertiesForReadWriteBuffer(BlitterConstants::BlitDirection blitDirection,
|
||||
CommandStreamReceiver &commandStreamReceiver,
|
||||
GraphicsAllocation *memObjAllocation,
|
||||
GraphicsAllocation *preallocatedHostAllocation,
|
||||
const void *hostPtr, uint64_t memObjGpuVa,
|
||||
uint64_t hostAllocGpuVa, Vec3<size_t> hostPtrOffset,
|
||||
Vec3<size_t> copyOffset, Vec3<size_t> copySize,
|
||||
size_t hostRowPitch, size_t hostSlicePitch,
|
||||
size_t gpuRowPitch, size_t gpuSlicePitch) {
|
||||
BlitProperties BlitProperties::constructPropertiesForReadWrite(BlitterConstants::BlitDirection blitDirection,
|
||||
CommandStreamReceiver &commandStreamReceiver,
|
||||
GraphicsAllocation *memObjAllocation,
|
||||
GraphicsAllocation *preallocatedHostAllocation,
|
||||
const void *hostPtr, uint64_t memObjGpuVa,
|
||||
uint64_t hostAllocGpuVa, Vec3<size_t> hostPtrOffset,
|
||||
Vec3<size_t> copyOffset, Vec3<size_t> copySize,
|
||||
size_t hostRowPitch, size_t hostSlicePitch,
|
||||
size_t gpuRowPitch, size_t gpuSlicePitch) {
|
||||
GraphicsAllocation *hostAllocation = nullptr;
|
||||
auto clearColorAllocation = commandStreamReceiver.getClearColorAllocation();
|
||||
|
||||
|
||||
@@ -39,15 +39,15 @@ struct TimestampPacketDependencies;
|
||||
using BlitPropertiesContainer = StackVec<BlitProperties, 16>;
|
||||
|
||||
struct BlitProperties {
|
||||
static BlitProperties constructPropertiesForReadWriteBuffer(BlitterConstants::BlitDirection blitDirection,
|
||||
CommandStreamReceiver &commandStreamReceiver,
|
||||
GraphicsAllocation *memObjAllocation,
|
||||
GraphicsAllocation *preallocatedHostAllocation,
|
||||
const void *hostPtr, uint64_t memObjGpuVa,
|
||||
uint64_t hostAllocGpuVa, Vec3<size_t> hostPtrOffset,
|
||||
Vec3<size_t> copyOffset, Vec3<size_t> copySize,
|
||||
size_t hostRowPitch, size_t hostSlicePitch,
|
||||
size_t gpuRowPitch, size_t gpuSlicePitch);
|
||||
static BlitProperties constructPropertiesForReadWrite(BlitterConstants::BlitDirection blitDirection,
|
||||
CommandStreamReceiver &commandStreamReceiver,
|
||||
GraphicsAllocation *memObjAllocation,
|
||||
GraphicsAllocation *preallocatedHostAllocation,
|
||||
const void *hostPtr, uint64_t memObjGpuVa,
|
||||
uint64_t hostAllocGpuVa, Vec3<size_t> hostPtrOffset,
|
||||
Vec3<size_t> copyOffset, Vec3<size_t> copySize,
|
||||
size_t hostRowPitch, size_t hostSlicePitch,
|
||||
size_t gpuRowPitch, size_t gpuSlicePitch);
|
||||
|
||||
static BlitProperties constructPropertiesForCopyBuffer(GraphicsAllocation *dstAllocation, GraphicsAllocation *srcAllocation,
|
||||
Vec3<size_t> dstOffset, Vec3<size_t> srcOffset, Vec3<size_t> copySize,
|
||||
|
||||
Reference in New Issue
Block a user