mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
fix(ocl): handle gl sharing displayable textures
Displayable textures always need dc flush. Related-To: NEO-11694 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d1e56b4e1e
commit
76e8be5c39
@@ -83,6 +83,8 @@ class MockGmmResourceInfo : public GmmResourceInfo {
|
||||
|
||||
bool is64KBPageSuitable() const override { return is64KBPageSuitableValue; }
|
||||
|
||||
bool isDisplayable() const override { return isDisplayableValue; }
|
||||
|
||||
GMM_RESOURCE_INFO *peekGmmResourceInfo() const override { return mockResourceInfoHandle; }
|
||||
|
||||
GMM_RESOURCE_USAGE_TYPE getCachePolicyUsage() const override { return usageType; }
|
||||
@@ -118,6 +120,7 @@ class MockGmmResourceInfo : public GmmResourceInfo {
|
||||
uint32_t arrayIndexPassedToGetOffset = 0;
|
||||
SurfaceFormatInfo tempSurface{};
|
||||
bool is64KBPageSuitableValue = true;
|
||||
bool isDisplayableValue = false;
|
||||
GMM_RES_COPY_BLT requestedResCopyBlt = {};
|
||||
uint32_t cpuBltCalled = 0u;
|
||||
uint8_t cpuBltResult = 1u;
|
||||
|
||||
Reference in New Issue
Block a user