Adding getter to BufferObject

Related-To: NEO-4964

Change-Id: I0bbac01cac9cf0468a78afba4ddc984ec8b55eb2
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2020-09-18 15:27:06 +02:00
parent 69ea73cba0
commit b7852303e8
2 changed files with 4 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ class BufferObject {
uint64_t peekUnmapSize() const { return unmapSize; }
bool peekIsReusableAllocation() const { return this->isReused; }
void addBindExtHandle(uint32_t handle);
StackVec<uint32_t, 2> &getBindExtHandles() { return bindExtHandles; }
protected:
Drm *drm = nullptr;