Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-01-15 | Always initialize keyboard input | german | 1 | -4/+5 | |
2021-01-15 | Add mutitouch support for touch screens | german | 1 | -4/+8 | |
2020-11-23 | Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread | comex | 1 | -2/+2 | |
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. | |||||
2020-08-14 | emu_window: Mark Scoped constructor and Acquire() as nodiscard | Lioncash | 1 | -2/+2 | |
Ensures that callers make use of the constructor, preventing bugs from silently occurring. | |||||
2020-04-07 | yuzu: Drop SDL2 and Qt frontend Vulkan requirements | ReinUsesLisp | 1 | -5/+36 | |
Create Vulkan instances and surfaces from the Vulkan backend. | |||||
2020-03-26 | Address review and fix broken yuzu-tester build | James Rowe | 1 | -1/+1 | |
2020-03-25 | Frontend/GPU: Refactor context management | James Rowe | 1 | -16/+28 | |
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-02-27 | renderer_opengl: Move Frame/FrameMailbox to OpenGL namespace. | bunnei | 1 | -41/+0 | |
2020-02-26 | frontend: sdl2: emu_window: Implement separate presentation thread. | bunnei | 1 | -3/+0 | |
2020-02-26 | core: frontend: emu_window: Add TextureMailbox class. | bunnei | 1 | -0/+41 | |
2020-01-29 | yuzu: Implement Vulkan frontend | ReinUsesLisp | 1 | -0/+7 | |
Adds a Qt and SDL2 frontend for Vulkan. It also finishes the missing bits on Vulkan initialization. | |||||
2019-05-26 | emu_window: Pass OnMinimalClientAreaChangeRequest argument by copy | ReinUsesLisp | 1 | -2/+1 | |
There's no performance improvement in passing an unsigned pair by reference. | |||||
2019-05-04 | core/frontend/emu_window: Make GraphicsContext's destructor virtual | Lioncash | 1 | -0/+2 | |
This class is used in a polymorphic context, so destruction of the context will lead to undefined behavior if the destructor isn't virtual. | |||||
2019-02-27 | core/frontend/emu_window: Make ClipToTouchScreen a const member function | Lioncash | 1 | -1/+1 | |
This member function doesn't modify instance state, so it can have the const specifier applied to it. | |||||
2019-01-22 | QT Frontend: Migrate to QOpenGLWindow | James Rowe | 1 | -9/+30 | |
2018-08-15 | emu_window: Ensure WindowConfig members are always initialized | Lioncash | 1 | -3/+3 | |
Previously we weren't always initializing all members of the struct. Prevents potentially wonky behavior from occurring. | |||||
2018-08-12 | core: Namespace EmuWindow | Lioncash | 1 | -0/+4 | |
Gets the class out of the global namespace. | |||||
2018-01-11 | frontend: Update for undocked Switch screen layout. | bunnei | 1 | -3/+3 | |
2017-08-24 | EmuWindow: refactor touch input into a TouchDevice | wwylele | 1 | -26/+5 | |
2017-08-11 | move MotionEmu from core/frontend to input_common as a InputDevice | wwylele | 1 | -83/+0 | |
2017-05-28 | Move framebuffer_layout from Common to Core | Yuri Kunde Schlesner | 1 | -1/+1 | |
This removes a dependency inversion between core and common. It's also the proper place for the file since it makes screen layout decisions specific to the 3DS. | |||||
2017-03-01 | Input: remove unused stuff & clean up | wwylele | 1 | -52/+0 | |
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID 2. removed button handling in EmuWindow 3. removed key_map 4. cleanup #include | |||||
2017-03-01 | InputCommon: add Keyboard | wwylele | 1 | -2/+0 | |
2016-12-29 | Frontend: make motion sensor interfaced thread-safe | wwylele | 1 | -2/+5 | |
2016-12-26 | Frontend: emulate motion sensor | wwylele | 1 | -8/+41 | |
2016-12-23 | core: Move emu_window and key_map into core | MerryMage | 1 | -0/+0 | |
* Removes circular dependences (common should not depend on core) | |||||
2016-11-05 | Add default hotkey to swap primary screens. | James Rowe | 1 | -1/+1 | |
Also minor style changes | |||||
2016-11-05 | Support additional screen layouts. | James Rowe | 1 | -20/+10 | |
Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen. | |||||
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -2/+0 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 1 | -4/+3 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -24/+30 | |
2016-05-15 | fixup! fixup! Refactor input system | wwylele | 1 | -3/+3 | |
2016-05-15 | Refactor input subsystem | wwylele | 1 | -9/+37 | |
2016-03-26 | remove unnecessary const | wwylele | 1 | -2/+2 | |
2016-03-22 | implement accel and gyro backend | wwylele | 1 | -0/+48 | |
2015-06-28 | Common: Cleanup emu_window includes. | Emmanuel Gil Peyrot | 1 | -3/+9 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -3/+3 | |
2015-05-02 | EmuWindow: Clip mouse input coordinates to emulated screen dimensions. | Zaneo | 1 | -0/+5 | |
If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to the emulated screen dimensions. Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero. | |||||
2015-03-14 | EmuWindow: Fixed a reference to a temporary variable | Subv | 1 | -1/+1 | |
in GetTouchState() | |||||
2015-03-11 | HID: Complete refactor of pad/touch input to fix threading issues. | bunnei | 1 | -22/+35 | |
2015-03-10 | EmuWindow: Made pad/touch functions non-static. | bunnei | 1 | -9/+6 | |
2015-03-10 | EmuWindow: Added infrastructure code to enable touchpad support. | bunnei | 1 | -0/+29 | |
2015-03-08 | Fixed EmuWindow typo (fixes OSX build) | bunnei | 1 | -1/+1 | |
2015-03-07 | Set framebuffer layout from EmuWindow. | bunnei | 1 | -7/+25 | |
2014-12-21 | License change | purpasmart96 | 1 | -1/+1 | |
2014-11-18 | EmuWindow: Add some explicit documentation and set proper minimal client area size. | Tony Wasserka | 1 | -2/+4 | |
2014-11-18 | EmuWindow: Add a TODO. | Tony Wasserka | 1 | -0/+1 | |
Implementing this function currently is not critical, as we don't perform any configuration changes, yet. However, the interface is a good starting point for adding this functionality. | |||||
2014-11-18 | EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest. | Tony Wasserka | 1 | -0/+7 | |
2014-11-18 | EmuWindow: Remove window title getters/setters. | Tony Wasserka | 1 | -16/+1 | |
The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there. Providing properly thread-safe window title getters and setters is a mess anyway. | |||||
2014-11-18 | EmuWindow: Add documentation. | Tony Wasserka | 1 | -18/+57 | |
2014-11-18 | EmuWindow: Add support for specifying minimal client area sizes. | Tony Wasserka | 1 | -8/+26 | |
2014-11-18 | Fixup EmuWindow interface and implementations thereof. | Tony Wasserka | 1 | -28/+33 | |
2014-11-18 | Viewport scaling and display density independence | Kevin Hartman | 1 | -2/+5 | |
The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly. | |||||
2014-11-17 | emu_window: Fix initializer list order. | Lioncash | 1 | -2/+2 | |
Gets rid of a warning on OSX. | |||||
2014-10-24 | Removed uses of raw c-string manipulation functions. | archshift | 1 | -6/+6 | |
2014-10-08 | Added configuration file system. | archshift | 1 | -4/+6 | |
Uses QSettings on citra-qt, and inih on citra-cli. | |||||
2014-09-12 | Added support for multiple input device types for KeyMap and connected Qt. | Kevin Hartman | 1 | -15/+4 | |
2014-09-12 | Initial HID PAD work, with GLFW only. | Kevin Hartman | 1 | -0/+19 | |
2014-04-24 | made qt window title consistent | bunnei | 1 | -1/+1 | |
2014-04-24 | added scm rev generation on Linux/cmake | bunnei | 1 | -1/+2 | |
2014-04-11 | added missing const to GetWindowTitle | bunnei | 1 | -1/+1 | |
2014-04-09 | - removed deprecated version.h | bunnei | 1 | -60/+40 | |
- cleaned up window title - cleaned up emu_window_glfw/emu_window | |||||
2014-04-09 | fixed project includes to use new directory structure | bunnei | 1 | -1/+1 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 1 | -0/+0 | |
2014-04-07 | added "citra" instead of "emu" to title bar | bunnei | 1 | -1/+1 | |
2014-04-02 | convert tabs to spaces | bunnei | 1 | -2/+2 | |
2013-09-26 | renamed from citrus to citra | ShizZy | 1 | -1/+1 | |
2013-09-14 | renamed project to 'citrus' | ShizZy | 1 | -1/+1 | |
2013-09-05 | various fixes to be able to build project | ShizZy | 1 | -17/+13 | |
2013-09-05 | added emu_window.h to define interface to drawing to a window | ShizZy | 1 | -0/+106 | |