rasterizer_cache: Protect inherited caches from submission level
This commit is contained in:
parent
221996a194
commit
4705d1b523
3 changed files with 5 additions and 1 deletions
|
@ -169,6 +169,8 @@ protected:
|
|||
object->MarkAsModified(false, *this);
|
||||
}
|
||||
|
||||
std::recursive_mutex mutex;
|
||||
|
||||
private:
|
||||
/// Returns a list of cached objects from the specified memory region, ordered by access time
|
||||
std::vector<T> GetSortedObjectsFromRegion(CacheAddr addr, u64 size) {
|
||||
|
@ -208,5 +210,4 @@ private:
|
|||
IntervalCache interval_cache; ///< Cache of objects
|
||||
u64 modified_ticks{}; ///< Counter of cache state ticks, used for in-order flushing
|
||||
VideoCore::RasterizerInterface& rasterizer;
|
||||
std::recursive_mutex mutex;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue