summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/yuzu.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Address review and fix broken yuzu-tester buildGravatar James Rowe2020-03-251-2/+2
|
* Frontend/GPU: Refactor context managementGravatar James Rowe2020-03-241-9/+2
| | | | | | | | | | | | | | | | | | | | Changes the GraphicsContext to be managed by the GPU core. This eliminates the need for the frontends to fool around with tricky MakeCurrent/DoneCurrent calls that are dependent on the settings (such as async gpu option). This also refactors out the need to use QWidget::fromWindowContainer as that caused issues with focus and input handling. Now we use a regular QWidget and just access the native windowHandle() directly. Another change is removing the debug tool setting in FrameMailbox. Instead of trying to block the frontend until a new frame is ready, the core will now take over presentation and draw directly to the window if the renderer detects that its hooked by NSight or RenderDoc Lastly, since it was in the way, I removed ScopeAcquireWindowContext and replaced it with a simple subclass in GraphicsContext that achieves the same result
* frontend: sdl2: emu_window: Implement separate presentation thread.Gravatar bunnei2020-02-251-9/+16
|
* yuzu: Implement Vulkan frontendGravatar ReinUsesLisp2020-01-291-1/+17
| | | | | Adds a Qt and SDL2 frontend for Vulkan. It also finishes the missing bits on Vulkan initialization.
* Add FPS to SDL title barGravatar jroweboy2019-09-221-2/+2
| | | | | | Also fix a small issue with incorrect shutdown ordering in SDL. Previously the system would still be running so the telemetry task didn't launch and detached_tasks would assert(count == 0)
* yuzu: Port old usages of Filesystem namespace to FilesystemControllerGravatar Zach Hilman2019-09-211-1/+1
|
* Merge pull request #2526 from lioncash/globalGravatar Zach Hilman2019-06-051-4/+1
|\ | | | | core/telemetry_session: Remove usages of the global system accessor
| * yuzu_cmd/yuzu: Correct formatting specifierGravatar Lioncash2019-05-281-1/+1
| | | | | | | | | | Amends the formatting specifier to obey libfmt. Prevents the application from terminating due to a formatting issue in the error case.
| * core/loader: Remove LoadKernelSystemModeGravatar Lioncash2019-05-281-3/+0
| | | | | | | | This is a hold-over from Citra and doesn't apply to yuzu.
* | yuzu_cmd: Split emu_window OpenGL implementation into its own fileGravatar ReinUsesLisp2019-05-251-1/+2
|/
* yuzu_cmd: Make OpenGL's context currentGravatar ReinUsesLisp2019-05-171-0/+1
| | | | | The SDL2 frontend never bound the OpenGL context, resulting on a white screen and no-ops all over the backend.
* CMakeLists: Ensure we specify Unicode as the codepage on WindowsGravatar Lioncash2019-04-161-4/+6
| | | | | | | | | | | | Previously we were building with MBCS, which is pretty undesirable. We want the application to be Unicode-aware in general. Currently, we make the command line variant of yuzu use ANSI variants of the non-standard getopt functions that we link in for Windows, given we only have an ANSI option-set. We should really replace getopt with a library that we make all build types of yuzu link in, but this will have to do for the time being.
* game_list: Register content with ContentProviderGravatar Zach Hilman2019-03-261-0/+2
|
* Fix getopt on systems where char is unsigned by defaultGravatar xperia642019-03-191-2/+2
|
* yuzu-cmd/yuzu: Replace direct usage of the global system telemetry accessor ↵Gravatar Lioncash2019-03-041-1/+1
| | | | | | | in main() We already have the system instance around, so we can use that instead of the accessor.
* gl_shader_cache: Link loading screen with disk shader cache loadGravatar ReinUsesLisp2019-02-061-0/+3
|
* Merge pull request #1441 from CarlKenner/DebuggerLogGravatar bunnei2018-11-051-0/+3
|\ | | | | logging: Add DebuggerBackend for logging to Visual Studio
| * logging: Add DebuggerBackend for logging to Visual StudioGravatar Carl Kenner2018-10-071-0/+3
| |
* | filesystem: Make CreateFactories() and InstallInterface() take a ↵Gravatar Lioncash2018-10-131-1/+1
| | | | | | | | | | | | | | | | | | VfsFilesystem instance by reference Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr.
* | cmd: Support passing game arguments from command lineGravatar Zach Hilman2018-10-071-8/+11
|/ | | | Uses -p (--program) and following string as args.
* Port web_service from CitraGravatar fearlessTobi2018-10-021-0/+3
|
* yuzu-cmd: Add call to CreateFactoriesGravatar Zach Hilman2018-09-191-1/+3
| | | | Ensures all relevant filesystem objects are initialized and eliminates a crash related to the RegisteredCache.
* yuzu-cmd: fix SDL loggingGravatar tgsm2018-09-081-2/+3
|
* vfs_real: Forward declare IOFileGravatar Lioncash2018-09-021-0/+1
| | | | | | Eliminates the need to rebuild some source files if the file_util header ever changes. This also uncovered some indirect inclusions, which have also been fixed.
* core/core: Replace includes with forward declarations where applicableGravatar Lioncash2018-08-311-0/+3
| | | | | | | | | | | The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
* loader: Make ResultStatus directly compatible with fmtGravatar Lioncash2018-08-151-1/+3
| | | | | | | | | We can make the enum class type compatible with fmt by providing an overload of operator<<. While we're at it, perform proper bounds checking. If something exceeds the array, it should be a hard fail, because it's, without a doubt, a programmer error in this case.
* loader: Add more descriptive errorsGravatar Zach Hilman2018-08-091-13/+11
| | | Full list of new errors and descriptions in core/loader/loader.h
* core: Port core to VfsFilesystem for file accessGravatar Zach Hilman2018-08-081-0/+1
|
* Merge pull request #912 from lioncash/global-varGravatar bunnei2018-08-051-1/+1
|\ | | | | video_core: Eliminate the g_renderer global variable
| * video_core: Eliminate the g_renderer global variableGravatar Lioncash2018-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
* | Merge pull request #849 from DarkLordZach/xciGravatar bunnei2018-08-041-5/+11
|\ \ | |/ |/| XCI and Encrypted NCA Support
| * Fix merge conflicts with opus and update docsGravatar Zach Hilman2018-08-011-2/+2
| |
| * Use more descriptive error codes and messagesGravatar Zach Hilman2018-08-011-5/+9
| |
| * Make XCI comply to review and style guidelinesGravatar Zach Hilman2018-08-011-13/+0
| |
| * Remove files that are not usedGravatar Zach Hilman2018-08-011-0/+15
| |
* | video_core: Make global EmuWindow instance part of the base renderer classGravatar Lioncash2018-08-011-1/+1
|/ | | | | | | | | | | Makes the global a member of the RendererBase class. We also change this to be a reference. Passing any form of null pointer to these functions is incorrect entirely, especially given the code itself assumes that the pointer would always be in a valid state. This also makes it easier to follow the lifecycle of instances being used, as we explicitly interact the renderer with the rasterizer, rather than it just operating on a global pointer.
* file_util: Use an enum class for GetUserPath()Gravatar Lioncash2018-07-211-8/+13
| | | | | | | | | | | | | Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
* OpenGL: Use MakeCurrent/DoneCurrent for multithreaded rendering.Gravatar bunnei2018-07-141-0/+5
|
* Port #3335 and #3373 from Citra: "Small SDL fixes" and "Print the actual ↵Gravatar Tobias2018-07-121-3/+1
| | | | | | | | error preventing SDL from working" (#637) * Port #3335 and #3373 from Citra * Fixup: Use the new logging placeholders
* yuzu-cmd Apply the filter string from settingsGravatar James Rowe2018-07-121-2/+1
|
* Fix build and address review feedbackGravatar bunnei2018-07-021-0/+1
|
* Add configurable logging backendsGravatar James Rowe2018-07-021-1/+6
|
* Update clang formatGravatar James Rowe2018-07-021-3/+3
|
* Rename logging macro back to LOG_*Gravatar James Rowe2018-07-021-10/+10
|
* yuzu_cmd: Fix project for latest msvc.Gravatar bunnei2018-05-231-14/+12
|
* frontends: Move logging macros over to new fmt-capable onesGravatar Lioncash2018-04-261-12/+12
|
* Merge pull request #377 from adityaruplaha/sdl2-fullscreenGravatar bunnei2018-04-211-2/+10
|\ | | | | SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607)
| * SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607)Gravatar adityaruplaha2018-04-211-2/+10
| |
* | Implement Pull #3528 from citra: use nvidia graphics automatically on ↵Gravatar N00byKing2018-04-191-0/+9
|/ | | | | | | | | | laptops with optimus (with AMD support) (#271) * Port 3528: use nvidia graphics automatically on laptops with optimus * Force dedicated AMD Card for switchable Graphics * Ran clang-format
* yuzu.cpp: Update Link from citra to yuzuGravatar N00byKing2018-03-261-1/+1
|