summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd
AgeCommit message (Collapse)Author
2020-03-30Frontend: Don't call DoneCurrent if the context isnt already currentJames Rowe
2020-03-25Address review and fix broken yuzu-tester buildJames Rowe
2020-03-24Frontend/GPU: Refactor context managementJames Rowe
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
2020-03-17bcat: Disable Boxcat backend by defaultFearlessTobi
This commit disables the Boxcat backend by default for new users of yuzu. There's several reasons as to why this is done: 1. Boxcat currently only actually has an impact on 3 games and doesn't influence any core mechanics of them 2. It causes a plethora of issues when enabled such as games like Crash Team Racing, Diablo 3 and Tales of Vesperia not booting at all or hanging 3. It causes https://github.com/yuzu-emu/yuzu/issues/2957 to happen. This makes the configuration menu totally unusable for many Linux users of yuzu I think those points show that currently the negative impact of Boxcat outweighs its benefits and should therefore be disabled by default. For users who are eager to use the extra features provided by it, they can still just turn it on in the settings.
2020-03-07Merge pull request #3452 from Morph1984/anisotropic-filteringbunnei
frontend/Graphics: Add "Advanced" graphics tab and experimental Anisotropic Filtering support
2020-03-03Frontend/SDL - Provide proper default for UDP inputJames Rowe
When the default file is read in, the settings default value is only used when the key is missing. As it was, the key existed, but the value was empty string causing it to accept that as a value to pass into the core
2020-02-27Create an "Advanced" tab in the graphics configuration tab and add ↵Morph
anisotropic filtering levels.
2020-02-25frontend: qt: bootmanager: Vulkan: Restore support for VK backend.bunnei
2020-02-25frontend: sdl2: emu_window: Implement separate presentation thread.bunnei
2020-02-25core: settings: Add setting to enable vsync, which is on by default.bunnei
2020-02-14Add 4:3 aspect ratio and address feedbackMorph
2020-02-13Add following aspect ratios: 16:9, 21:9, Stretch to WindowMorph
Available as a drop down within the configure graphics tab.
2020-01-29yuzu_cmd: Fix memcpy on Vulkan handlersReinUsesLisp
2020-01-29yuzu: Implement Vulkan frontendReinUsesLisp
Adds a Qt and SDL2 frontend for Vulkan. It also finishes the missing bits on Vulkan initialization.
2020-01-29settings: Add settings for graphics backendReinUsesLisp
2020-01-23Replace GetString with Get functionFearlessTobi
This should hopefully fix compilation errors.
2020-01-23Input: UDP Client to provide motion and touch controlsfearlessTobi
An implementation of the cemuhook motion/touch protocol, this adds the ability for users to connect several different devices to citra to send direct motion and touch data to citra. Co-Authored-By: jroweboy <jroweboy@gmail.com>
2019-11-07yuzu_cmd: Use string_view instead of string for extensionsReinUsesLisp
Avoids potential allocations due to the usage of std::string on strings that we know at compile time. Most of these might fit in SSO, but it adds complexity that can be easily avoided with string views.
2019-11-07gl_rasterizer: Emulate viewport flipping with ARB_clip_controlReinUsesLisp
Emulates negative y viewports with ARB_clip_control. This allows us to more easily emulated pipelines with tessellation and/or geometry shader stages. It also avoids corrupting games with transform feedbacks and negative viewports (gl_Position.y was being modified).
2019-10-04SDL: Fix missing headerFernando Sahmkow
This fixes linux and mingw builds.
2019-10-04Merge pull request #2896 from FearlessTobi/port-4950bunnei
Port citra-emu/citra#4950: "Add FPS to SDL title bar"
2019-09-30settings: Add option to set BCAT backendZach Hilman
2019-09-22Add FPS to SDL title barjroweboy
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)
2019-09-21filesystem: Add const qualification to various accessorsZach Hilman
2019-09-21settings: Add options for managing gamecard emulationZach Hilman
2019-09-21settings: Add options for setting storage sizesZach Hilman
2019-09-21yuzu: Port old usages of Filesystem namespace to FilesystemControllerZach Hilman
2019-09-10Add frametime logging for tracking performance over timefearlessTobi
Co-Authored-By: jroweboy <jroweboy@gmail.com>
2019-07-11yuzu: Remove setting for using UnicornLioncash
The JIT is mature enough that this setting can be removed, falling back to Unicorn only on unsupported architectures. Any missing features from Unicorn (of which there are extremely few), are mostly developer-oriented, which most users don't care about. Features should be coordinated with the JIT, not the interpreter, anyhow.
2019-07-05Merge pull request #2601 from FernandoS27/texture_cacheZach Hilman
Implement a new Texture Cache
2019-07-04Merge pull request #2669 from FearlessTobi/move-cpujit-settingZach Hilman
yuzu: Move CPU Jit setting to Debug tab
2019-07-04yuzu: Remove CPU Jit setting from the UIfearlessTobi
A normal user shouldn't change this, as it will slow down the emulation and can lead to bugs or crashes. The renaming is done in order to prevent users from leaving this on without a way to turn it off from the UI.
2019-06-28settings: Add config option for kiosk (quest) modeZach Hilman
2019-06-21Merge pull request #2482 from DarkLordZach/prepobunnei
core: Add detailed local reporting feature for development
2019-06-20video_core: Make ARB_buffer_storage a required extensionReinUsesLisp
2019-06-07Merge pull request #2514 from ReinUsesLisp/opengl-compatZach Hilman
video_core: Drop OpenGL core in favor of OpenGL compatibility
2019-06-05Merge pull request #2526 from lioncash/globalZach Hilman
core/telemetry_session: Remove usages of the global system accessor
2019-05-30rasterizer_opengl: Remove OpenGL core profileReinUsesLisp
2019-05-29Merge pull request #2518 from ReinUsesLisp/sdl2-windowbunnei
yuzu_cmd: Split emu_window OpenGL implementation into its own file
2019-05-28yuzu_cmd/yuzu: Correct formatting specifierLioncash
Amends the formatting specifier to obey libfmt. Prevents the application from terminating due to a formatting issue in the error case.
2019-05-28core/loader: Remove LoadKernelSystemModeLioncash
This is a hold-over from Citra and doesn't apply to yuzu.
2019-05-26emu_window: Pass OnMinimalClientAreaChangeRequest argument by copyReinUsesLisp
There's no performance improvement in passing an unsigned pair by reference.
2019-05-25yuzu_cmd: Split emu_window OpenGL implementation into its own fileReinUsesLisp
2019-05-25settings: Add 'Reporting Services' config optionZach Hilman
Full enable/disable for all reports.
2019-05-23common/file_util: Make ReadFileToString and WriteStringToFile consistentLioncash
Makes the parameter ordering consistent, and also makes the filename parameter a std::string. A std::string would be constructed anyways with the previous code, as IOFile's only constructor with a filepath is one taking a std::string. We can also make WriteStringToFile's string parameter utilize a std::string_view for the string, making use of our previous changes to IOFile.
2019-05-17Merge pull request #2477 from ReinUsesLisp/fix-sdl2bunnei
yuzu_cmd: Make OpenGL's context current
2019-05-17yuzu_cmd: Use OpenGL compat when asked in the settingsReinUsesLisp
2019-05-17yuzu_cmd: Make OpenGL's context currentReinUsesLisp
The SDL2 frontend never bound the OpenGL context, resulting on a white screen and no-ops all over the backend.
2019-04-24Merge pull request #2424 from FernandoS27/compatbunnei
Allow picking a Compatibility Profile for OpenGL.
2019-04-20Allow picking a Compatibility Profile for OpenGL.Fernando Sahmkow
This option allows picking the compatibility profile since a lot of bugs are fixed in it. We devs will use this option to easierly debug current problems in our Core implementation.:wq