summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h9
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;
74namespace Tegra { 74namespace Tegra {
75class DebugContext; 75class DebugContext;
76class GPU; 76class GPU;
77namespace Host1x {
78class Host1x;
79} // namespace Host1x
77} // namespace Tegra 80} // namespace Tegra
78 81
79namespace VideoCore { 82namespace 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