mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Graphics Allocation cleanup.
- remove one constructor - start using mock graphics allocation in tests Change-Id: Idb8f4a35dbc2cae8d6bf667bab5542d8e91d6e0d
This commit is contained in:
committed by
sys_ocldev
parent
f9ba697587
commit
7ece16ee7a
@@ -84,10 +84,6 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
virtual ~GraphicsAllocation() = default;
|
||||
GraphicsAllocation &operator=(const GraphicsAllocation &) = delete;
|
||||
GraphicsAllocation(const GraphicsAllocation &) = delete;
|
||||
GraphicsAllocation(void *cpuPtrIn, size_t sizeIn) : size(sizeIn),
|
||||
cpuPtr(cpuPtrIn),
|
||||
gpuAddress(castToUint64(cpuPtrIn)),
|
||||
sharedHandle(Sharing::nonSharedResource) {}
|
||||
|
||||
GraphicsAllocation(void *cpuPtrIn, uint64_t gpuAddress, uint64_t baseAddress, size_t sizeIn) : size(sizeIn),
|
||||
cpuPtr(cpuPtrIn),
|
||||
|
||||
Reference in New Issue
Block a user