aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* core/hid: Improve accuracy of the keyboard implementationgerman772021-11-241-2/+274
|
* service/hid: Remove includes of core.h and settings.hgerman772021-11-241-1/+0
|
* input_common: Revert deleted TAS functionsgerman772021-11-241-0/+1
|
* yuzu: Use new input on main and bootmanagergerman772021-11-241-49/+44
|
* input_common: Rewrite keyboardgerman772021-11-241-32/+30
|
* const fixesAdam Heinermann2021-11-211-1/+1
|
* Added TAS controls to the menu under ToolsAdam Heinermann2021-11-211-0/+9
|
* Fix screenshot dimensions when at 1x scaleameerj2021-11-201-1/+1
| | | | | | | This was regressed by ART. Prior to ART, the screenshots were saved at the title's framebuffer resolution. A misunderstanding of the existing logic led to screenshot dimensions becoming dependent on the host render window size. This changes the behavior to match how it was prior to ART at 1x, with screenshots now always being the title's framebuffer dimensions scaled by the resolution scaling factor.
* bootmanager: Fix screenshot resolution factor usageameerj2021-11-161-5/+3
| | | | Fixes screenshots at non integer scaling
* general: Get the current process program id directly from the systemMorph2021-11-041-2/+1
| | | | This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
* general: Rename GetTitleID to GetProgramIDMorph2021-11-041-1/+1
|
* core: Move ResultStatus outside of SystemMorph2021-10-151-3/+3
| | | | Allows it to be a forward declaration in other header files.
* yuzu qt: Remove global system instances from config, WaitTree, mainlat9nq2021-10-071-6/+6
|
* yuzu: main: Register a callback for ExitMorph2021-10-011-0/+5
|
* input_common/tas: new update methodgerman772021-09-181-0/+2
|
* renderers: Add explicit invert_y bool to screenshot callbackameerj2021-07-281-2/+2
| | | | OpenGL and Vulkan images render in different coordinate systems. This allows us to specify the coordinate system of the screenshot within each renderer
* shader: Adhere to disk shader cache settingameerj2021-07-221-6/+7
|
* bootmanager: Create a dummy render widgetMorph2021-07-201-0/+6
| | | | This ensures that Qt positions the render window at the correct position on initializing the respective render backends.
* input_common: Fix mouse panning behaivourgerman772021-07-161-3/+6
|
* bootmanager: Use std::stop_source for stopping emulationReinUsesLisp2021-06-221-6/+6
| | | | | | | Use its std::stop_token to abort shader cache loading. Using std::stop_token instead of std::atomic_bool allows the usage of other utilities like std::stop_callback.
* hle: kernel: Rename Process to KProcess.bunnei2021-05-051-1/+1
|
* input_common: Release mouse buttons on out of focusgerman772021-05-021-0/+2
|
* common: Move settings to common from core.bunnei2021-04-141-1/+1
| | | | - Removes a dependency on core and input_common from common.
* Merge pull request #6040 from german77/toggleKeyboardbunnei2021-03-111-2/+6
|\ | | | | Enable toggle buttons for keyboard and mouse
| * Enable button toggle for keyboard in the modifier buttongerman2021-03-051-2/+6
| |
* | inputCommon: Mouse fixesgerman772021-02-271-2/+23
|/
* gpu: Report renderer errors with exceptionsReinUsesLisp2021-02-131-1/+1
| | | | | | Instead of using a two step initialization to report errors, initialize the GPU renderer and rasterizer on the constructor and report errors through std::runtime_error.
* Merge pull request #5869 from german77/mousePanningbunnei2021-02-111-2/+12
|\ | | | | input_common: Add mouse panning
| * Add mouse panninggerman2021-02-071-2/+12
| |
* | renderer_opengl: Update OpenGL backend version requirement to 4.6Morph2021-02-071-22/+9
|/
* Always initialize keyboard inputgerman2021-01-151-3/+4
|
* Add mutitouch support for touch screensgerman2021-01-151-19/+54
|
* yuzu: Migrate off of setMargin() to setContentsMargins()Lioncash2021-01-131-2/+2
| | | | | | setMargin() has been deprecated since Qt 5, and replaced with setContentsMargins(). We can move over to setContentsMargins() to stay forward-compatible with Qt 6.0.
* yuzu/main: fix mouse not showing on move and port citra-emu/citra#5476gal202020-12-311-2/+9
|
* cmake: Always enable VulkanReinUsesLisp2020-12-241-11/+1
| | | | | Removes the unnecesary burden of maintaining separate #ifdef paths and allows us sharing generic Vulkan code across APIs.
* bootmanager: Add a check whether loading is completeMorph2020-12-181-0/+4
|
* Merge pull request #4939 from german77/MouseInputbunnei2020-11-291-17/+9
|\ | | | | InputCommon: Implement full mouse support
| * Implement full mouse supportgerman2020-11-251-17/+9
| |
* | Merge pull request #4976 from comex/poll-eventsRodrigo Locatti2020-11-251-1/+1
|\ \ | | | | | | Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
| * | Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off ↵comex2020-11-231-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main thread EmuWindow::PollEvents was called from the GPU thread (or the CPU thread in sync-GPU mode) when swapping buffers. It had three implementations: - In GRenderWindow, it didn't actually poll events, just set a flag and emit a signal to indicate that a frame was displayed. - In EmuWindow_SDL2_Hide, it did nothing. - In EmuWindow_SDL2, it did call SDL_PollEvents, but this is wrong because SDL_PollEvents is supposed to be called on the thread that set up video - in this case, the main thread, which was sleeping in a busyloop (regardless of whether sync-GPU was enabled). On macOS this causes a crash. To fix this: - Rename EmuWindow::PollEvents to OnFrameDisplayed, and give it a default implementation that does nothing. - In EmuWindow_SDL2, do not override OnFrameDisplayed, but instead have the main thread call SDL_WaitEvent in a loop.
* / frontend: yuzu (qt): Register a callback for ExecuteProgram.bunnei2020-11-241-0/+6
|/
* bootmanager: Allow mouse clicks only if touch is disabledMorph2020-11-151-3/+13
| | | | | Previously mouse clicks will not register when touch is disabled. This rectifies that and allows mouse clicks to be mapped to other buttons if the touchscreen is disabled.
* bootmanager: Address review commentslat9nq2020-11-091-12/+16
| | | | | | | | | | | | | | Changes QMessageBox usages to warnings, as the problems they bring to light are being safely handled by the application and do not warrant something of the "critical" level. Changes LOG_CRITICAL to LOG_ERROR for the same reason. Preferring ERROR to WARNING as yuzu is denying loading of any guest applications after checking for these conditions. Moved logging the GL_RENDERER string into GetUnsupportedGLExtensions() to make more clear that unsupported extensions were already being logged. Makes placement of the logs easier to understand later, as well.
* bootmanager: Log and show GL_RENDERER string when GPU is insufficientlat9nq2020-11-091-3/+19
| | | | | | | | | | | | | Changes the first message to not include the OpenGL version, as the error is caused by OpenGL failing to load. Adds a new check for OpenGL version 4.3. This will display a message with a similar error as well as the GL_RENDERER string. Adds a CRITICAL log message when triggered. This prevents a crash with yuzu trying to use older OpenGL versions. Modifies the unsupported extension message to output the GL_RENDERER string in the message, as well as logging the string.
* renderer_opengl: Remove emulated mailbox presentationReinUsesLisp2020-09-201-22/+1
| | | | | Emulated mailbox presentation was causing performance issues on Nvidia's OpenGL driver. Remove it.
* video_core: Remove all Core::System references in rendererReinUsesLisp2020-09-061-1/+3
| | | | | | | | | Now that the GPU is initialized when video backends are initialized, it's no longer needed to query components once the game is running: it can be done when yuzu is booting. This allows us to pass components between constructors and in the process remove all Core::System references in the video backend.
* Merge pull request #4605 from lioncash/copy3bunnei2020-08-291-1/+1
|\ | | | | bootmanager: Prevent unnecessary copies in TouchUpdateEvent()
| * bootmanager: Prevent unnecessary copies in TouchUpdateEvent()Lioncash2020-08-291-1/+1
| | | | | | | | | | The list of points is returned by const reference, so we don't need to make a copy of every element in the list.
* | yuzu/main: Amend lifetime issues with InputSubsystemLioncash2020-08-291-2/+2
|/ | | | | | Due to the way Qt performs destruction of parent/child widgets, we need to make the lifetime of the input subsystem shared across the main window and the render window.
* input_common: Eliminate most global stateLioncash2020-08-271-11/+12
| | | | | | | | | | | | | Abstracts most of the input mechanisms under an InputSubsystem class that is managed by the frontends, eliminating any static constructors and destructors. This gets rid of global accessor functions and also allows the frontends to have a more fine-grained control over the lifecycle of the input subsystem. This also makes it explicit which interfaces rely on the input subsystem instead of making it opaque in the interface functions. All that remains to migrate over is the factories, which can be done in a separate change.