diff options
| author | 2020-04-27 00:18:46 -0400 | |
|---|---|---|
| committer | 2020-04-27 00:18:46 -0400 | |
| commit | 6c7d8073be9ab0ce92d346742989800895beeffe (patch) | |
| tree | 298da9383d7f883102643f0ab146dda72d9f5358 /src/video_core/gpu.h | |
| parent | Merge pull request #3795 from vitor-k/fix-folder (diff) | |
| parent | Clang Format. (diff) | |
| download | yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.tar.gz yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.tar.xz yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.zip | |
Merge pull request #3742 from FernandoS27/command-list
Optimize GPU Command Lists and Introduce Fast GPU Time Option
Diffstat (limited to 'src/video_core/gpu.h')
| -rw-r--r-- | src/video_core/gpu.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 5e3eb94e9..dd51c95b7 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h | |||
| @@ -155,6 +155,10 @@ public: | |||
| 155 | /// Calls a GPU method. | 155 | /// Calls a GPU method. |
| 156 | void CallMethod(const MethodCall& method_call); | 156 | void CallMethod(const MethodCall& method_call); |
| 157 | 157 | ||
| 158 | /// Calls a GPU multivalue method. | ||
| 159 | void CallMultiMethod(u32 method, u32 subchannel, const u32* base_start, u32 amount, | ||
| 160 | u32 methods_pending); | ||
| 161 | |||
| 158 | /// Flush all current written commands into the host GPU for execution. | 162 | /// Flush all current written commands into the host GPU for execution. |
| 159 | void FlushCommands(); | 163 | void FlushCommands(); |
| 160 | /// Synchronizes CPU writes with Host GPU memory. | 164 | /// Synchronizes CPU writes with Host GPU memory. |
| @@ -309,8 +313,12 @@ private: | |||
| 309 | /// Calls a GPU engine method. | 313 | /// Calls a GPU engine method. |
| 310 | void CallEngineMethod(const MethodCall& method_call); | 314 | void CallEngineMethod(const MethodCall& method_call); |
| 311 | 315 | ||
| 316 | /// Calls a GPU engine multivalue method. | ||
| 317 | void CallEngineMultiMethod(u32 method, u32 subchannel, const u32* base_start, u32 amount, | ||
| 318 | u32 methods_pending); | ||
| 319 | |||
| 312 | /// Determines where the method should be executed. | 320 | /// Determines where the method should be executed. |
| 313 | bool ExecuteMethodOnEngine(const MethodCall& method_call); | 321 | bool ExecuteMethodOnEngine(u32 method); |
| 314 | 322 | ||
| 315 | protected: | 323 | protected: |
| 316 | std::unique_ptr<Tegra::DmaPusher> dma_pusher; | 324 | std::unique_ptr<Tegra::DmaPusher> dma_pusher; |