diff options
| author | 2020-06-11 21:24:45 -0300 | |
|---|---|---|
| committer | 2020-09-06 05:28:48 -0300 | |
| commit | 9e871937250cb92a13336c6c06186c41f19e1738 (patch) | |
| tree | 5151b85f8c4c26e7a5971b32584723f9910ea67b /src/video_core/rasterizer_interface.h | |
| parent | Merge pull request #4596 from FearlessTobi/port-5495 (diff) | |
| download | yuzu-9e871937250cb92a13336c6c06186c41f19e1738.tar.gz yuzu-9e871937250cb92a13336c6c06186c41f19e1738.tar.xz yuzu-9e871937250cb92a13336c6c06186c41f19e1738.zip | |
video_core: Remove all Core::System references in renderer
Now that the GPU is initialized when video backends are initialized,
it's no longer needed to query components once the game is running: it
can be done when yuzu is booting.
This allows us to pass components between constructors and in the
process remove all Core::System references in the video backend.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 3cbdac8e7..b3e0919f8 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -106,11 +106,8 @@ public: | |||
| 106 | virtual void UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {} | 106 | virtual void UpdatePagesCachedCount(VAddr addr, u64 size, int delta) {} |
| 107 | 107 | ||
| 108 | /// Initialize disk cached resources for the game being emulated | 108 | /// Initialize disk cached resources for the game being emulated |
| 109 | virtual void LoadDiskResources(const std::atomic_bool& stop_loading = false, | 109 | virtual void LoadDiskResources(u64 title_id, const std::atomic_bool& stop_loading, |
| 110 | const DiskResourceLoadCallback& callback = {}) {} | 110 | const DiskResourceLoadCallback& callback) {} |
| 111 | |||
| 112 | /// Initializes renderer dirty flags | ||
| 113 | virtual void SetupDirtyFlags() {} | ||
| 114 | 111 | ||
| 115 | /// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver. | 112 | /// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver. |
| 116 | GuestDriverProfile& AccessGuestDriverProfile() { | 113 | GuestDriverProfile& AccessGuestDriverProfile() { |