Skip to content
Snippets Groups Projects
  1. Mar 26, 2020
  2. Mar 25, 2020
    • James Rowe's avatar
      Frontend/GPU: Refactor context management · 282adfc7
      James Rowe authored
      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
      282adfc7
  3. Feb 26, 2020
  4. Jan 29, 2020
  5. Jan 06, 2020
  6. Jun 03, 2019
  7. May 30, 2019
  8. May 26, 2019
  9. May 21, 2019
  10. May 20, 2019
  11. May 17, 2019
  12. Apr 20, 2019
  13. Apr 17, 2019
  14. Apr 01, 2019
  15. Mar 25, 2019
  16. Mar 15, 2019
  17. Mar 07, 2019
  18. Mar 02, 2019
    • James Rowe's avatar
      Input: Remove global variables from SDL Input · 09ac6638
      James Rowe authored
      Changes the interface as well to remove any unique methods that
      frontends needed to call such as StartJoystickEventHandler by
      conditionally starting the polling thread only if the frontend hasn't
      started it already. Additionally, moves all global state into a single
      SDLState class in order to guarantee that the destructors are called in
      the proper order
      09ac6638
  19. Feb 07, 2019
  20. Jan 21, 2019
  21. Jan 20, 2019
    • James Rowe's avatar
      QT Frontend: Add a Loading screen with progressbar · 08fcf41b
      James Rowe authored
      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.
      08fcf41b
  22. Dec 18, 2018
    • zhupengfei's avatar
      yuzu, video_core: Screenshot functionality · a2be4930
      zhupengfei authored
      Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
      a2be4930
  23. Nov 21, 2018
  24. Oct 24, 2018
  25. Oct 09, 2018
    • NeatNit's avatar
      implemented touch in Qt and SDL · 4f24343f
      NeatNit authored
      change TouchToPixelPos to return std::pair<int, int>
      
      static_cast (SDL)
      
      various minor style and code improvements
      
      style - PascalCase for function names
      
      made touch events private
      
      const pointer arg in touch events
      
      make TouchToPixelPos a const member function
      
      did I do this right?
      
      braces on barely-multiline if
      
      remove question comment (confirmed in Discord)
      
      fixed consts
      
      remove unused parameter from TouchEndEvent
      
      DRY - High-DPI scaled touch put in separate function
      
      also fixes a bug where if you start touching (with either mouse or touchscreen) and drag the mouse to the LEFT of the emulator window, the touch point jumps to the RIGHT side of the touchscreen; draggin to above the window would make it jump to the bottom.
      
      implicit conversion from QPoint to QPointF, apparently
      
      I have no idea what const even means but I'll put it here anyway
      
      remove unused or used-once variables
      
      make touch scaling functions const, and put their implementations together
      
      removed unused FingerID parameters
      
      QTouchEvent forward declaration; add comment to TouchBegin that was lost in an edit
      
      better DRY in SDL
      
      To do -> TODO(NeatNit)
      
      remove unused include
      4f24343f
  26. Sep 11, 2018
    • Tobias's avatar
      Port #4141 from citra: Joystick hotplug support (#1275) · 804115b2
      Tobias authored
      * Joystick hotplug support (#4141)
      
      * use SDL_PollEvent instead of SDL_JoystickUpdate
      
      Register hot plugged controller by GUID if they were configured in a previous session
      
      * Move SDL_PollEvent into its own thread
      
      * Don't store SDLJoystick pointer in Input Device; Get pointer on each GetStatus call
      
      * Fix that joystick_list gets cleared after SDL_Quit
      
      * Add VirtualJoystick for InputDevices thats never nullptr
      
      * fixup! Add VirtualJoystick for InputDevices thats never nullptr
      
      * fixup! fixup! Add VirtualJoystick for InputDevices thats never nullptr
      
      * Remove SDL_GameController, make SDL_Joystick* unique_ptr
      
      * fixup! Remove SDL_GameController, make SDL_Joystick* unique_ptr
      
      * Adressed feedback; fixed handling of same guid reconnects
      
      * fixup! Adressed feedback; fixed handling of same guid reconnects
      
      * merge the two joystick_lists into one
      
      * make SDLJoystick a member of VirtualJoystick
      
      * fixup! make SDLJoystick a member of VirtualJoystick
      
      * fixup! make SDLJoystick a member of VirtualJoystick
      
      * fixup! fixup! make SDLJoystick a member of VirtualJoystick
      
      * SDLJoystick: Addressed review comments
      
      * Address one missed review comment
      804115b2
Loading