|
|
|
@ -21,6 +21,7 @@
|
|
|
|
|
#include "video_core/texture_cache/descriptor_table.h"
|
|
|
|
|
#include "video_core/texture_cache/image_base.h"
|
|
|
|
|
#include "video_core/texture_cache/image_info.h"
|
|
|
|
|
#include "video_core/texture_cache/image_view_base.h"
|
|
|
|
|
#include "video_core/texture_cache/image_view_info.h"
|
|
|
|
|
#include "video_core/texture_cache/render_targets.h"
|
|
|
|
|
#include "video_core/texture_cache/slot_vector.h"
|
|
|
|
@ -100,12 +101,6 @@ public:
|
|
|
|
|
/// Return a reference to the given image view id
|
|
|
|
|
[[nodiscard]] ImageView& GetImageView(ImageViewId id) noexcept;
|
|
|
|
|
|
|
|
|
|
/// Return a constant reference to the given image id
|
|
|
|
|
[[nodiscard]] const Image& GetImage(ImageId id) const noexcept;
|
|
|
|
|
|
|
|
|
|
/// Return a reference to the given image id
|
|
|
|
|
[[nodiscard]] Image& GetImage(ImageId id) noexcept;
|
|
|
|
|
|
|
|
|
|
/// Mark an image as modified from the GPU
|
|
|
|
|
void MarkModification(ImageId id) noexcept;
|
|
|
|
|
|
|
|
|
@ -181,6 +176,8 @@ public:
|
|
|
|
|
|
|
|
|
|
[[nodiscard]] bool IsRescaling() const noexcept;
|
|
|
|
|
|
|
|
|
|
[[nodiscard]] bool IsRescaling(const ImageViewBase& image_view) const noexcept;
|
|
|
|
|
|
|
|
|
|
[[nodiscard]] bool BlackListImage(ImageId image_id);
|
|
|
|
|
|
|
|
|
|
std::mutex mutex;
|
|
|
|
|