diff options
| author | 2019-01-21 14:12:47 -0500 | |
|---|---|---|
| committer | 2019-01-21 14:12:47 -0500 | |
| commit | 125599c2d51fba0bb9466d92382631ed7f34bed9 (patch) | |
| tree | a0fc21fcf2d49ff81938f0463cf3a5da4dcd3184 /src/video_core/rasterizer_interface.h | |
| parent | Merge pull request #2034 from jroweboy/loading-widget (diff) | |
| parent | Change const char* to const char[] (diff) | |
| download | yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.tar.gz yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.tar.xz yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.zip | |
Merge pull request #2038 from jroweboy/loading-progress-bar
Loading progress bar upgrades
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 06fc59dbe..ff5310848 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <functional> | ||
| 7 | #include "common/common_types.h" | 8 | #include "common/common_types.h" |
| 8 | #include "video_core/engines/fermi_2d.h" | 9 | #include "video_core/engines/fermi_2d.h" |
| 9 | #include "video_core/gpu.h" | 10 | #include "video_core/gpu.h" |
| @@ -11,6 +12,14 @@ | |||
| 11 | 12 | ||
| 12 | namespace VideoCore { | 13 | namespace VideoCore { |
| 13 | 14 | ||
| 15 | enum class LoadCallbackStage { | ||
| 16 | Prepare, | ||
| 17 | Decompile, | ||
| 18 | Build, | ||
| 19 | Complete, | ||
| 20 | }; | ||
| 21 | using DiskResourceLoadCallback = std::function<void(LoadCallbackStage, std::size_t, std::size_t)>; | ||
| 22 | |||
| 14 | class RasterizerInterface { | 23 | class RasterizerInterface { |
| 15 | public: | 24 | public: |
| 16 | virtual ~RasterizerInterface() {} | 25 | virtual ~RasterizerInterface() {} |