QT: Upgrade the Loading Bar to look much better

This commit is contained in:
James Rowe 2019-01-19 21:03:26 -07:00
parent 1c733bf175
commit e8bd6b1fcc
4 changed files with 202 additions and 12 deletions

View file

@ -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() {}