diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-16 14:33:03 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:05 +0200 |
commit | a60a22d9c284537be2e3a6a89b8afb37e6f0c510 (patch) | |
tree | 0b7c5f0f1256dd58f5f179dbe7661063879a17d1 /src/video_core/texture_cache/surface_base.h | |
parent | UI: Replasce accurate GPU option for GPU Accuracy Level (diff) | |
download | yuzu-a60a22d9c284537be2e3a6a89b8afb37e6f0c510.tar yuzu-a60a22d9c284537be2e3a6a89b8afb37e6f0c510.tar.gz yuzu-a60a22d9c284537be2e3a6a89b8afb37e6f0c510.tar.bz2 yuzu-a60a22d9c284537be2e3a6a89b8afb37e6f0c510.tar.lz yuzu-a60a22d9c284537be2e3a6a89b8afb37e6f0c510.tar.xz yuzu-a60a22d9c284537be2e3a6a89b8afb37e6f0c510.tar.zst yuzu-a60a22d9c284537be2e3a6a89b8afb37e6f0c510.zip |
Diffstat (limited to 'src/video_core/texture_cache/surface_base.h')
-rw-r--r-- | src/video_core/texture_cache/surface_base.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.h index c5ab21f56..79e10ffbb 100644 --- a/src/video_core/texture_cache/surface_base.h +++ b/src/video_core/texture_cache/surface_base.h @@ -192,6 +192,22 @@ public: index = index_; } + void SetMemoryMarked(bool is_memory_marked_) { + is_memory_marked = is_memory_marked_; + } + + bool IsMemoryMarked() const { + return is_memory_marked; + } + + void SetSyncPending(bool is_sync_pending_) { + is_sync_pending = is_sync_pending_; + } + + bool IsSyncPending() const { + return is_sync_pending; + } + void MarkAsPicked(bool is_picked_) { is_picked = is_picked_; } @@ -303,6 +319,8 @@ private: bool is_target{}; bool is_registered{}; bool is_picked{}; + bool is_memory_marked{}; + bool is_sync_pending{}; u32 index{NO_RT}; u64 modification_tick{}; }; |