mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Change makeResident to be non virtual function.
- remove wddm version, not a lot of value there as residency is logged in processResidency anyway. Change-Id: Icb2814cfce0e8f3cd75445f1fd2e2f8535d476cc Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ec63a03337
commit
e234c89ee4
@@ -73,7 +73,7 @@ class CommandStreamReceiver {
|
||||
|
||||
virtual bool flushBatchedSubmissions() = 0;
|
||||
|
||||
virtual void makeResident(GraphicsAllocation &gfxAllocation);
|
||||
MOCKABLE_VIRTUAL void makeResident(GraphicsAllocation &gfxAllocation);
|
||||
virtual void makeNonResident(GraphicsAllocation &gfxAllocation);
|
||||
MOCKABLE_VIRTUAL void makeSurfacePackNonResident(ResidencyContainer &allocationsForResidency);
|
||||
virtual void processResidency(const ResidencyContainer &allocationsForResidency) {}
|
||||
|
||||
Reference in New Issue
Block a user