diff options
author | James Rowe <jroweboy@gmail.com> | 2019-01-17 00:01:00 -0700 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2019-01-19 23:34:03 -0700 |
commit | 08fcf41b0a3d4e6066cb72f47c3e1d94bb7fc408 (patch) | |
tree | 5de343927c3ac46b141ff2675bed7d9c720debc7 /src/yuzu/CMakeLists.txt | |
parent | 83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc (diff) |
QT Frontend: Add a Loading screen with progressbar
With shader caches on the horizon, one requirement is to provide visible
feedback for the progress. The shader cache reportedly takes several
minutes to load for large caches that were invalidated, and as such we
should provide a loading screen with progress.
Adds a loading screen widget that will be shown until the first frame of
the game is swapped. This was chosen in case shader caches are not being
used, several games still take more than a few seconds to launch and
could benefit from a loading screen.
Diffstat (limited to 'src/yuzu/CMakeLists.txt')
-rw-r--r-- | src/yuzu/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 1f852df4b..4cab599b4 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -68,6 +68,8 @@ add_executable(yuzu game_list_p.h game_list_worker.cpp game_list_worker.h + loading_screen.cpp + loading_screen.h hotkeys.cpp hotkeys.h main.cpp @@ -102,9 +104,10 @@ set(UIS configuration/configure_system.ui configuration/configure_touchscreen_advanced.ui configuration/configure_web.ui + compatdb.ui hotkeys.ui + loading_screen.ui main.ui - compatdb.ui ) file(GLOB COMPAT_LIST |