Remove reuseBO from createGraphicsAllocationFromSharedHandle

Change-Id: Ia7af1cdd8e3986b8af7c542032d2767303865382
This commit is contained in:
Venevtsev, Igor
2018-08-29 14:50:36 +02:00
committed by sys_ocldev
parent d08aa81a9d
commit f6743ced2a
19 changed files with 46 additions and 55 deletions

View File

@@ -983,7 +983,7 @@ TEST(OsAgnosticMemoryManager, givenDefaultMemoryManagerWhenCreateGraphicsAllocat
OsAgnosticMemoryManager memoryManager;
osHandle handle = 1;
auto size = 4096u;
auto sharedAllocation = memoryManager.createGraphicsAllocationFromSharedHandle(handle, false, false);
auto sharedAllocation = memoryManager.createGraphicsAllocationFromSharedHandle(handle, false);
EXPECT_NE(nullptr, sharedAllocation);
EXPECT_FALSE(sharedAllocation->isCoherent());
EXPECT_NE(nullptr, sharedAllocation->getUnderlyingBuffer());