mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Pass root device index to MemObj::getGraphicsAllocation method
leave parameterless method in Buffer and Image classes add method to remove graphics allocation from MultiGraphicsAllocation Related-To: NEO-4672 Change-Id: I3020eecfabe9a16af7f36d68a74b32d3f4fc2276 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
@@ -19,6 +19,8 @@ class MultiGraphicsAllocation : NonCopyableOrMovableClass {
|
||||
|
||||
void addAllocation(GraphicsAllocation *graphicsAllocation);
|
||||
|
||||
void removeAllocation(uint32_t rootDeviceIndex);
|
||||
|
||||
GraphicsAllocation *getGraphicsAllocation(uint32_t rootDeviceIndex) const;
|
||||
|
||||
GraphicsAllocation::AllocationType getAllocationType() const;
|
||||
|
||||
Reference in New Issue
Block a user