preferRenderCompression flag for GMM resources creation

Change-Id: I718fa21d0feb825e0a3215408c78fa49d094a15f
This commit is contained in:
Dunajski, Bartosz
2018-01-12 09:08:49 +01:00
committed by sys_ocldev
parent b0c07bf27f
commit c939419ccc
12 changed files with 143 additions and 22 deletions

View File

@@ -77,7 +77,7 @@ Image *VASurface::createSharedVaSurface(Context *context, VASharingFunctions *sh
auto alloc = memoryManager->createGraphicsAllocationFromSharedHandle(sharedHandle, false, true);
Gmm *gmm = Gmm::queryImgParams(imgInfo, hwInfo.pPlatform->eRenderCoreFamily);
Gmm *gmm = Gmm::createGmmAndQueryImgParams(imgInfo, hwInfo);
DEBUG_BREAK_IF(alloc->gmm != nullptr);
alloc->gmm = gmm;