summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorGravatar Morph2021-06-27 09:33:58 -0400
committerGravatar GitHub2021-06-27 09:33:58 -0400
commit4df04ad48a2b9f04712ad6627e9712f3625253a9 (patch)
treef66c02d4380eaf2ce4391741edb6dda5d6b0dcde /src/video_core/texture_cache
parentMerge pull request #6532 from MerryMage/libusb-apple (diff)
parentbuffer_cache: Only flush downloaded size (diff)
downloadyuzu-4df04ad48a2b9f04712ad6627e9712f3625253a9.tar.gz
yuzu-4df04ad48a2b9f04712ad6627e9712f3625253a9.tar.xz
yuzu-4df04ad48a2b9f04712ad6627e9712f3625253a9.zip
Merge pull request #6529 from ReinUsesLisp/reaper-fixups
buffer_cache,texture_cache: Misc fixups from the memory reaper
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index 84530a179..c7cfd02b6 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -110,9 +110,6 @@ public:
110 /// Notify the cache that a new frame has been queued 110 /// Notify the cache that a new frame has been queued
111 void TickFrame(); 111 void TickFrame();
112 112
113 /// Runs the Garbage Collector.
114 void RunGarbageCollector();
115
116 /// Return a constant reference to the given image view id 113 /// Return a constant reference to the given image view id
117 [[nodiscard]] const ImageView& GetImageView(ImageViewId id) const noexcept; 114 [[nodiscard]] const ImageView& GetImageView(ImageViewId id) const noexcept;
118 115
@@ -207,6 +204,9 @@ private:
207 } 204 }
208 } 205 }
209 206
207 /// Runs the Garbage Collector.
208 void RunGarbageCollector();
209
210 /// Fills image_view_ids in the image views in indices 210 /// Fills image_view_ids in the image views in indices
211 void FillImageViews(DescriptorTable<TICEntry>& table, 211 void FillImageViews(DescriptorTable<TICEntry>& table,
212 std::span<ImageViewId> cached_image_view_ids, std::span<const u32> indices, 212 std::span<ImageViewId> cached_image_view_ids, std::span<const u32> indices,