diff options
author | Markus Wick <markus@selfnet.de> | 2018-09-06 15:48:08 +0200 |
---|---|---|
committer | Markus Wick <markus@selfnet.de> | 2018-09-10 22:06:13 +0200 |
commit | 0cfb0bacb2581d79631f496afbc3a3d5dd19eb42 (patch) | |
tree | c6fdc90795dc4e1851e2b3e3bd792e48f19251ba /src/video_core/gpu.h | |
parent | rasterizer: Drop unused handler. (diff) | |
download | yuzu-0cfb0bacb2581d79631f496afbc3a3d5dd19eb42.tar yuzu-0cfb0bacb2581d79631f496afbc3a3d5dd19eb42.tar.gz yuzu-0cfb0bacb2581d79631f496afbc3a3d5dd19eb42.tar.bz2 yuzu-0cfb0bacb2581d79631f496afbc3a3d5dd19eb42.tar.lz yuzu-0cfb0bacb2581d79631f496afbc3a3d5dd19eb42.tar.xz yuzu-0cfb0bacb2581d79631f496afbc3a3d5dd19eb42.tar.zst yuzu-0cfb0bacb2581d79631f496afbc3a3d5dd19eb42.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/gpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index d29f31f52..9163fbdc6 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -6,6 +6,7 @@ #include <array> #include <memory> +#include <vector> #include "common/common_types.h" #include "core/hle/service/nvflinger/buffer_queue.h" #include "video_core/memory_manager.h" @@ -67,6 +68,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format); /// Returns the number of bytes per pixel of each depth format. u32 DepthFormatBytesPerPixel(DepthFormat format); +struct CommandListHeader; class DebugContext; /** @@ -115,7 +117,7 @@ public: ~GPU(); /// Processes a command list stored at the specified address in GPU memory. - void ProcessCommandList(GPUVAddr address, u32 size); + void ProcessCommandLists(const std::vector<CommandListHeader>& commands); /// Returns a reference to the Maxwell3D GPU engine. Engines::Maxwell3D& Maxwell3D(); |