diff options
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index 0ce3b1d60..e4168a921 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -74,6 +74,9 @@ class TimeManager; | |||
| 74 | namespace Tegra { | 74 | namespace Tegra { |
| 75 | class DebugContext; | 75 | class DebugContext; |
| 76 | class GPU; | 76 | class GPU; |
| 77 | namespace Host1x { | ||
| 78 | class Host1x; | ||
| 79 | } // namespace Host1x | ||
| 77 | } // namespace Tegra | 80 | } // namespace Tegra |
| 78 | 81 | ||
| 79 | namespace VideoCore { | 82 | namespace VideoCore { |
| @@ -260,6 +263,12 @@ public: | |||
| 260 | /// Gets an immutable reference to the GPU interface. | 263 | /// Gets an immutable reference to the GPU interface. |
| 261 | [[nodiscard]] const Tegra::GPU& GPU() const; | 264 | [[nodiscard]] const Tegra::GPU& GPU() const; |
| 262 | 265 | ||
| 266 | /// Gets a mutable reference to the Host1x interface | ||
| 267 | [[nodiscard]] Tegra::Host1x::Host1x& Host1x(); | ||
| 268 | |||
| 269 | /// Gets an immutable reference to the Host1x interface. | ||
| 270 | [[nodiscard]] const Tegra::Host1x::Host1x& Host1x() const; | ||
| 271 | |||
| 263 | /// Gets a mutable reference to the renderer. | 272 | /// Gets a mutable reference to the renderer. |
| 264 | [[nodiscard]] VideoCore::RendererBase& Renderer(); | 273 | [[nodiscard]] VideoCore::RendererBase& Renderer(); |
| 265 | 274 | ||