diff options
| author | 2019-01-19 21:03:26 -0700 | |
|---|---|---|
| committer | 2019-01-20 14:47:35 -0700 | |
| commit | e8bd6b1fcc5abd4813cda08b4921c94ada89509d (patch) | |
| tree | 1db492eb96d27f4e2ded0aee295d3be579352535 /src/video_core/rasterizer_interface.h | |
| parent | Merge pull request #2034 from jroweboy/loading-widget (diff) | |
| download | yuzu-e8bd6b1fcc5abd4813cda08b4921c94ada89509d.tar.gz yuzu-e8bd6b1fcc5abd4813cda08b4921c94ada89509d.tar.xz yuzu-e8bd6b1fcc5abd4813cda08b4921c94ada89509d.zip | |
QT: Upgrade the Loading Bar to look much better
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..b2c74afde 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 | Raw, | ||
| 18 | Binary, | ||
| 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() {} |