summaryrefslogtreecommitdiff
path: root/src/yuzu/loading_screen.cpp
AgeCommit message (Collapse)Author
2024-12-31chore: update project branding to citronZephyron
2023-03-12general: fix spelling mistakesLiam
2022-07-24qt: reset progress bar after shader compilationLiam
2022-05-29Update some files with Qt 5.15.2 best practices in mindKyle K
There was some discussion about updating to Qt6 and I figured I would work on some smaller parts. For Windows platform the WinMain function has moved from the Qt5::WinMain to a new one called Qt6::EntryPointPrivate Also Qt5 supports versionless CMake targets https://www.qt.io/blog/versionless-cmake-targets-qt-5.15 These other changes in this commit are to support Qt6, but in ways that don't mess with Qt5. src/yuzu/bootmanager.cpp: Qt6 complains about not being able to know to use QPoint or QPointF, picking QPoint src/yuzu/bootmanager.h: Qt6 prefers that QStringList.h be included rather than an empty class definition src/yuzu/configuration/configure_system.cpp: toULongLong intends to return unsigned 64 bit integer, but Settings::values.rng_seed is only 32 bits wide src/yuzu/game_list.cpp: Qt6 returns a different datatype for QStringList.length than Qt5, it used to be int, but in Qt6 its now qsizetype src/yuzu/loading_screen.cpp: Qt5's for QStyleOption.init say to switch to initFrom. The QStyleOption.init doesn't exist in Qt6 src/yuzu/main.cpp: Another QPointer and QStringList.size, lets standardize on size()
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-20yuzu: Reduce unused includesameerj
2021-12-02general: Replace high_resolution_clock with steady_clockMorph
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
2020-05-15frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413)Morph
2020-03-09yuzu/loading_screen: Remove unused shader progress modeReinUsesLisp
2019-05-20yuzu/loading_screen: Specify string conversions explicitlyLioncash
Allows the loading screen code to compile with implicit string conversions disabled. While we're at it remove unnecessary const usages, and add it to nearby variables where appropriate.
2019-04-09yuzu/loading_screen: Resolve runtime Qt string formatting warningsLioncash
In our error console, when loading a game, the strings: QString::arg: Argument missing: "Loading...", 0 QString::arg: Argument missing: "Launching...", 0 would occasionally pop up when the loading screen was running. This was due to the strings being assumed to have formatting indicators in them, however only two out of the four strings actually have them. This only applies the arguments to the strings that have formatting specifiers provided, which avoids these warnings from occurring.
2019-02-06loading_screen: Unchunk progress barReinUsesLisp
2019-01-21Change const char* to const char[]James Rowe
2019-01-21Fix mingw compile error and warningsJames Rowe
2019-01-21Add fade out effect to the loading screenJames Rowe
2019-01-21Set Minimum Size to the same as renderwindowJames Rowe
2019-01-20Change the background color of Stage Complete to yuzu blueJames Rowe
2019-01-20Rename step 1 and step 2 to be a little more descriptiveJames Rowe
2019-01-20Prevent estimated time from flashing after slow shader compilation startsJames Rowe
2019-01-20Move progress bar style into constexpr stringsJames Rowe
2019-01-20Hide progress bar on Prepare stepJames Rowe
2019-01-20QT: Upgrade the Loading Bar to look much betterJames Rowe
2019-01-19Add a workaround if QMovie isn't availableJames Rowe
2019-01-19QT Frontend: Add a Loading screen with progressbarJames Rowe
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.