diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-07-02 11:29:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 11:29:01 -0400 |
commit | eaa62aee988454f9cbd58219aa4d82d7e152c61d (patch) | |
tree | 8fa1e87467e9e37fce6ca159d8bb99d2ab907628 /src/core/memory.h | |
parent | 87080e71c5f0c35ba965ffd5f48a192e0967d47a (diff) | |
parent | 0e6b559c98e3dee54c3c9eaef2d3e59f3871882d (diff) |
Merge pull request #10942 from FernandoS27/android-is-a-pain-in-the-a--
Memory Tracking: Add mechanism to register small writes when gpu page is contested by GPU
Diffstat (limited to 'src/core/memory.h')
-rw-r--r-- | src/core/memory.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 72a0be813..ea01824f8 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -5,6 +5,7 @@ #include <cstddef> #include <memory> +#include <span> #include <string> #include "common/typed_address.h" #include "core/hle/result.h" @@ -15,7 +16,8 @@ struct PageTable; namespace Core { class System; -} +class GPUDirtyMemoryManager; +} // namespace Core namespace Kernel { class PhysicalMemory; @@ -458,6 +460,8 @@ public: */ void MarkRegionDebug(Common::ProcessAddress vaddr, u64 size, bool debug); + void SetGPUDirtyManagers(std::span<Core::GPUDirtyMemoryManager> managers); + private: Core::System& system; |