aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2019-01-19 21:03:26 -0700
committerJames Rowe <jroweboy@gmail.com>2019-01-20 14:47:35 -0700
commite8bd6b1fcc5abd4813cda08b4921c94ada89509d (patch)
tree1db492eb96d27f4e2ded0aee295d3be579352535 /src/video_core/rasterizer_interface.h
parent1c733bf175253bbe3f2f7747fe5344e654eff6e0 (diff)
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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index 06fc59dbe8..b2c74afde1 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,
+ Raw,
+ Binary,
+ Complete,
+};
+using DiskResourceLoadCallback = std::function<void(LoadCallbackStage, std::size_t, std::size_t)>;
+
class RasterizerInterface {
public:
virtual ~RasterizerInterface() {}