mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
Remove MOCKABLE_VIRTUAL from getLibFunc()
- this method is called in ctor Change-Id: I8d16ab30c7bf8f886db8369024c1445eeda061ad Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
b51b4a173b
commit
2f497adb44
@@ -42,7 +42,7 @@ class VASharingFunctions : public SharingFunctions {
|
||||
return vaSyncSurfacePFN(vaDisplay, vaSurface);
|
||||
}
|
||||
|
||||
MOCKABLE_VIRTUAL void *getLibFunc(const char *func) {
|
||||
void *getLibFunc(const char *func) {
|
||||
if (vaGetLibFuncPFN) {
|
||||
return vaGetLibFuncPFN(vaDisplay, func);
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ class VASharingFunctionsMock : public VASharingFunctions {
|
||||
bool deriveImageCalled = false;
|
||||
bool destroyImageCalled = false;
|
||||
bool syncSurfaceCalled = false;
|
||||
bool getLibFuncCalled = false;
|
||||
bool extGetSurfaceHandleCalled = false;
|
||||
|
||||
osHandle acquiredVaHandle = 0;
|
||||
@@ -69,11 +68,6 @@ class VASharingFunctionsMock : public VASharingFunctions {
|
||||
syncSurfaceCalled = true;
|
||||
return VA_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
void *getLibFunc(const char *func) override {
|
||||
getLibFuncCalled = true;
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
class MockVaSharing {
|
||||
|
||||
Reference in New Issue
Block a user