diff options
author | bunnei <bunneidev@gmail.com> | 2019-01-21 20:12:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 20:12:47 +0100 |
commit | 125599c2d51fba0bb9466d92382631ed7f34bed9 (patch) | |
tree | a0fc21fcf2d49ff81938f0463cf3a5da4dcd3184 /src/video_core | |
parent | Merge pull request #2034 from jroweboy/loading-widget (diff) | |
parent | Change const char* to const char[] (diff) | |
download | yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.tar yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.tar.gz yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.tar.bz2 yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.tar.lz yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.tar.xz yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.tar.zst yuzu-125599c2d51fba0bb9466d92382631ed7f34bed9.zip |
Diffstat (limited to 'src/video_core')
-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 @@ #pragma once +#include <functional> #include "common/common_types.h" #include "video_core/engines/fermi_2d.h" #include "video_core/gpu.h" @@ -11,6 +12,14 @@ namespace VideoCore { +enum class LoadCallbackStage { + Prepare, + Decompile, + Build, + Complete, +}; +using DiskResourceLoadCallback = std::function<void(LoadCallbackStage, std::size_t, std::size_t)>; + class RasterizerInterface { public: virtual ~RasterizerInterface() {} |