Refactor libva and OCL sharing to pass in Intel flag

Change-Id: If2580366576b4880fa1a774a2a61cfbceb241835
This commit is contained in:
Xun Deng
2020-04-26 14:56:42 +08:00
committed by sys_ocldev
parent 68f7e67e31
commit 2caeb739c3
19 changed files with 87 additions and 21 deletions

View File

@@ -72,7 +72,7 @@ class Image : public MemObj {
static Image *createSharedImage(Context *context, SharingHandler *sharingHandler, const McsSurfaceInfo &mcsSurfaceInfo,
GraphicsAllocation *graphicsAllocation, GraphicsAllocation *mcsAllocation,
cl_mem_flags flags, const ClSurfaceFormatInfo *surfaceFormat, ImageInfo &imgInfo, uint32_t cubeFaceIndex, uint32_t baseMipLevel, uint32_t mipCount);
cl_mem_flags flags, cl_mem_flags_intel flagsIntel, const ClSurfaceFormatInfo *surfaceFormat, ImageInfo &imgInfo, uint32_t cubeFaceIndex, uint32_t baseMipLevel, uint32_t mipCount);
static cl_int validate(Context *context,
const MemoryProperties &memoryProperties,